lib/hobo_fields/model.rb in hobo_fields-2.1.0.pre4 vs lib/hobo_fields/model.rb in hobo_fields-2.1.0

- old
+ new

@@ -185,9 +185,10 @@ # Extended version of the acts_as_list declaration that # automatically delcares the 'position' field def self.acts_as_list_with_field_declaration(options = {}) declare_field(options.fetch(:column, "position"), :integer) + default_scope { order("#{self.table_name}.position ASC") } acts_as_list_without_field_declaration(options) end # Returns the type (a class) for a given field or association. If