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 thanks, deepika. -- Posted via http://www.ruby-forum.com/. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 10 February 2012 11:44, Deepika Vummiti <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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:stringControllerYou 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.