I''ve generated the scaffold for a class, and then subsequently made some changes to the underlying database table. The new column I added isn''t showing up in the edit or new action forms. What did I do wrong? I don''t see those fields named explicitly in the model, views, or the controller anywhere. What do I need to do in order to get those columns picked up? Thanks... -- - Adam ** I can fix your database problems: http://www.everylastounce.com/mysql.html ** Blog............... [ http://www.aquick.org/blog ] Links.............. [ http://del.icio.us/fields ] Photos............. [ http://www.flickr.com/photos/fields ] Experience......... [ http://www.adamfields.com/resume.html ] Product Reviews: .. [ http://www.buyadam.com/blog ]
Try bouncing the web server. On 7/14/05, Adam Fields <rails23049809-CU8A4pfP4hodnm+yROfE0A@public.gmane.org> wrote:> > I''ve generated the scaffold for a class, and then subsequently made > some changes to the underlying database table. The new column I added > isn''t showing up in the edit or new action forms. > > What did I do wrong? I don''t see those fields named explicitly in the > model, views, or the controller anywhere. > > What do I need to do in order to get those columns picked up? > > Thanks... > > -- > - Adam > > ** I can fix your database problems: > http://www.everylastounce.com/mysql.html ** > > Blog............... [ http://www.aquick.org/blog ] > Links.............. [ http://del.icio.us/fields ] > Photos............. [ http://www.flickr.com/photos/fields ] > Experience......... [ http://www.adamfields.com/resume.html ] > Product Reviews: .. [ http://www.buyadam.com/blog ] > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Thu, Jul 14, 2005 at 12:44:22AM -0400, Adam Fields wrote:> I''ve generated the scaffold for a class, and then subsequently made > some changes to the underlying database table. The new column I added > isn''t showing up in the edit or new action forms. > > What did I do wrong? I don''t see those fields named explicitly in the > model, views, or the controller anywhere. > > What do I need to do in order to get those columns picked up? > > Thanks...Nevermind. Found it in _form.rhtml. -- - Adam ** I can fix your database problems: http://www.everylastounce.com/mysql.html ** Blog............... [ http://www.aquick.org/blog ] Links.............. [ http://del.icio.us/fields ] Photos............. [ http://www.flickr.com/photos/fields ] Experience......... [ http://www.adamfields.com/resume.html ] Product Reviews: .. [ http://www.buyadam.com/blog ]