Implement Event Ratings
This commit is contained in:
parent
5be1ad52ee
commit
20f4853487
67 changed files with 1298 additions and 378 deletions
4
app/models/rate.rb
Normal file
4
app/models/rate.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class Rate < ActiveRecord::Base
|
||||
belongs_to :rater, class_name: 'User'
|
||||
belongs_to :rateable, polymorphic: true
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue