Skip to content

Commit

Permalink
Small code style tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
bryckbost committed Sep 9, 2011
1 parent 3e08ecb commit 8f8d923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/acts_as_audited/auditor.rb
Expand Up @@ -52,9 +52,9 @@ def acts_as_audited(options = {})

options = {:protect => accessible_attributes.empty?}.merge(options)

class_attribute :non_audited_columns, {:instance_writer => false}
class_attribute :auditing_enabled, {:instance_writer => false}
class_attribute :audit_associated_with, {:instance_writer => false}
class_attribute :non_audited_columns, :instance_writer => false
class_attribute :auditing_enabled, :instance_writer => false
class_attribute :audit_associated_with, :instance_writer => false

if options[:only]
except = self.column_names - options[:only].flatten.map(&:to_s)
Expand Down

0 comments on commit 8f8d923

Please sign in to comment.