ontohub / sequel-devise

Devise support for Sequel models
MIT License
12 stars 3 forks source link

Alias model#new_record? to #new? #4

Closed phyrog closed 6 years ago

phyrog commented 6 years ago

This fixes a bug with Devise 4.4.2 and upwards, which now expects the User model to have a new_record? method, see https://github.com/plataformatec/devise/blob/d870c0dced8499931495e07190aa8a9ff8caaadf/lib/devise/models/trackable.rb#L34-L37

phyrog commented 6 years ago

@eugenk could you do a new release in the next couple of days for this?

eugenk commented 6 years ago

Done