Forum: Ruby on Rails get data from a table

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ishara G. (Guest)
on 2008-11-01 04:35
(Received via mailing list)
can anyone tell me,how can retrieve data from a specific modelwhen i
pass an
as an example there's table called agent_detail,it includes
id, name, address
so  i wanna get name and address from that table which will be the of
i just only want to pass id number and then i can be get the data
mrbless (Guest)
on 2008-11-01 07:12
(Received via mailing list)
that's it

On Nov 1, 7:34 am, "Ishara G." <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.