Module: Rails3::Assist::Artifact::Model
- Extended by:
- Model
- Includes:
- BaseHelper
- Included in:
- Model
- Defined in:
- lib/rails3_artifactor/artifact/markers.rb
Instance Method Summary collapse
Methods included from BaseHelper
Instance Method Details
#model_marker(name, options = {}) ⇒ Object
61 62 63 64 |
# File 'lib/rails3_artifactor/artifact/markers.rb', line 61 def model_marker name, ={} return send :orm_marker_name, name, if respond_to?(:orm_marker_name) name.to_s.camelize end |
#orm_notify ⇒ Object
66 67 68 |
# File 'lib/rails3_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 |