class ActiveRecord::DynamicMatchers::FindByBang

Public Class Methods

prefix() click to toggle source
# File lib/active_record/dynamic_matchers.rb, line 118
def self.prefix
  "find_by"
end
suffix() click to toggle source
# File lib/active_record/dynamic_matchers.rb, line 122
def self.suffix
  "!"
end

Public Instance Methods

finder() click to toggle source
# File lib/active_record/dynamic_matchers.rb, line 126
def finder
  "find_by!"
end