mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
67a9a86b1d
- config.load_defaults 6.0 in the dummy app and
fix the test since by default rails 6.0 configured
does not generate "utf8" hidden input, see #32125
- Use `ActiveRecord::Migration[6.0]` in the dummy app
since actiontext will be since Rails 6.0
- Fix `CreateActiveStorageTables` migration in the dummy app.
Add `t.foreign_key :active_storage_blobs, column: :blob_id`
It was added in 2ae3a29508
.
- `rails/actiontext$ yarn install`
19 lines
565 B
Ruby
19 lines
565 B
Ruby
require_relative 'boot'
|
|
|
|
require 'rails/all'
|
|
|
|
Bundler.require(*Rails.groups)
|
|
require "action_text"
|
|
|
|
module Dummy
|
|
class Application < Rails::Application
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 6.0
|
|
|
|
# Settings in config/environments/* take precedence over those specified here.
|
|
# Application configuration can go into files in config/initializers
|
|
# -- all .rb files in that directory are automatically loaded after loading
|
|
# the framework and any gems in your application.
|
|
end
|
|
end
|
|
|