1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Updated to rails 7.1 and ruby 3.1.4

This commit is contained in:
2024-03-14 14:09:09 -04:00
parent fc3623008b
commit e46180e9ea
29 changed files with 706 additions and 230 deletions

View File

@@ -25,11 +25,6 @@ Wrestling::Application.configure do
# Raise an error on page load if there are pending migrations
config.active_record.migration_error = :page_load
# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large
# number of complex assets.
config.assets.debug = true
config.after_initialize do
#Bullet.enable = true
#Bullet.alert = true

View File

@@ -19,23 +19,6 @@ Wrestling::Application.configure do
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
# config.action_dispatch.rack_cache = true
# Disable Rails's static asset server (Apache or nginx will already do this).
#This is deprecated
#config.serve_static_assets = false
# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :sass
# Do not fallback to assets pipeline if a precompiled asset is missed.
config.assets.compile = false
# Generate digests for assets URLs.
config.assets.digest = true
# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '1.0'
# Specifies the header that your server uses for sending files.
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
@@ -91,7 +74,11 @@ Wrestling::Application.configure do
#THESE ADDED BY ME TO GET RAILS 4 WORKING IN HEROKU
config.cache_classes = true
config.public_file_server.enabled = true
## Using default asset pipeline sprockets
#Live compile with sprockets instead of: rails assets:precompile
config.assets.compile = true
# Generate digests for assets URLs.
config.assets.digest = true
#Added by me to force SSL in production on heroku