Module: Votabulary::ClassMethods
- Defined in:
- lib/votabulary.rb
Instance Method Summary collapse
Instance Method Details
#votes_as_voteable ⇒ Object
17 18 19 |
# File 'lib/votabulary.rb', line 17 def votes_as_voteable has_many :votes, as: :voteable end |