Archived
1
0
Fork 0

Remove remaining non-essential pieces of Rails

This commit is contained in:
Andrew Tomaka 2019-10-03 22:48:18 -04:00
parent ccc9b2623b
commit acbd5d1462
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
5 changed files with 5 additions and 7 deletions

View file

@ -1,2 +0,0 @@
class ApplicationController < ActionController::API
end

View file

@ -2,15 +2,15 @@ require_relative 'boot'
require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
# require "active_model/railtie"
# require "active_job/railtie"
# require "active_record/railtie"
# require "active_storage/engine"
require "action_controller/railtie"
# require "action_controller/railtie"
# require "action_mailer/railtie"
# require "action_mailbox/engine"
# require "action_text/engine"
require "action_view/railtie"
# require "action_view/railtie"
# require "action_cable/engine"
# require "sprockets/railtie"
require "rails/test_unit/railtie"

View file

@ -21,14 +21,14 @@ Rails.application.configure do
# Show full error reports and disable caching.
config.consider_all_requests_local = true
config.action_controller.perform_caching = false
# config.action_controller.perform_caching = false
config.cache_store = :null_store
# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = false
# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
# config.action_controller.allow_forgery_protection = false
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr