Module: TealeafVoteable::ClassMethods
- Defined in:
- lib/ycchen-gem-voteable.rb
Instance Method Summary collapse
Instance Method Details
#my_class_method ⇒ Object
21 22 23 |
# File 'lib/ycchen-gem-voteable.rb', line 21 def my_class_method has_many :votes, as: :voteable end |