this is correct:
http://simple-beach-416.heroku.com/code/restserver?fn=p1&ln=p2
--
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 rubyonrails-talk@googlegroups
I generate a controller and call create model method with parameter:
def add_item
Pers1.create(:fname => params[:fn], :lname => params[:ln])
render :text => "Success!"
end
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Goo
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?
3 matches
Mail list logo