Sha256: b3a311aab5bd978daaf58817b91f48b230ed30c630cb6ef3a29c01821f8bddc4

Contents?: true

Size: 308 Bytes

Versions: 6

Compression:

Stored size: 308 Bytes

Contents

module <%= @generation_app_name %>
  include Camping::Session
end

def <%= @generation_app_name %>.create
  Camping::Models::Session.create_schema
  <%= @generation_app_name %>::Models.create_schema :assume => (<%= @generation_app_name %>::Models::<%= @generation_class_name %>.table_exists? ? 1.0 : 0.0)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bivouac-0.0.5 lib/bivouac/template/generate/create.rb
bivouac-0.0.7 lib/bivouac/template/generate/create.rb
bivouac-0.0.3 lib/bivouac/template/generate/create.rb
bivouac-0.0.4 lib/bivouac/template/generate/create.rb
bivouac-0.0.6 lib/bivouac/template/generate/create.rb
bivouac-0.0.8 lib/bivouac/template/generate/create.rb