Thanks for your response. Yes. The model consists only of the empty class definition.
But it's got views for show, new, etc. However, none of these views are updated to reflect my new and renamed fields. On May 15, 1:53 pm, Marnen Laibow-Koser <[email protected]> wrote: > RichardOnRails wrote: > > Hi, > > > I've got an "expenses" table which I modified as follows: > > added column "account_number" > > renamed column "type" to "transaction_type" > > > Can I add CRUD for the columns with: > > first: ruby script/generate model expense > > then: ruby script/controller expense > > Does this table not already have an associated Rails model? Yes. The model consists only of the empty class definition. But it's got views for show, new, etc. However, none of these views are updated to reflect my new and renamed fields. > > Will all the existing CRUD for other columns be left intact by > > announcing "duplicate" and allowing me to "ignore all duplicates"? > > What do you mean? Will these new fields be appended to the controller and views without negatively affecting the existing fields? In short is there some way to achieve the same result as if I had chosen the client's wishes initially, short of me manually adjusting everything? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

