rails callbacks code example
Example 1: rails callback STI
module Users
class Other < User
end
end
Example 2: rails callback STI
class User < AC::Base
belongs_to :account
end
Example 3: rails callback STI
module Users
class Standard < User
before_save :some_callback
end
end