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.2.30 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.29 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.28 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.27 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.26 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.25 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.24 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.23 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.22 after_templates/addons/annotate/_.rb
rails_app_generator-0.2.21 after_templates/addons/annotate/_.rb