Sha256: 4fee7039096cca07b2ad5e13203103fd27d58f81ae8c6a3a82ff1702803d5735
Contents?: true
Size: 363 Bytes
Versions: 11
Compression:
Stored size: 363 Bytes
Contents
module Rails3::Assist::Orm module ActiveRecord include Rails3::Assist::Orm::Base def orm_marker_name name, options=nil 'ActiveRecord::Base' end def new_model_content name, options={}, &block content = block ? yield : options[:content] file_w_inherit(name, orm_marker_name(name, options)) { content } end end end
Version data entries
11 entries across 11 versions & 1 rubygems