lml / lev

Ride the rails but don't touch them.
MIT License
2 stars 6 forks source link

Lev completely skips ActiveRecord errors with a String message #33

Open Dantemss opened 9 years ago

Dantemss commented 9 years ago

For example, any error added with errors.add(:base, 'blah blah blah') will be completely ignored by Lev.

Dantemss commented 9 years ago

This all happens in https://github.com/lml/lev/blob/master/lib/lev/better_active_model_errors.rb#170 (errors with String message are not assigned a type)