Hi all,

I have a before_update observer method. But after that method is
finished, it doesn't proceed to ActiveRecord's save method. What do I
need to write in my before_update observer method to make it proceed
to the ActiveRecord save method.

This is what I wrote but it caused stack level too deep error:

class FeatureObserver < ActiveRecord::Observer
def before_update(feature)
    feature.send(:save)
end
end

Thanks in advance for your help.

Kind regards,
Joshua

-- 
http://twitter.com/scrum8

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to