Sha256: 6dcc631f41ac38ff72e208139dd967d4b0cfd5342876435304cbd42fa9080f1b

Contents?: true

Size: 602 Bytes

Versions: 30

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

# Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema.
#
# exe/rag addons/annotate

self.local_template_path = File.dirname(__FILE__)

gac 'base rails 7 image created'

prepare_environment

add_controller('home', 'index')

route("root 'home#index'")

force_copy

directory "app/controllers"
directory "app/views/home"
directory "app/views/layouts"
template  'app/views/layouts/application.html.erb'        , 'app/views/layouts/application.html.erb'

after_bundle do
  add_scaffold('post', 'title', 'body:text')
  db_migrate
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/addons/annotate/_.rb
rails_app_generator-0.3.5 after_templates/addons/annotate/_.rb
rails_app_generator-0.3.4 after_templates/addons/annotate/_.rb
rails_app_generator-0.3.3 after_templates/addons/annotate/_.rb
rails_app_generator-0.3.2 after_templates/addons/annotate/_.rb
rails_app_generator-0.3.1 after_templates/addons/annotate/_.rb
rails_app_generator-0.3.0 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.43 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.42 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.41 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.40 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.39 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.38 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.37 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.36 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.35 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.34 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.33 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.32 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.31 after_templates/addons/annotate/_.rb