Sha256: b353e12fa6118fc40cae2644fbd9ba7f76716837c915d275d7bfb3c511e80e5d
Contents?: true
Size: 391 Bytes
Versions: 3
Compression:
Stored size: 391 Bytes
Contents
Merb::Generators::ModelGenerator.template :model_sequel, :orm => :sequel do source(File.dirname(__FILE__), "templates/model/app/models/%file_name%.rb") destination("app/models", base_path, "#{file_name}.rb") end Merb::Generators::ModelGenerator.invoke :migration, :orm => :sequel do |generator| generator.new(destination_root, options.merge(:model => true), file_name, attributes) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
merb_sequel-0.9.4 | lib/generators/model.rb |
merb_sequel-0.9.6 | lib/generators/model.rb |
merb_sequel-0.9.5 | lib/generators/model.rb |