class ActiveRecord::DynamicMatchers::FindOrCreateBy

Public Class Methods

prefix() click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 179
def self.prefix
  "find_or_create_by"
end

Public Instance Methods

instantiator() click to toggle source
# File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 183
def instantiator
  "create"
end