Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails callback STI

module Users
  class Standard < User
    before_save :some_callback
  end
end
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #callback #STI
ADD COMMENT
Topic
Name
2+6 =