Permalink
Browse files

Swap stabby proc out for the actual word one.

  • Loading branch information...
1 parent e649485 commit 075f2ade06f9c0a4d48d907a71f0c8c07e65ad29 @parndt committed Jun 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/seo_meta.rb
View
@@ -28,7 +28,7 @@ def is_seo_meta(options = {})
}.merge(options.slice(:class_name, :foreign_key, :dependent))
if ActiveRecord::VERSION::STRING >= '4.0.0'
- has_one :seo_meta, -> { where(:seo_meta_type => self.name) }, has_one_options
+ has_one :seo_meta, proc { where(:seo_meta_type => self.name) }, has_one_options
else
has_one :seo_meta, {:conditions => {:seo_meta_type => self.name}}.merge(has_one_options)
end

0 comments on commit 075f2ad

Please sign in to comment.