search for: show_profil

Displaying 2 results from an estimated 2 matches for "show_profil".

2010 May 27
1
How to pass an Variable to an Partial?!?
Hello, I''m new in Rails and I''m Trying to implement a plattform were authorized people can apply Profiles to a special topic. The profil can be identified by the ID and the title in the data base. So in the view/profil/show_profil.html.erb the infomation of one Profil are perfektly shown. My problem: I have an data base table called : "comment" in which I save comments users made to one Profil, identifed by the Profil ID which I also save in this table. My Idea was to invoke an partial in the View/profil/ show_pro...
2007 Nov 18
0
Pseudo resource routes
...ince everything is a POST in Facebook, you can''t identify routes using HTTP verbs. Each route is prefixed with its action, except for index. Example: map.facebook_resources :profiles Will give you the following named routes: new_profile POST /profiles/new profiles POST /profiles/index show_profile POST /profiles/:id/show create_profile POST /profiles/create edit_profile POST /profiles/:id/edit update_profile POST /profiles/:id/update destroy_profile POST /profiles/:id/destroy This is still very basic. No nested routes or singular resources yet. Shane -- http://myfitbuddy.com | http://s...