strong parameters fix, I think
used the built in Rails::API.rails4? call instead of my hacky one
rails 3 compatibility fix
using rails::api.rails4? method
using Rails::VERSION::MAJOR == 4
Merge pull request #92 from roboteti/rails4-strong-parameters-fix

Rails 4 Strong Parameters Fix