search for: show_user

Displaying 3 results from an estimated 3 matches for "show_user".

2008 Jan 04
2
Nested Routes + Facebook Resources
...''t generate. "rake routes" gives me: new_user POST /users/new {:action=>"new", :controller=>"users"} users POST /users/index {:action=>"index", :controller=>"users"} show_user POST /users/:id/show {:action=>"show", :controller=>"users"} create_user POST /users/create {:action=>"create", :controller=>"users"} edit_user POST /users/:id/edit {:action=>&quo...
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to get it. I''m going to have a page where you can upload x amount of images at once. Lets say 10 images need to be uploaded, all with a caption. I''d like to have a browse button to choose the file, then the caption. Now, if I put 10 of them in one form, fill them all out and submit, I get
2006 Feb 14
22
Teaching Models to Render Themselves in the Controller
I am trying to teach my models how to render themselves, i.e. <%= my_model_object.render() %> Let me explain my reasoning and proposed method before this gets shot down as anti-MVC. Let''s say I am writing a contact-management application. I have a class Contact. I will need to display this class all over the application. My first choice is to use a partial. Now I can