I do a google search with this question but i didn't find any solution for that.

I wish to save parameter value to database. this parameter send by url.

for instance: http://simple-beach-416.heroku.com/code/restserver?fname=cv

I wish to save fname value(here "cv") to database. how do i do this?

Create a model for this? This is vague... but define one known as Fname and provide it the attribute "value"


Fname.create(:value => params[:fname])

I think this is when you are going, yeah?