search for: before_filer

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

Did you mean: before_filter
2006 Jun 10
3
RJS & nested divs
I''m a newbie and I''ve been trying to figure this out for a little while now, hopefully someone can point me in the right direction. case1 <div id="new"> </div> case2 <div id="new"><div id="item1"></div></div> <div id="new2"><div id="item1"></div></div> With RJS in
2006 Jan 08
9
URL/Site structure
Greetings, I''m fairly noob with rails and making my first DB driven site with it. I''m using the scaffold generator to develop the admin side of my site (admin_controller) I have three sections that I want to have the administrator edit, and I want to call these from the admin controller that has a layout with navigation to these three sections. When using the scaffold
2008 Mar 01
15
before_filter strange behaviour on update and create
...include? req_perm redirect_to no_permission_url end else redirect_to login_url end end It works for the view pages but if an update or create is made then it always redirects to the login_url. Acting like the user is not logged in. But that''s wrong. Did I miss something about the before_filer ? Does it work different on update/create ? -- 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 rubyonr...