params[:idd] would give you the "idd" you are passing.
Post.find([params[:idd]) would return the post with id equal to the 
passed "idd".

Try googling any issues. Most of the issues can be solved within 2 
minutes.

Manish Belsare wrote:
> Sir, i want to know does only 'params[:idd]' give the same id that was 
> passed?
> Or i need to do Post.find([params[:idd]) and then contiune?

-- 
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.

Reply via email to