Module: RailsAssist::Artifact::Model

Extended by:
Model
Includes:
BaseHelper
Included in:
Model
Defined in:
lib/rails_artifactor/artifact/markers.rb

Instance Method Summary collapse

Methods included from BaseHelper

included

Instance Method Details

#model_marker(name, options = {}) ⇒ Object



61
62
63
64
# File 'lib/rails_artifactor/artifact/markers.rb', line 61

def model_marker name, options={}
  return send :orm_marker_name, name, options if respond_to?(:orm_marker_name)
  name.to_s.camelize
end

#orm_notifyObject



66
67
68
# File 'lib/rails_artifactor/artifact/markers.rb', line 66

def orm_notify
  ". You must specify an ORM with the macro use_orm, f.ex -- use_orm :active_record"
end