摘要:
when you modified db schema you need restart railc console enviroment,for some effecitrails g model CommentShowsProduct --migration=false 阅读全文
posted @ 2010-11-08 11:55
lexus
阅读(330)
评论(0)
推荐(0)
|
摘要:
when you modified db schema you need restart railc console enviroment,for some effecitrails g model CommentShowsProduct --migration=false 阅读全文
posted @ 2010-11-08 11:55
lexus
阅读(330)
评论(0)
推荐(0)
摘要:
The following methods trigger validations, and will save the object to the database only if the object is valid:createcreate!savesave!updateupdate_attributesupdate_attributes!The bang versions (e.g.sa... 阅读全文
posted @ 2010-11-08 08:41
lexus
阅读(217)
评论(0)
推荐(0)
|