Update activemodel and activesupport dependency requirements
Use a lambda since we've got explicit returns

Remedies 'LocalJumpError' when running the specs under Ruby 2.1
Merge pull request #1 from foraker/rails-4-ruby-2

Rails 4 / Ruby 2 Compatibility