Should I learn Ruby before learning Rails?

While it's certainly possible to begin learning Rails without any prior Ruby exposure (especially if you have prior experience with other dynamic languages + frameworks, ex: Python + Django), it's recommended that you spend some time working with Ruby first as it will make life easier for yourself.

To start learning Ruby see What are some good free resources for learning Ruby?