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
a2a1bd2b14
wblog
/
app
/
models
/
like.rb
5 lines
87 B
Ruby
Raw
Blame
History
class
Like
<
ApplicationRecord
belongs_to
:post
validates_presence_of
:post_id
end
Reference in New Issue
View Git Blame
Copy Permalink