class ActiveRecord::DynamicMatchers::FindByBang

Public Class Methods

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

Public Instance Methods

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