1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

11 commits

Author SHA1 Message Date
alkesh26
79c3cef444 Railities typo fixes. 2019-02-01 16:42:40 +05:30
Bart de Water
eb5fea40a4 Enable Start/EndWith and RegexpMatch cops
In cases where the MatchData object is not used, this provides a speed-up:
https://github.com/JuanitoFatas/fast-ruby/#stringmatch-vs-stringmatch-vs-stringstart_withstringend_with-code-start-code-end
2018-07-28 17:37:17 -04:00
Akira Matsuda
6a728491b6 [Railties] require_relative => require
This basically reverts 618268b4b9
2017-10-21 22:48:26 +09:00
Pat Allan
acea68de02 Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
Nathan Wenneker
bc5977b9c7 Revise bundle binstub error message 2017-08-03 14:42:54 -06:00
Nathan Wenneker
a5da9d92e1 Improve bundler binstub error message
Rails displays an error message if you have a bundler-generated binstub
 at `./bin/rails` instead of a Rails-generated binstub.

This error message is misleading because it makes it seem as though
Rails 5 introduced recent changes in how binstubs are used, when these
changes were actually introduced way back in Rails 4.

The suggested upgrade steps are appropriate for an app that was created
in Rails 3, but they likely aren't the correct fix for someone who sees
this error message today on a modern app.  I believe the `--binstubs`
option on bundler is a more likely culprit and troubleshooting path.
2017-07-26 19:33:24 -06:00
Akira Matsuda
618268b4b9 [Railties] require => require_relative 2017-07-01 18:35:43 +09:00
Xavier Noria
bb1ecdcc67 fixes remaining RuboCop issues [Vipul A M, Xavier Noria] 2016-09-01 23:41:49 +02:00
Xavier Noria
69ab3eb57e applies new string literal convention in railties/lib
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:15:47 +02:00
Ryo Hashimoto
eaec958630 The tasks in the rails task namespace is deprecated in favor of app namespace.
(e.g. `rails:update` and `rails:template` tasks is renamed to `app:update` and `app:template`.)
2016-02-26 19:35:23 +09:00
Ryan Bigg
f9640b0900 Remove redundant 'Rails' from Rails::AppRailsLoader constant 2015-05-21 16:50:41 +10:00
Renamed from railties/lib/rails/app_rails_loader.rb (Browse further)