Skip to content

Commit afeab92

Browse files
teetanghclaude
andcommitted
fix: Comment out asset pipeline config in all environments
Commented out config.assets.* references in development.rb and production.rb since the asset pipeline was removed. This fixes NoMethodError for undefined method 'assets' on Rails::Application::Configuration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent f535882 commit afeab92

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/environments/development.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@
5151
config.active_support.disallowed_deprecation_warnings = []
5252

5353
# Raise an error on page load if there are pending migrations.
54-
config.active_record.migration_error = :page_load
54+
# config.active_record.migration_error = :page_load # Commented out - not using ActiveRecord
5555

5656
# Highlight code that triggered database queries in logs.
57-
config.active_record.verbose_query_logs = true
57+
# config.active_record.verbose_query_logs = true # Commented out - not using ActiveRecord
5858

5959
# Highlight code that enqueued background job in logs.
6060
config.active_job.verbose_enqueue_logs = true
6161

6262
# Suppress logger output for asset requests.
63-
config.assets.quiet = true
63+
# config.assets.quiet = true # Commented out - not using asset pipeline
6464

6565
# Raises error for missing translations.
6666
# config.i18n.raise_on_missing_translations = true

config/environments/production.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# config.assets.css_compressor = :sass
2828

2929
# Do not fall back to assets pipeline if a precompiled asset is missed.
30-
config.assets.compile = false
30+
# config.assets.compile = false # Commented out - not using asset pipeline
3131

3232
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
3333
# config.asset_host = "http://assets.example.com"
@@ -85,7 +85,7 @@
8585
config.active_support.report_deprecations = false
8686

8787
# Do not dump schema after migrations.
88-
config.active_record.dump_schema_after_migration = false
88+
# config.active_record.dump_schema_after_migration = false # Commented out - not using ActiveRecord
8989

9090
# Enable DNS rebinding protection and other `Host` header attacks.
9191
# config.hosts = [

0 commit comments

Comments
 (0)