Skip to Content Skip to Search

class ActiveRecord::DynamicMatchers::FindByBang

Inherits From

Public class methods

Source code GitHub
# File activerecord/lib/active_record/dynamic_matchers.rb, line 108
def self.prefix
  "find_by"
end
Source code GitHub
# File activerecord/lib/active_record/dynamic_matchers.rb, line 112
def self.suffix
  "!"
end

Public instance methods

Source code GitHub
# File activerecord/lib/active_record/dynamic_matchers.rb, line 116
def finder
  "find_by!"
end

Definition files