Displaying 2 results from an estimated 2 matches for "user_class_name".
2006 Sep 04
2
"include" versus "extend" - what's the difference
...created_at'', ''updated_at'']
       #
       #   You can add to those by passing one or an array of fields to
skip.
       #
       #     class User < ActiveRecord::Base
       #       acts_as_audited :except => :password
       #     end
       #
       # * <tt>user_class_name</tt> - specifiy the class name of the
user class.
       #   This defaults to "User". Set to false to disable user
auditing.
       #
       # * <tt>user_method</tt> - specify the method to call on
<tt>:user_class_name</tt>
       #   that returns the user th...
2006 Dec 11
1
Index help on Polymorphic Associations
Hello,
I''m a newbie to aaf and rails and I hope anyone can help me with this.
I have the following Models:
class Project < ActiveRecord::Base
  acts_as_authorizable
  acts_as_audited :except => [:created_by, :updated_by ],
:user_class_name => ''AuthenticatedSystem'', :user_method =>
''current_user''
  acts_as_ferret :fields => {:name => {:store => :yes},
                             :description => {:store => :yes},
                             :project_notes => {:store => :y...