Changed dependency on Rails to >= 3.2.2 for compatibility with Rails 4