Sir basically i want the idd from the link_to part i.e wen i click the
Answer this query! link then the browser will redirect to:
http://0.0.0.0:3000/answers/new?idd=9
now i want the idd = 9 to be assinged to the @post
or even a query like @post = Post.find(params[:id]) will do..
bt i dont know
On 28 February 2010 13:14, Manish Belsare li...@ruby-forum.com wrote:
Sir basically i want the idd from the link_to part i.e wen i click the
Answer this query! link then the browser will redirect to:
http://0.0.0.0:3000/answers/new?idd=9
The code you posted, that you have now snipped should
Sir even i want to know where does the id in the link :
http://0.0.0.0:3000/answers/new?idd=9
is available..
Can i get this id in any variable whem i reach that page(action) so that
i can access it and compare in a loop as i hav already got an array of
id's in instance variable..
So on
On 28 February 2010 13:40, Manish Belsare li...@ruby-forum.com wrote:
Sir even i want to know where does the id in the link :
http://0.0.0.0:3000/answers/new?idd=9
is available..
Can i get this id in any variable whem i reach that page(action) so that
i can access it and compare in a loop as
4 matches
Mail list logo