lib/vestal_versions/options.rb in vestal_versions-1.0.1 vs lib/vestal_versions/options.rb in vestal_versions-1.0.2

- old
+ new

@@ -26,9 +26,12 @@ options.reverse_merge!(Configuration.options) options.reverse_merge!( :class_name => 'VestalVersions::Version', :dependent => :delete_all ) + options.reverse_merge!( + :order => "#{options[:class_name].constantize.table_name}.number ASC" + ) class_inheritable_accessor :vestal_versions_options self.vestal_versions_options = options.dup options.merge!(