Ruby on Rails: extending ActiveRecord::Errors

Posted by randombits on Stack Overflow See other posts from Stack Overflow or by randombits
Published on 2010-04-23T18:44:51Z Indexed on 2010/04/23 18:53 UTC
Read the original article Hit count: 164

Filed under:
|

In Ruby on Rails, where does one put the code from this snippet in http://gist.github.com/376389? I want to extend ActiveRecord::Errors with the code that's available there so I can merge error messages.

Is this something for ApplicationController? or for lib?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about activerecord