When you do a scaffold, is there a fast way to force it to let you enter in data for any foreign/primary key fields? Thanks, Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
Hi, Sorry, but scaffolding isn''t meant to do that much, it is just a simple scaffolding. You will have to modify the scaffolding or write your own code to get that functionality. Chris Ben Lisbakken wrote:> When you do a scaffold, is there a fast way to force it to let you enter > in data for any foreign/primary key fields? > > Thanks, > Ben Lisbakken-- Posted via http://www.ruby-forum.com/.
Ben Lisbakken
2006-Jul-06 22:50 UTC
[Rails] Re: Scaffold with Foreign Key fields possible?
Chris Carter wrote:> Hi, > Sorry, but scaffolding isn''t meant to do that much, it is just a simple > scaffolding. You will have to modify the scaffolding or write your own > code to get that functionality. > > Chris > > Ben Lisbakken wrote: >> When you do a scaffold, is there a fast way to force it to let you enter >> in data for any foreign/primary key fields? >> >> Thanks, >> Ben Lisbakkenor get the scaffolding extension plugin http://wiki.rubyonrails.com/rails/pages/Scaffolding+Extensions+Plugin -- Posted via http://www.ruby-forum.com/.