On 7 May 2011 12:17, farhad mahmoodi <li...@ruby-forum.com> wrote:
> hi,
>
> I search google for this question but i did not find any solution for
> that.
>
> I want to save parameter value to database. this parameter send by url.
>
> for example:
> http://simple-beach-416.heroku.com/code/restserver?fname=cv
>
> I want to save fname value(here "cv") to database.
> how can i do that?

params[:fname] will have the value "cv" in the controller action.

Colin

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to