This website requires JavaScript.
Explore
Help
Sign In
p71924506
/
wblog
Watch
1
Star
0
Fork
You've already forked wblog
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
c285aa3576
wblog
/
app
/
models
/
like.rb
7 lines
96 B
Ruby
Raw
Blame
History
class
Like
include
Mongoid
::
Document
belongs_to
:post
validates_presence_of
:post_id
end
Reference in New Issue
View Git Blame
Copy Permalink