class ActiveRecord::DynamicMatchers::ScopedBy
Public Class Methods
prefix()
click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 112 def self.prefix "scoped_by" end
Public Instance Methods
body()
click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 116 def body "#{deprecation_warning} \n where(#{attributes_hash})" end
deprecation_alternative()
click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 120 def deprecation_alternative "Post.where(...)" end