Commit Graph

5 Commits

Author SHA1 Message Date
Pedro Paiva
709d2c87e2
Add Rails 6.1 compatibility
Rails 6.1 needs the following changes:
- Add `owner: nil` to `define_method_attribute` calls
- Pass `options` to error `add` method as keyword argument

Ref:
- https://api.rubyonrails.org/v6.0.0/classes/ActiveModel/Errors.html#method-i-add
- https://api.rubyonrails.org/v6.1.0/classes/ActiveModel/Errors.html#method-i-add

Fix: #193
2021-01-10 10:28:52 +01:00
Adam Meehan
bf1c808846 fix appraisals 2019-02-09 12:23:57 +11:00
Adam Meehan
38899712c5 update gemfile 2018-05-18 09:14:26 +10:00
Adam Meehan
596bc87ffd fix rails 5 gemfile 2018-05-15 16:54:53 +10:00
Adam Meehan
a20bfd31ee remove old rails 4 gem and add rails 5.0 2018-05-15 16:45:25 +10:00