On 10 February 2012 11:44, Deepika Vummiti <[email protected]> wrote: > Hi, > > I am using rails 1.2.6, Scaffoldings not working, what i have to do to > work on scaffoldings. > > if i create the scaffold it is showing the error below. i have tried > this in different ways but nothing is working, any one guide me. > > $ruby script/generate scaffold deepi title:string number:iteger index > create new destroy > error:- > > wrong constant name Title:stringController
You have forgotten to give it the model name ruby script/generate ModelName title:string ..... However I strongly suggest you upgrade to Rails 3. I don't think Rails 1 is even supported for security fixes any more. Colin -- 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.

