halogenandtoast/oath

ActionController::Params.to_hash is deprecated and will be removed in rails 5.1

Closed this issue · 5 comments

Should just need to change to to_h

@derekprior The original reason was to get the additional values (like username) that Monban doesn't know about, to_h doesn't break out of mass assignment security in rails 5. See http://edgeapi.rubyonrails.org/classes/ActionController/Parameters.html#method-i-to_h

This is the case for rails 4 as well so I'm going to issue this fix immediately.

@derekprior care to look at #45