aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/all.rb
Commit message (Collapse)AuthorAgeFilesLines
* Import Action TextGeorge Claghorn2019-01-041-0/+1
|
* Import Action MailboxGeorge Claghorn2018-12-251-0/+1
|
* Fix app boot for Ruby 2.4Eileen Uchitelle2018-12-211-2/+6
| | | | | | | | | | | | | | | | | | | | | | I have a test app that was on Ruby 2.4. When I pulled Rails master the app no longer would boot because of this change and I saw the following error: ``` SyntaxError: /Users/eileencodes/open_source/real_rails/railties/lib/rails/all.rb:18: syntax error, unexpected keyword_rescue, expecting keyword_end rescue LoadError ^ ``` Ruby 2.4 doesn't support removing redundant begins so the real issue is that this app is on Ruby 2.4 and not on Ruby 2.5. But it's super confusing for a user to understand the reason the app is failing to boot is because we need Ruby 2.5. I added this redundant begin back because we need to give a clearer error message.
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-4/+2
| | | | | | | | | | Currently we sometimes find a redundant begin block in code review (e.g. https://github.com/rails/rails/pull/33604#discussion_r209784205). I'd like to enable `Style/RedundantBegin` cop to avoid that, since rescue/else/ensure are allowed inside do/end blocks in Ruby 2.5 (https://bugs.ruby-lang.org/issues/12906), so we'd probably meets with that situation than before.
* Add --skip-active-storage and do so automatically when --skip-active-record ↵bogdanvlviv2017-11-061-1/+1
| | | | | | | | | | | | is used Closes #30102 Revert part 787fe90dc0a7c5b91bb5af51f2858ea8c4676268 --skip-active-storage pass throughs `rails plugin new` Add changelog entry about default initialization of Active Storage
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Load activestorage by defaultDavid Heinemeier Hansson2017-07-311-0/+1
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* removes useless use of string interpolationXavier Noria2016-04-241-2/+2
| | | | `railtie` is already a string!
* Doh, should have read ff370ee61754b00f864f3ddd0af62be4dfa0de67David Heinemeier Hansson2015-12-161-1/+1
| | | | Indeed we need this to be an engine for the internal assets to work
* Another bad reference to engine instead of railtieDavid Heinemeier Hansson2015-12-161-1/+1
|
* Action Cable need to be a engineRafael Mendonça França2015-12-151-1/+1
| | | | Otherwise assets will not work
* Switch from engine to railtieDavid Heinemeier Hansson2015-12-151-1/+1
|
* Add action_cable to rails/all and application.rbRafael Mendonça França2015-12-141-9/+10
|
* Remove activejob integration testsAbdelkader Boudih2014-08-121-0/+1
|
* Add loading 'action_view' as part of rails/allŁukasz Strzałkowski2013-08-251-0/+1
|
* Moved the check for the rails test environment into rails/test_unit so that youwangjohn2013-04-231-4/+0
| | | | can select frameworks separately when running rake test.
* only match the default taskAaron Patterson2013-04-031-1/+1
|
* default task should also be in the test envAaron Patterson2013-04-031-1/+1
|
* default RAILS_ENV to test if we're in a test taskAaron Patterson2013-03-251-0/+4
|
* Now the Sprockets railtie lives in sprockets/railtieRafael Mendonça França2012-10-181-1/+1
|
* The sprockets railtie was moved to sprockets/rails/railtieGuillermo Iguaran2012-03-131-1/+1
|
* Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-131-1/+0
| | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-0/+1
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails always ↵Jeremy Kemper2010-02-041-4/+1
| | | | uses AS.
* Test::Unit Railtie Carlhuda2010-01-281-0/+1
|
* Moved more configuration away from bootstrap.José Valim2010-01-221-0/+1
|
* Some railties cleanup:Carl Lerche2009-12-311-1/+1
| | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin
* Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rbCarl Lerche2009-12-311-0/+15