class ActiveRecord::DynamicMatchers::FindByBang  
        
        Inherits From
Attributes
| [R] | pattern | 
            
Public class methods
Source code GitHub
# File activerecord/lib/active_record/dynamic_matchers.rb, line 100
def finder
  "find_by!"
end
            Source code GitHub
# File activerecord/lib/active_record/dynamic_matchers.rb, line 96
def match?(name)
  pattern.match?(name) && self
end