class ActiveRecord::DynamicMatchers::FindAllBy

Public Class Methods

prefix() click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 67
def self.prefix
  "find_all_by"
end

Public Instance Methods

deprecation_alternative() click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 79
def deprecation_alternative
  "Post.where(...).all"
end
finder() click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 71
def finder
  "where"
end
result() click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 75
def result
  "#{super}.to_a"
end