Lower Rails dependency to 3.x

Confirmed working with Rails 3.2