Module: RailsBestPractices::Prepares

Defined in:
lib/rails_best_practices/prepares.rb,
lib/rails_best_practices/prepares/model_prepare.rb,
lib/rails_best_practices/prepares/mailer_prepare.rb,
lib/rails_best_practices/prepares/schema_prepare.rb

Defined Under Namespace

Classes: MailerPrepare, ModelPrepare, SchemaPrepare

Class Attribute Summary collapse

Class Attribute Details

.mailersObject



23
24
25
# File 'lib/rails_best_practices/prepares.rb', line 23

def mailers
  @mailers ||= Core::Mailers.new
end

.model_associationsObject



15
16
17
# File 'lib/rails_best_practices/prepares.rb', line 15

def model_associations
  @model_associations ||= Core::ModelAssociations.new
end

.model_attributesObject



19
20
21
# File 'lib/rails_best_practices/prepares.rb', line 19

def model_attributes
  @model_attributes ||= Core::ModelAttributes.new
end

.modelsObject



11
12
13
# File 'lib/rails_best_practices/prepares.rb', line 11

def models
  @models ||= Core::Models.new
end