Do 'id' columns show in a scaffold?

hello,
I have a table that contains a belongs_to relationship which are
basically a name_ID column. when i create a scaffold, i assume id have
the option that would allow me to modify an ID field. is this correct?

koloa wrote:

I have a table that contains a belongs_to relationship which are
basically a name_ID column. when i create a scaffold, i assume id have
the option that would allow me to modify an ID field. is this correct?

No. Only “human readable” columns show up in the standard scaffold
views. You can modify the scaffolding to do what you want though.


Josh S.
http://blog.hasmanythrough.com

hey thanks. i didnt even think of modifying the scaffold. you just saved
me a day! =)

Josh S. wrote:

koloa wrote:

I have a table that contains a belongs_to relationship which are
basically a name_ID column. when i create a scaffold, i assume id have
the option that would allow me to modify an ID field. is this correct?

No. Only “human readable” columns show up in the standard scaffold
views. You can modify the scaffolding to do what you want though.


Josh S.
http://blog.hasmanythrough.com