Update to work with Rails 3.2

Updated dependencies to work with Rails 3.2