Permalink
Browse files

Merge pull request #5 from duff/master

Fixed Rails deprecation warning.
  • Loading branch information...
jmckible committed Mar 2, 2012
2 parents 3626015 + fba5d26 commit 6695d8c67bf5905e82ab9a56e3315ba70a07ba1b
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/version_fu/version_fu.rb
@@ -55,7 +55,7 @@ def next
# Housekeeping on versioned class
versioned_class.cattr_accessor :original_class
versioned_class.original_class = self
- versioned_class.set_table_name versioned_table_name
+ versioned_class.table_name = versioned_table_name
# Version parent association
versioned_class.belongs_to self.to_s.demodulize.underscore.to_sym,
@@ -106,4 +106,4 @@ def instatiate_revision
self.version = version_number
end
end
-end
+end

0 comments on commit 6695d8c

Please sign in to comment.