Skip to content

Commit

Permalink
Avoid error with model preload
Browse files Browse the repository at this point in the history
Signed-off-by: rick <technoweenie@gmail.com>
  • Loading branch information
ngocdaothanh authored and technoweenie committed Jan 10, 2009
1 parent 23972a4 commit bc013f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/acts_as_versioned.rb
Expand Up @@ -257,8 +257,6 @@ def versions_count
:foreign_key => versioned_foreign_key
versioned_class.send :include, options[:extend] if options[:extend].is_a?(Module)
versioned_class.set_sequence_name version_sequence_name if version_sequence_name

create_versioned_table
end
end

Expand Down

0 comments on commit bc013f3

Please sign in to comment.