You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The callbacks on the parent STI class aren't firing in rails 3.1.3.
class Animal < ActiveRecord::Base
before_save :do_something
def do_something
puts "Doing stuff over here..."
end
end
class Cow < Animal
end
# Should fire the Animal callbacks?
cow = Cow.create(:color => 'Brown')
The text was updated successfully, but these errors were encountered:
The callbacks on the parent STI class aren't firing in rails 3.1.3.
The text was updated successfully, but these errors were encountered: