lib/sluggable_finder/orm.rb in sluggable_finder-2.1.1 vs lib/sluggable_finder/orm.rb in sluggable_finder-2.2.0

- old
+ new

@@ -16,10 +16,11 @@ write_inheritable_attribute(:sluggable_finder_options, { :sluggable_type => ActiveRecord::Base.send(:class_name_of_active_record_descendant, self).to_s, :from => field, :scope => nil, :to => :slug, - :reserved_slugs => [] + :reserved_slugs => [], + :allow_integer_ids => true }.merge( options )) class_inheritable_reader :sluggable_finder_options if sluggable_finder_options[:scope] scope_condition_method = %( \ No newline at end of file