diff --git a/lib/louisville/extensions/history.rb b/lib/louisville/extensions/history.rb index 76aca11..6afa098 100644 --- a/lib/louisville/extensions/history.rb +++ b/lib/louisville/extensions/history.rb @@ -36,7 +36,7 @@ def self.included(base) def historical_slugs return ::Louisville::Slug.where('1=0') unless persisted? - ::Louisville::Slug.where(sluggable_id: id, sluggable_type: ::Louisville::Util.polymorphic_name(self.class)) + ::Louisville::Slug.where(:sluggable_id => id, :sluggable_type => ::Louisville::Util.polymorphic_name(self.class)) end