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
/
label.rb
5 lines
103 B
Ruby
Raw
Normal View
History
Unescape
Escape
Refactor database with pg and foudation6( stage 1 )
2016-04-20 22:29:29 +08:00
class
Label
<
ApplicationRecord
创建博客的功能
2014-03-31 22:13:58 +08:00
has_and_belongs_to_many
:posts
tag 功能, 优化部分显示
2014-03-31 14:10:54 +08:00
validates
:name
,
presence
:
true
label added, index modified
2014-03-29 23:42:30 +08:00
end