1,db:migrate 時,Table already exist 的解決辦法
? 在已存在的表的create_table的參數中,加上 :force => true,如下:
? create_table?:products,?:force?=>?true?do?|t|?
2,驗證
http://www.36sign.com/blog/working/ror-validation-problem.html
http://cvu.javaeye.com/blog/78066
3,分頁
will_paginate
下載:http://github.com/mislav/will_paginate/wikis/installation
http://hideto.javaeye.com/blog/108118
http://trace.javaeye.com/blog/156736
http://www.cnblogs.com/ayuan/archive/2008/03/12/1102001.html
http://www.ruby-lang.org.cn/forums/thread-985-1-1.html
http://hi.baidu.com/%D0%C7203/blog/item/30f334ecd0a319d72e2e212c.html
? 在已存在的表的create_table的參數中,加上 :force => true,如下:
? create_table?:products,?:force?=>?true?do?|t|?
2,驗證
http://www.36sign.com/blog/working/ror-validation-problem.html
http://cvu.javaeye.com/blog/78066
3,分頁
will_paginate
下載:http://github.com/mislav/will_paginate/wikis/installation
http://hideto.javaeye.com/blog/108118
http://trace.javaeye.com/blog/156736
http://www.cnblogs.com/ayuan/archive/2008/03/12/1102001.html
http://www.ruby-lang.org.cn/forums/thread-985-1-1.html
http://hi.baidu.com/%D0%C7203/blog/item/30f334ecd0a319d72e2e212c.html