i''ve created a new rails app..model and controller named admin (alongwith a dev database associated with the model)....display with scaffold shows an error - NameError in AdminController#index uninitialized constant Dy Please help. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Ive created a new rails app, alongwith the dev database, model and controller(admin)...when i use scaffold an error pops up - NameError in AdminController#index uninitialized constant Dy Im clueless....please help --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sandip Gangakhedkar wrote:> Ive created a new rails app, alongwith the dev database, model and > controller(admin)...when i use scaffold an error pops up - > NameError in AdminController#index > uninitialized constant DyYou haven''t provided nearly enough detail for anyone to be able to help you. Post a step by step description of what you did, what happened, and what you expected to happen. Oh, and posting your question a second time because you didn''t get an answer the first time is considered bad form. Pete Yandell http://notahat.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Here is a step by step route i took: 1. rails materials 2. mysqladmin -u root create materials_development 3. created model named Die 4. modified create_dies migration and raked it 5. created controller Admin 6. added scaffold :die On Jul 3, 7:12 am, Pete Yandell <p...-AylieETRJAdBDgjK7y7TUQ@public.gmane.org> wrote:> Sandip Gangakhedkar wrote: > > Ive created a new rails app, alongwith the dev database, model and > > controller(admin)...when i use scaffold an error pops up - > > NameError in AdminController#index > > uninitialized constant Dy > > You haven''t provided nearly enough detail for anyone to be able to help > you. Post a step by step description of what you did, what happened, and > what you expected to happen. > > Oh, and posting your question a second time because you didn''t get an > answer the first time is considered bad form. > > Pete Yandellhttp://notahat.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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---