How to skip callbacks on Mongoid Documents?

Posted by jpemberthy on Stack Overflow See other posts from Stack Overflow or by jpemberthy
Published on 2010-06-15T16:07:36Z Indexed on 2010/06/15 16:12 UTC
Read the original article Hit count: 365

My question is similar to this one http://stackoverflow.com/questions/1342761/how-to-skip-activerecord-callbacks but instead of AR I'm using Mongoid, It seems like that isn't implemented yet in the current version of Mongoid, so I'd like to know what should be an elegant solution to implement it. (if necessary).

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby