class ActiveRecord::DynamicMatchers::FindOrCreateByBang - activerecord-deprecated_finders-1.0.3 Documentation

# class ActiveRecord::DynamicMatchers::FindOrCreateByBang

### Public Class Methods

prefix() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 191
    def self.prefix
      "find_or_create_by"
    end

suffix() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 195
    def self.suffix
      "!"
    end

### Public Instance Methods

instantiator() click to toggle source

    # File lib/active_record/deprecated_finders/dynamic_matchers.rb, line 199
    def instantiator
      "create!"
    end