Scaffold with Foreign Key fields possible?

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 L.

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 L. 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 L.

Chris C. 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 L. 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 L.

or get the scaffolding extension plugin
http://wiki.rubyonrails.com/rails/pages/Scaffolding+Extensions+Plugin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs