Update lib/sorcery/model.rb

Rails 4 deprecation