Groups
Groups
Sign in
Groups
Groups
Ruby on Rails Taiwan
Conversations
About
Send feedback
Help
migration 後,要手動更改VIEWS??
3 views
Skip to first unread message
king ng
unread,
Jul 27, 2008, 12:04:48 PM
7/27/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby-on-Ra...@googlegroups.com
請問前輩們:
我用rails 2.1, 執行完script/generate scaffold model1 xxx:string
後,一切正常,views也可用。不過,加了一個column後(genetrate migration add_xxx2_to_model1
mid_name:string , 然後rake db:migrate),rails
並未有動態地更改相關的views,要手動修改,才可以出現後加的column,這正常嗎?是不是有更好的方法?
JellyCatz果凍喵
unread,
Aug 16, 2008, 9:04:48 PM
8/16/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails Taiwan
基本上scaffold只是輔助,非常初期的時候,真正的完整些的開發是所有的view都是要重構的,有時連scaffold都不想開...
so~ 希望你能把你自己跳脫出scaffold的迷思中 :)
Reply all
Reply to author
Forward
0 new messages