# Problem

**URL:** <https://www.ruby-forum.com/t/problem/96210>\
**Category:** Rails\
**Created:** [June 27, 2006, 10:59am UTC](https://www.ruby-forum.com/t/problem/96210 "2006-06-27T10:59:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 27, 2006, 10:59am UTC](https://www.ruby-forum.com/t/problem/96210/1 "2006-06-27T10:59:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 27, 2006, 11:44am UTC](https://www.ruby-forum.com/t/problem/96210/2 "2006-06-27T11:44:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 27, 2006, 2:33pm UTC](https://www.ruby-forum.com/t/problem/96210/3 "2006-06-27T14:33:14Z")

</div>

i have created form using scaffold …where do i ned to specify that  
id…

---

<div class="post-metadata">

**Author:** ![shweta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/839c29/32.png) [@shweta](https://www.ruby-forum.com/u/shweta)\
**Post date:** [June 27, 2006, 2:52pm UTC](https://www.ruby-forum.com/t/problem/96210/4 "2006-06-27T14:52:43Z")

</div>

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.
