class ActiveRecord::DynamicMatchers::FindByBang
Public Class Methods
prefix()
click to toggle source
# File lib/active_record/dynamic_matchers.rb, line 127 def self.prefix "find_by" end
suffix()
click to toggle source
# File lib/active_record/dynamic_matchers.rb, line 131 def self.suffix "!" end
Public Instance Methods
finder()
click to toggle source
# File lib/active_record/dynamic_matchers.rb, line 135 def finder "find_by!" end