Skip to content

Commit

Permalink
Cleaned up.
Browse files Browse the repository at this point in the history
  • Loading branch information
budu committed May 11, 2012
1 parent 0d664df commit 4c44c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paper_trail/has_paper_trail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def has_paper_trail(options = {})
class_attribute :paper_trail_options
self.paper_trail_options = options.dup

%w(ignore skip only).map(&:to_sym).each do |k|
[:ignore, :skip, :only].each do |k|
paper_trail_options[k] =
([paper_trail_options[k]].flatten.compact || []).map &:to_s
end
Expand Down

0 comments on commit 4c44c24

Please sign in to comment.