Class: ActiveRecord::DynamicMatchers::FindByBang
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Method
|
|
Instance Chain:
self,
Method
|
|
Inherits: |
ActiveRecord::DynamicMatchers::Method
|
Defined in: | activerecord/lib/active_record/dynamic_matchers.rb |
Class Attribute Summary
Class Method Summary
Instance Attribute Summary
Method
- Inherited
Instance Method Summary
Constructor Details
This class inherits a constructor from ActiveRecord::DynamicMatchers::Method
Class Method Details
.prefix
[ GitHub ]# File 'activerecord/lib/active_record/dynamic_matchers.rb', line 108
def self.prefix "find_by" end
.suffix
[ GitHub ]# File 'activerecord/lib/active_record/dynamic_matchers.rb', line 112
def self.suffix "!" end
Instance Method Details
#finder
[ GitHub ]# File 'activerecord/lib/active_record/dynamic_matchers.rb', line 116
def finder "find_by!" end