search for: component_upd

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

Did you mean: component_add
2006 Jul 26
0
page.replace_html render(:action => ''other_action'')
I want to be DRY. I have a controller action, component, that renders html. I have another controller action, component_update, that returns RJS: This what I''d like for ''component_update.rjs'': page[params[:scaffold_id]].replace_html render(:action => "component", :layout => false) page[params[:scaffold_id]].visual_effect :highlight But, the render is returning ""...
2006 May 09
0
Passing params between actions?
...t;listings search results". I''m also trying to make the "search" action save an object called "saved_search" with the search parameters so the searches can be re-run later. So where should code specific to the search action go? I dont'' want to put it in component_update as then both actions would use it. But if I put it in the search action, I''m not sure how to then pass the params on to the component_action? if @params[:saved_search_id] @saved_search = SavedSearch.find(params[:saved_search_id]) else @saved_search = SavedSearch.new...
2006 Apr 27
7
Role Based Authorization recipe implementation?
i got the rails recipes book, i have now an auth system for users without problems, now i want to made a role based acces for my app, im following the "Role Based Authorization" recipe of the book but i cant make it to work even when the tables created and correctly added data manually definig the roles and rights. als i dont know how to define a right for use all the actions in a