Update dependency to activemodel >= 3.2 so gem can work with Rails 4