Skip to content

Commit

Permalink
fully qualify the Version class to prevent load-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Yves Senn committed Nov 27, 2012
1 parent 69425fa commit 3a72dac
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 @@ -39,7 +39,7 @@ def has_paper_trail(options = {})
attr_accessor self.version_association_name

class_attribute :version_class_name
self.version_class_name = options[:class_name] || 'Version'
self.version_class_name = options[:class_name] || '::Version'

class_attribute :paper_trail_options
self.paper_trail_options = options.dup
Expand Down

0 comments on commit 3a72dac

Please sign in to comment.