Displaying 2 results from an estimated 2 matches for "m000127".
Did you mean:
3000127
2006 Jan 11
7
before_filter: how to give :except more than 1 value?
Hi all
I have the following class:
class MemberController < ApplicationController
before_filter :authorize, :except => :index
def index
...
end
Now I want to give the before_filter more than one :except argument. I
tried :except => {:index, :login}, but this didn''t work.
How can i accomplish this?
Thanks a lot and have a nice day,
Josh
--
Posted via
2006 Jan 20
11
Userstamp Plugin
...butes.
The module requires that your application''s user object (User by default)
contains an accessor called current_user be set with an instance of the
currently logged in user (typically using a before_filter(
http://api.rubyonrails.com/classes/ActionController/Filters/ClassMethods.html#M000127).
This module can also be turned off on a case by case basis by setting the
record_userstamps attribute of your ActiveRecord object to false.
Installation
------------
To install the Userstamp plugin into a current Rails application run the
script/plugin script from the root of your application pa...