Skip to content

Commit

Permalink
Merge pull request #12751 from rubhanazeem/remove-redundant-rails-app…
Browse files Browse the repository at this point in the history
…-namespace

Remove unnecessary Rails.application from application.rb
  • Loading branch information
hennevogel committed Jul 5, 2022
2 parents 3994a99 + 756110d commit 34542ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/config/application.rb
Expand Up @@ -40,7 +40,7 @@ class Application < Rails::Application
# Enable rails version 6.1 defaults
config.load_defaults(6.1)
# FIXME: This is a known isue in RAILS 6.1 https://github.com/rails/rails/issues/40867
Rails.application.config.active_record.has_many_inversing = false
config.active_record.has_many_inversing = false

# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras)
Expand Down

0 comments on commit 34542ce

Please sign in to comment.