Dear friends, i while working on ruby on rails ... i have created form and it shows , SHOW, DELETES EDIt but when i click on that it is howing error "Couldn''t find TblAdgroup without an ID".. pls help me out shweta -- Posted via http://www.ruby-forum.com/.
shweta bairwa wrote:> Dear friends, > i while working on ruby on rails ... i have created form and it shows > , SHOW, DELETES EDIt but when i click on that it is howing error > "Couldn''t find TblAdgroup without an ID".. > pls help me out > shweta > >I am not sure I fully understand your problem... did you create the form yourself or was it from a scaffold? The error seems to suggest that you have not specified an ID for the record that you want to delete/ show/ edit. Mohit.
i have created form using scaffold ...where do i ned to specify that id.. -- Posted via http://www.ruby-forum.com/.
shweta wrote:> i have created form using scaffold ...where do i ned to specify that > id.. >If you created all the code using scaffolds, it should work.. it seems that you may have skipped a step or two.. you may want to follow the tutorial and redo the steps to make sure that you did things correctly. Cheers Mohit. -- p.s. It''s of no real relevance to the list/ forum, but since you''ve asked, yes, I am from India though in Singapore.