Hello,
I am new to ruby.Can someone tell me
what do i need to write in the routes.rb so that i can use the following
to edit a record.
form_for
:organisation,:url=>organisation_path(@organisation),:html=>{:method=>‘put’}
do|org|
Thank you.
Hello,
I am new to ruby.Can someone tell me
what do i need to write in the routes.rb so that i can use the following
to edit a record.
form_for
:organisation,:url=>organisation_path(@organisation),:html=>{:method=>‘put’}
do|org|
Thank you.
map.resources :organisations
Whoops, a bit trigger happy there!
Also this is helpful:
On Jan 3, 2008 9:05 AM, Ryan B. [email protected] wrote:
map.resources :organisations
–
Ryan B.
Feel free to add me to MSN and/or GTalk as this email.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs