Class: ActiveRecord::DynamicMatchers::FindOrCreateBy
- Inherits:
-
Instantiator
- Object
- Method
- Instantiator
- ActiveRecord::DynamicMatchers::FindOrCreateBy
show all
- Defined in:
- lib/active_record/deprecated_finders/dynamic_matchers.rb
Class Method Summary
collapse
Instance Method Summary
collapse
#body, #deprecation_alternative, dispatch, #signature
#body, #deprecation_warning
Class Method Details
.prefix ⇒ Object
179
180
181
|
# File 'lib/active_record/deprecated_finders/dynamic_matchers.rb', line 179
def self.prefix
"find_or_create_by"
end
|
Instance Method Details
#instantiator ⇒ Object
183
184
185
|
# File 'lib/active_record/deprecated_finders/dynamic_matchers.rb', line 183
def instantiator
"create"
end
|