Get data from a table

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

that’s it

On Nov 1, 7:34 am, “Ishara G.” [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs