Sha256: 22142062a9bdb6c5a0b58e7ff138c732784306a7feff245c5a9efef1a5e440d4

Contents?: true

Size: 348 Bytes

Versions: 13

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

# Rails 7 hotwire and flash messages

require 'pry'

self.local_template_path = File.dirname(__FILE__)

gac 'base rails 7 image created'

add_controller('home', 'index', 'about')
route("root 'home#index'")

after_bundle do
  setup_db
end

def setup_db
  add_scaffold('post', 'title', 'body:text')

  db_migrate
end


Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails_app_generator-0.2.13 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.12 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.11 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.10 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.9 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.8 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.7 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.6 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.5 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.4 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.3 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.2 after_templates/rag/tailwind_hotwire_flash/_.rb
rails_app_generator-0.2.1 after_templates/rag/tailwind_hotwire_flash/_.rb