errors.add_to_base

Hmm, So it looks like erros.add_to_base is deprecated in ActiveModel: http://api.rubyonrails.org/classes/ActiveModel/Errors.html

I need to add an error, but I don’t want to add it to a specific property (I need you to fill out either a source_person or source_url, so I don’t want to prepend the message with the name of either of the fields).

Any idea how I might be able to do that now that we don’t have add_to_base?

Best Wishes,

Peter

errors.add(:base,“your text”)

perhaps?

Awesome - perfect. Thanks!

Best Wishes,

Peter