Sha256: c5d05a56245dad6c3824fbf13aa464f3b50c4dad14acdfa1001fa3ac75d1e74b
Contents?: true
Size: 387 Bytes
Versions: 17
Compression:
Stored size: 387 Bytes
Contents
require 'active_support/inflector' module Rails3::Assist::Orm module None include Rails3::Assist::Orm::Base def orm_marker_name name, options=nil name.to_s.camelize end def new_model_content name, options={}, &block content = block ? yield : options[:content] simple_file(name, orm_marker_name(name, options)) { content } end end end
Version data entries
17 entries across 17 versions & 1 rubygems