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 how to get that id in answer controller.. i want the id which is 9 to be available in answer_controller... How 2 achieve this? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

