Rails 4.2 compatibility

cc @zendesk/zendesk-rails-upgraders 

There's a couple errors on ruby 2, same as master.
Not sure what this is ?