Compatibility with Rails 4.0

:bullettrain_side::arrow_upper_right: 

/cc @zendesk/zendesk-rails-upgraders 

### Steps to merge
 - [ ] :+1: of the team

also 3.2.19 would be nice here :)