Hi All,
I have this requirement where in I am migrating data from database of
one system to database of a new system. The new system is a rails app
and I want my migrations to go via active record validations, however
I want the callbacks to be disabled. I tried using
Model.skip_callback(:save, :after, :my_callback)
But this somehow does not skip the callbacks. Need help !!
Thanks in advance !!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment