railties 4.1.16 → 4.2.0.beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +80 -439
  3. data/RDOC_MAIN.rdoc +1 -1
  4. data/README.rdoc +6 -2
  5. data/lib/rails.rb +7 -1
  6. data/lib/rails/all.rb +1 -0
  7. data/lib/rails/api/task.rb +7 -0
  8. data/lib/rails/app_rails_loader.rb +4 -2
  9. data/lib/rails/application.rb +74 -47
  10. data/lib/rails/application/configuration.rb +23 -1
  11. data/lib/rails/application/finisher.rb +0 -2
  12. data/lib/rails/code_statistics.rb +4 -2
  13. data/lib/rails/commands/commands_tasks.rb +1 -6
  14. data/lib/rails/commands/console.rb +24 -12
  15. data/lib/rails/commands/dbconsole.rb +2 -2
  16. data/lib/rails/commands/plugin.rb +1 -1
  17. data/lib/rails/commands/server.rb +22 -9
  18. data/lib/rails/engine.rb +7 -7
  19. data/lib/rails/gem_version.rb +3 -3
  20. data/lib/rails/generators.rb +68 -15
  21. data/lib/rails/generators/actions.rb +27 -7
  22. data/lib/rails/generators/actions/create_migration.rb +2 -1
  23. data/lib/rails/generators/app_base.rb +55 -65
  24. data/lib/rails/generators/base.rb +2 -2
  25. data/lib/rails/generators/erb/scaffold/templates/_form.html.erb +0 -5
  26. data/lib/rails/generators/erb/scaffold/templates/edit.html.erb +1 -1
  27. data/lib/rails/generators/erb/scaffold/templates/index.html.erb +3 -1
  28. data/lib/rails/generators/erb/scaffold/templates/new.html.erb +1 -1
  29. data/lib/rails/generators/generated_attribute.rb +24 -4
  30. data/lib/rails/generators/model_helpers.rb +28 -0
  31. data/lib/rails/generators/rails/app/app_generator.rb +8 -2
  32. data/lib/rails/generators/rails/app/templates/Gemfile +21 -6
  33. data/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +1 -1
  34. data/lib/rails/generators/rails/app/templates/bin/setup +28 -0
  35. data/lib/rails/generators/rails/app/templates/config/application.rb +5 -1
  36. data/lib/rails/generators/rails/app/templates/config/boot.rb +1 -2
  37. data/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +1 -3
  38. data/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +1 -1
  39. data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +4 -0
  40. data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +8 -10
  41. data/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt +3 -0
  42. data/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb +1 -1
  43. data/lib/rails/generators/rails/app/templates/gitignore +2 -0
  44. data/lib/rails/generators/rails/controller/USAGE +0 -1
  45. data/lib/rails/generators/rails/controller/controller_generator.rb +6 -2
  46. data/lib/rails/generators/rails/helper/USAGE +0 -4
  47. data/lib/rails/generators/rails/model/USAGE +11 -1
  48. data/lib/rails/generators/rails/model/model_generator.rb +4 -0
  49. data/lib/rails/generators/rails/plugin/plugin_generator.rb +1 -3
  50. data/lib/rails/generators/rails/plugin/templates/%name%.gemspec +1 -1
  51. data/lib/rails/generators/rails/plugin/templates/Gemfile +10 -6
  52. data/lib/rails/generators/rails/plugin/templates/Rakefile +4 -0
  53. data/lib/rails/generators/rails/plugin/templates/app/controllers/%name%/application_controller.rb.tt +0 -1
  54. data/lib/rails/generators/rails/plugin/templates/rails/javascripts.js +1 -1
  55. data/lib/rails/generators/rails/plugin/templates/test/test_helper.rb +2 -10
  56. data/lib/rails/generators/rails/resource_route/resource_route_generator.rb +2 -4
  57. data/lib/rails/generators/rails/scaffold/USAGE +7 -1
  58. data/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +0 -1
  59. data/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +1 -1
  60. data/lib/rails/generators/resource_helpers.rb +2 -11
  61. data/lib/rails/generators/test_unit/helper/helper_generator.rb +1 -5
  62. data/lib/rails/generators/testing/behaviour.rb +17 -0
  63. data/lib/rails/info.rb +1 -1
  64. data/lib/rails/info_controller.rb +1 -1
  65. data/lib/rails/mailers_controller.rb +14 -16
  66. data/lib/rails/paths.rb +1 -1
  67. data/lib/rails/rack.rb +1 -1
  68. data/lib/rails/rack/log_tailer.rb +4 -0
  69. data/lib/rails/rack/logger.rb +1 -1
  70. data/lib/rails/railtie.rb +2 -2
  71. data/lib/rails/ruby_version_check.rb +1 -1
  72. data/lib/rails/source_annotation_extractor.rb +23 -16
  73. data/lib/rails/tasks/framework.rake +1 -1
  74. data/lib/rails/tasks/statistics.rake +8 -3
  75. data/lib/rails/templates/rails/mailers/email.html.erb +2 -13
  76. data/lib/rails/templates/rails/mailers/index.html.erb +2 -2
  77. data/lib/rails/templates/rails/mailers/mailer.html.erb +1 -1
  78. data/lib/rails/test_unit/sub_test_task.rb +2 -2
  79. metadata +13 -13
  80. data/lib/rails/generators/test_unit/helper/templates/helper_test.rb +0 -6
  81. data/lib/rails/rubyprof_ext.rb +0 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e88a315125c5c984ba4fac28eea590b6f871a56a
4
- data.tar.gz: ffdd85bab7b6c51512e087dade3b49f5247415f3
3
+ metadata.gz: c0d9bf17864297c9b28a27acd144798174e32f3d
4
+ data.tar.gz: a04fb2115bb4aae2ac18005d73a86caeb221bc81
5
5
  SHA512:
6
- metadata.gz: 235231e532c17b252e5d7767ab7616314cb15832d5ae2313496c218fd81b7bb16afcbaa156c6e4b842fc86fbf721ef88cc23860d38ec7e0f7551ffd0c912e9b4
7
- data.tar.gz: 5c25c162a13b7383eb86fa127ad5369001f9c554a0f58e3d4bece2936a9277bd4ef27528ebd723b25973e2feadabacba57636006324abb5193e79965b894de36
6
+ metadata.gz: f66532d7ad29f2255e25d702302f928e6c3ada2c8d11296dda01191c7e530c6c84db24814fcd6e9d6035bc8dc09fb7ca4fc42301b95bbff7a2bd1d63ba3d4ef3
7
+ data.tar.gz: 1281dfa40646aa90b0af2954602909be4d361157e74ff55aa396f34ce8be8165e5b3d4f88a991d9800d55faeb5338f4a4c523a17cbff8bbb93c50f1c499c0aa0
data/CHANGELOG.md CHANGED
@@ -1,187 +1,131 @@
1
- ## Rails 4.1.16 (July 12, 2016) ##
1
+ * The [web-console](https://github.com/rails/web-console) gem is now
2
+ installed by default for new applications. It can help you debug
3
+ development exceptions by spawnig an interactive console in its cause
4
+ binding.
2
5
 
3
- * Do not run `bundle install` when generating a new plugin.
6
+ *Ryan Dao*, *Genadi Samokovarov*, *Guillermo Iguaran*
4
7
 
5
- Since bundler 1.12.0, the gemspec is validated so the `bundle install`
6
- command will fail just after the gem is created causing confusion to the
7
- users. This change was a bug fix to correctly validate gemspecs.
8
+ * Add a `required` option to the model generator for associations
8
9
 
9
- *Rafael Mendonça França*
10
-
11
- * Reading name and email from git for plugin gemspec.
12
-
13
- Fixes #9589.
14
-
15
- *Arun Agrawal*, *Abd ar-Rahman Hamidi*, *Roman Shmatov*
16
-
17
-
18
- ## Rails 4.1.15 (March 07, 2016) ##
19
-
20
- * No changes.
21
-
22
-
23
- ## Rails 4.1.14.2 (February 26, 2016) ##
24
-
25
- * No changes.
26
-
27
-
28
- ## Rails 4.1.14.1 (January 25, 2015) ##
29
-
30
- * No changes.
31
-
32
-
33
- ## Rails 4.1.14 (November 12, 2015) ##
34
-
35
- * No changes.
36
-
37
-
38
- ## Rails 4.1.13 (August 24, 2015) ##
39
-
40
- * No changes.
41
-
42
-
43
- ## Rails 4.1.12 (June 25, 2015) ##
44
-
45
- * Add support for inline images in mailer previews by using an interceptor
46
- class to convert cid: urls in image src attributes to data urls. The
47
- interceptor is not enabled by default but can be done in an initializer:
48
-
49
- # config/initializer/preview_interceptors.rb
50
- ActionMailer::Base.register_preview_interceptor(ActionMailer::InlinePreviewInterceptor)
51
-
52
- *Andrew White*
53
-
54
- * Fix mailer previews with attachments by using the mail gem's own API to
55
- locate the first part of the correct mime type.
56
-
57
- Fixes #14435.
10
+ *Sean Griffin*
58
11
 
59
- *Andrew White*
12
+ * Add `after_bundle` callbacks in Rails templates. Useful for allowing the
13
+ generated binstubs to be added to version control.
60
14
 
15
+ Fixes #16292.
61
16
 
62
- ## Rails 4.1.11 (June 16, 2015) ##
17
+ *Stefan Kanev*
63
18
 
64
- * No changes.
19
+ * Pull in the custom configuration concept from dhh/custom_configuration, which allows you to
20
+ configure your own code through the Rails configuration object with custom configuration:
65
21
 
22
+ # config/environments/production.rb
23
+ config.x.payment_processing.schedule = :daily
24
+ config.x.payment_processing.retries = 3
25
+ config.x.super_debugger = true
66
26
 
67
- ## Rails 4.1.10 (March 19, 2015) ##
27
+ These configuration points are then available through the configuration object:
68
28
 
69
- * Add a new-line to the end of route method generated code.
29
+ Rails.configuration.x.payment_processing.schedule # => :daily
30
+ Rails.configuration.x.payment_processing.retries # => 3
31
+ Rails.configuration.x.super_debugger # => true
70
32
 
71
- We need to add a `\n`, because we cannot have two routes
72
- in the same line.
33
+ *DHH*
73
34
 
74
- *arthurnn*
35
+ * Scaffold generator `_form` partial adds `class="field"` for password
36
+ confirmation fields.
75
37
 
76
- * Force generated routes to be inserted into routes.rb
38
+ *noinkling*
77
39
 
78
- *Andrew White*
40
+ * Add `Rails::Application.config_for` to load a configuration for the current
41
+ environment.
79
42
 
80
- * Don't remove all line endings from routes.rb when revoking scaffold.
43
+ # config/exception_notification.yml:
44
+ production:
45
+ url: http://127.0.0.1:8080
46
+ namespace: my_app_production
47
+ development:
48
+ url: http://localhost:3001
49
+ namespace: my_app_development
81
50
 
82
- Fixes #15913.
51
+ # config/production.rb
52
+ MyApp::Application.configure do
53
+ config.middleware.use ExceptionNotifier, config_for(:exception_notification)
54
+ end
83
55
 
84
- *Andrew White*
56
+ *Rafael Mendonça França*, *DHH*
85
57
 
86
- * Fix scaffold generator with `--helper=false` option.
58
+ * Deprecate `Rails::Rack::LogTailer` without replacement.
87
59
 
88
60
  *Rafael Mendonça França*
89
61
 
62
+ * Add a generic --skip-gems options to generator
90
63
 
91
- ## Rails 4.1.9 (January 6, 2015) ##
92
-
93
- * No changes.
94
-
95
-
96
- ## Rails 4.1.8 (November 16, 2014) ##
97
-
98
- * `secret_token` is now saved in `Rails.application.secrets.secret_token`
99
- and it falls back to the value of `config.secret_token` when it is not
100
- present in `config/secrets.yml`.
101
-
102
- *Benjamin Fleischer*
103
-
104
- * Specify dummy app's db migrate path in plugin's test_helper.rb.
105
-
106
- Fixes #16877.
107
-
108
- *Yukio Mizuta*
64
+ This option is useful if users want to remove some gems like jbuilder,
65
+ turbolinks, coffee-rails, etc that don't have specific options on the
66
+ generator.
109
67
 
110
- * Change the path of dummy app location in plugin's test_helper.rb for cases
111
- you specify dummy_path option.
68
+ rails new my_app --skip-gems turbolinks coffee-rails
112
69
 
113
- *Yukio Mizuta*
114
-
115
-
116
- ## Rails 4.1.7.1 (November 19, 2014) ##
117
-
118
- * No changes.
70
+ *Rafael Mendonça França*
119
71
 
72
+ * Invalid `bin/rails generate` commands will now show spelling suggestions.
120
73
 
121
- ## Rails 4.1.7 (October 29, 2014) ##
74
+ *Richard Schneeman*
122
75
 
123
- * No changes.
76
+ * Add `bin/setup` script to bootstrap an application.
124
77
 
78
+ *Yves Senn*
125
79
 
126
- ## Rails 4.1.6 (September 11, 2014) ##
80
+ * Replace double quotes with single quotes while adding an entry into Gemfile.
127
81
 
128
- * Scaffold generator `_form` partial adds `class="field"` for password
129
- confirmation fields.
82
+ *Alexander Belaev*
130
83
 
131
- *noinkling*
84
+ * Default `config.assets.digest` to `true` in development.
132
85
 
133
- * Avoid namespacing routes inside engines.
86
+ *Dan Kang*
134
87
 
135
- Mountable engines are namespaced by default so the generated routes
136
- were too while they should not.
88
+ * Load database configuration from the first `database.yml` available in paths.
137
89
 
138
- Fixes #14079.
90
+ *Pier-Olivier Thibault*
139
91
 
140
- *Yves Senn*, *Carlos Antonio da Silva*, *Robin Dupret*
92
+ * Reading name and email from git for plugin gemspec.
141
93
 
94
+ Fixes #9589.
142
95
 
143
- ## Rails 4.1.5 (August 18, 2014) ##
96
+ *Arun Agrawal*, *Abd ar-Rahman Hamidi*, *Roman Shmatov*
144
97
 
145
- * Check attributes passed to `create_with` and `where`.
98
+ * Fix `console` and `generators` blocks defined at different environments.
146
99
 
147
- Fixes CVE-2014-3514.
100
+ Fixes #14748.
148
101
 
149
102
  *Rafael Mendonça França*
150
103
 
104
+ * Move configuration of asset precompile list and version to an initializer.
151
105
 
152
- ## Rails 4.1.4 (July 2, 2014) ##
153
-
154
- * No changes.
155
-
156
-
157
- ## Rails 4.1.3 (July 2, 2014) ##
158
-
159
- * No changes.
160
-
161
-
162
- ## Rails 4.1.2 (June 26, 2014) ##
163
-
164
- * Load database configuration from the first `database.yml` available in paths.
106
+ *Matthew Draper*
165
107
 
166
- *Pier-Olivier Thibault*
108
+ * Remove sqlite3 lines from `.gitignore` if the application is not using sqlite3.
167
109
 
168
- * Fix `console` and `generators` blocks defined at different environments.
110
+ *Dmitrii Golub*
169
111
 
170
- Fixes #14748.
112
+ * Add public API to register new extensions for `rake notes`.
171
113
 
172
- *Rafael Mendonça França*
114
+ Example:
173
115
 
174
- * Move configuration of asset precompile list and version to an initializer.
116
+ config.annotations.register_extensions("scss", "sass") { |tag| /\/\/\s*(#{tag}):?\s*(.*)$/ }
175
117
 
176
- *Matthew Draper*
118
+ *Roberto Miranda*
177
119
 
120
+ * Removed unnecessary `rails application` command.
178
121
 
179
- ## Rails 4.1.1 (May 6, 2014) ##
122
+ *Arun Agrawal*
180
123
 
181
- * No changes.
124
+ * Make the `rails:template` rake task load the application's initializers.
182
125
 
126
+ Fixes #12133.
183
127
 
184
- ## Rails 4.1.0 (April 8, 2014) ##
128
+ *Robin Dupret*
185
129
 
186
130
  * Introduce `Rails.gem_version` as a convenience method to return
187
131
  `Gem::Version.new(Rails.version)`, suggesting a more reliable way to perform
@@ -198,316 +142,13 @@
198
142
 
199
143
  *Prem Sichanugrist*
200
144
 
201
- * Do not crash when `config/secrets.yml` is empty.
202
-
203
- *Yves Senn*
204
-
205
- * Set `dump_schema_after_migration` config values in production.
206
-
207
- Set `config.active_record.dump_schema_after_migration` as false
208
- in the generated `config/environments/production.rb` file.
209
-
210
- *Emil Soman*
211
-
212
- * Added Thor-action for creation of migrations.
213
-
214
- Fixes #13588, #12674.
215
-
216
- *Gert Goet*
217
-
218
- * Ensure that `bin/rails` is a file before trying to execute it.
219
-
220
- Fixes #13825.
221
-
222
- *bronzle*
223
-
224
- * Use single quotes in generated files.
225
-
226
- *Cristian Mircea Messel*, *Chulki Lee*
227
-
228
- * The `Gemfile` of new applications depends on SDoc ~> 0.4.0.
229
-
230
- *Xavier Noria*
231
-
232
- * `test_help.rb` now automatically checks/maintains your test database
233
- schema. (Use `config.active_record.maintain_test_schema = false` to
234
- disable.)
235
-
236
- *Jon Leighton*
237
-
238
- * Configure `secrets.yml` and `database.yml` to read configuration
239
- from the system environment by default for production.
240
-
241
- *José Valim*
242
-
243
- * `config.assets.raise_runtime_errors` is set to true by default
244
-
245
- This option has been introduced in
246
- [sprockets-rails#100][https://github.com/rails/sprockets-rails/pull/100]
247
- and defaults to true in new applications in development.
248
-
249
- *Richard Schneeman*
250
-
251
- * Generates `html` and `text` templates for mailers by default.
252
-
253
- *Kassio Borges*
254
-
255
- * Move `secret_key_base` from `config/initializers/secret_token.rb`
256
- to `config/secrets.yml`.
257
-
258
- `secret_key_base` is now saved in `Rails.application.secrets.secret_key_base`
259
- and it fallbacks to the value of `config.secret_key_base` when it is not
260
- present in `config/secrets.yml`.
261
-
262
- `config/initializers/secret_token.rb` is not generated by default
263
- in new applications.
264
-
265
- *Guillermo Iguaran*
266
-
267
- * Generate a new `secrets.yml` file in the `config` folder for new
268
- applications. By default, this file contains the application's `secret_key_base`,
269
- but it could also be used to store other secrets such as access keys for external
270
- APIs.
271
-
272
- The secrets added to this file will be accessible via `Rails.application.secrets`.
273
- For example, with the following `secrets.yml`:
274
-
275
- development:
276
- secret_key_base: 3b7cd727ee24e8444053437c36cc66c3
277
- some_api_key: SOMEKEY
278
-
279
- `Rails.application.secrets.some_api_key` will return `SOMEKEY` in the development
280
- environment.
281
-
282
- *Guillermo Iguaran*
283
-
284
- * Add `ENV['DATABASE_URL']` support in `rails dbconsole`. Fixes #13320.
285
-
286
- *Huiming Teo*
287
-
288
- * Add `Application#message_verifier` method to return a message verifier.
289
-
290
- This verifier can be used to generate and verify signed messages in the application.
291
-
292
- message = Rails.application.message_verifier(:sensitive_data).generate('my sensible data')
293
- Rails.application.message_verifier(:sensitive_data).verify(message)
294
- # => 'my sensible data'
295
-
296
- It is recommended not to use the same verifier for different things, so you can get different
297
- verifiers passing the name argument.
298
-
299
- message = Rails.application.message_verifier(:cookies).generate('my sensible cookie data')
300
-
301
- See the `ActiveSupport::MessageVerifier` documentation for more information.
302
-
303
- *Rafael Mendonça França*
304
-
305
- * The [Spring application
306
- preloader](https://github.com/rails/spring) is now installed
307
- by default for new applications. It uses the development group of
308
- the Gemfile, so will not be installed in production.
309
-
310
- *Jon Leighton*
311
-
312
- * Uses .railsrc while creating new plugin if it is available.
313
-
314
- Fixes #10700.
315
-
316
- *Prathamesh Sonpatki*
317
-
318
- * Remove turbolinks when generating a new application based on a template that skips it.
319
-
320
- Example:
321
-
322
- Skips turbolinks adding `add_gem_entry_filter { |gem| gem.name != "turbolinks" }`
323
- to the template.
324
-
325
- *Lauro Caetano*
326
-
327
- * Instrument an `load_config_initializer.railties` event on each load of configuration initializer
328
- from `config/initializers`. Subscribers should be attached before `load_config_initializers`
329
- initializer completed.
330
-
331
- Registering subscriber examples:
332
-
333
- # config/application.rb
334
- module RailsApp
335
- class Application < Rails::Application
336
- ActiveSupport::Notifications.subscribe('load_config_initializer.railties') do |*args|
337
- event = ActiveSupport::Notifications::Event.new(*args)
338
- puts "Loaded initializer #{event.payload[:initializer]} (#{event.duration}ms)"
339
- end
340
- end
341
- end
342
-
343
- # my_engine/lib/my_engine/engine.rb
344
- module MyEngine
345
- class Engine < ::Rails::Engine
346
- config.before_initialize do
347
- ActiveSupport::Notifications.subscribe('load_config_initializer.railties') do |*args|
348
- event = ActiveSupport::Notifications::Event.new(*args)
349
- puts "Loaded initializer #{event.payload[:initializer]} (#{event.duration}ms)"
350
- end
351
- end
352
- end
353
- end
354
-
355
- *Paul Nikitochkin*
356
-
357
- * Support for Pathnames in eager load paths.
358
-
359
- *Mike Pack*
360
-
361
- * Fixed missing line and shadow on service pages(404, 422, 500).
362
-
363
- *Dmitry Korotkov*
364
-
365
- * `BACKTRACE` environment variable to show unfiltered backtraces for
366
- test failures.
367
-
368
- Example:
369
-
370
- $ BACKTRACE=1 ruby -Itest ...
371
- # or with rake
372
- $ BACKTRACE=1 bin/rake
373
-
374
- *Yves Senn*
375
-
376
- * Removal of all javascript stuff (gems and files) when generating a new
377
- application using the `--skip-javascript` option.
378
-
379
- *Robin Dupret*
380
-
381
- * Make the application name snake cased when it contains spaces
382
-
383
- The application name is used to fill the `database.yml` and
384
- `session_store.rb` files ; previously, if the provided name
385
- contained whitespaces, it led to unexpected names in these files.
386
-
387
- *Robin Dupret*
388
-
389
- * Added `--model-name` option to `ScaffoldControllerGenerator`.
390
-
391
- *yalab*
392
-
393
- * Expose MiddlewareStack#unshift to environment configuration.
394
-
395
- *Ben Pickles*
396
-
397
- * `rails server` will only extend the logger to output to STDOUT
398
- in development environment.
399
-
400
- *Richard Schneeman*
401
-
402
- * Don't require passing path to app before options in `rails new`
403
- and `rails plugin new`
404
-
405
- *Piotr Sarnacki*
406
-
407
- * rake notes now searches *.less files
408
-
409
- *Josh Crowder*
410
-
411
- * Generate nested route for namespaced controller generated using
412
- `rails g controller`.
413
- Fixes #11532.
414
-
415
- Example:
416
-
417
- rails g controller admin/dashboard index
418
-
419
- # Before:
420
- get "dashboard/index"
421
-
422
- # After:
423
- namespace :admin do
424
- get "dashboard/index"
425
- end
426
-
427
- *Prathamesh Sonpatki*
428
-
429
- * Fix the event name of action_dispatch requests.
430
-
431
- *Rafael Mendonça França*
432
-
433
- * Make `config.log_level` work with custom loggers.
434
-
435
- *Max Shytikov*
436
-
437
- * Changed stylesheet load order in the stylesheet manifest generator.
438
- Fixes #11639.
439
-
440
- *Pawel Janiak*
441
-
442
- * Added generated unit test for generator generator using new
443
- `test:generators` rake task.
444
-
445
- *Josef Šimánek*
446
-
447
- * Removed `update:application_controller` rake task.
448
-
449
- *Josef Šimánek*
450
-
451
- * Fix `rake environment` to do not eager load modules
452
-
453
- *Paul Nikitochkin*
454
-
455
- * Fix `rake notes` to look into `*.sass` files
456
-
457
- *Yuri Artemev*
458
-
459
- * Removed deprecated `Rails.application.railties.engines`.
460
-
461
- *Arun Agrawal*
462
-
463
- * Removed deprecated threadsafe! from Rails Config.
464
-
465
- *Paul Nikitochkin*
466
-
467
- * Remove deprecated `ActiveRecord::Generators::ActiveModel#update_attributes` in
468
- favor of `ActiveRecord::Generators::ActiveModel#update`.
469
-
470
- *Vipul A M*
471
-
472
- * Remove deprecated `config.whiny_nils` option.
473
-
474
- *Vipul A M*
475
-
476
- * Rename `commands/plugin_new.rb` to `commands/plugin.rb` and fix references
477
-
478
- *Richard Schneeman*
479
-
480
- * Fix `rails plugin --help` command.
481
-
482
- *Richard Schneeman*
483
-
484
- * Omit turbolinks configuration completely on skip_javascript generator option.
485
-
486
- *Nikita Fedyashev*
487
-
488
- * Removed deprecated rake tasks for running tests: `rake test:uncommitted` and
489
- `rake test:recent`.
490
-
491
- *John Wang*
492
-
493
- * Clearing autoloaded constants triggers routes reloading.
494
- Fixes #10685.
495
-
496
- *Xavier Noria*
497
-
498
- * Fixes bug with scaffold generator with `--assets=false --resource-route=false`.
499
- Fixes #9525.
500
-
501
- *Arun Agrawal*
502
-
503
- * Rails::Railtie no longer forces the Rails::Configurable module on everything
504
- that subclasses it. Instead, the methods from Rails::Configurable have been
505
- moved to class methods in Railtie and the Railtie has been made abstract.
145
+ * Avoid namespacing routes inside engines.
506
146
 
507
- *John Wang*
147
+ Mountable engines are namespaced by default so the generated routes
148
+ were too while they should not.
508
149
 
509
- * Changes repetitive th tags to use colspan attribute in `index.html.erb` template.
150
+ Fixes #14079.
510
151
 
511
- *Sıtkı Bağdat*
152
+ *Yves Senn*, *Carlos Antonio da Silva*, *Robin Dupret*
512
153
 
513
- Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/railties/CHANGELOG.md) for previous changes.
154
+ Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/railties/CHANGELOG.md) for previous changes.