forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Those files were removed in rails#51760, but gems like `console1984` depend on these files for legacy Rails console command extensions. So keeping files around is required for backward-compatibility.
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
ActiveSupport::Deprecation.new.warn(<<~MSG, caller_locations(0..1)) | ||
`rails/console/app.rb` has been deprecated and will be removed in Rails 8.0. | ||
Please require `rails/console/methods.rb` instead. | ||
MSG | ||
|
||
require "rails/console/methods" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
ActiveSupport::Deprecation.new.warn(<<~MSG, caller_locations(0..1)) | ||
`rails/console/helpers.rb` has been deprecated and will be removed in Rails 8.0. | ||
Please require `rails/console/methods.rb` instead. | ||
MSG | ||
|
||
require "rails/console/methods" |