Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 213 lines (121 sloc) 5.937 kB
3cd0530 @senny Merge pull request #20724 from y-yagi/fix_scaffold_in_full_engine
senny authored
1 * Fix `NoMethodError` when generating a scaffold inside a full engine.
b1738e1 @y-yagi fix NoMethodError that occurs when generating scaffold inside full mo…
y-yagi authored
2
3 *Yuji Yaginuma*
4
e6be33f @5t111111 cherry-pick test and source doc from #20050
5t111111 authored
5 * Adding support for passing a block to the `add_source` action of a custom generator
6
7 *Mike Dalton*, *Hirofumi Wakasugi*
8
e97b8cb @senny Merge pull request #20605 from dcrec1/assert_file
senny authored
9 * `assert_file` understands paths with special characters
10 (eg. `v0.1.4~alpha+nightly`).
11
12 *Diego Carrion*
13
5690358 @tenderlove Remove ContentLength middleware from the defaults.
tenderlove authored
14 * Remove ContentLength middleware from the defaults. If you want it, just
15 add it as a middleware in your config.
16
17 *Egg McMuffin*
18
2e59604 @senny make it possible to customize the executable inside rereun snippets.
senny authored
19 * Make it possible to customize the executable inside rerun snippets.
20
21 *Yves Senn*
22
f3df216 @spastorino Add CHANGELOG entries for API apps functionality
spastorino authored
23 * Add support for API only apps.
24 Middleware stack was slimmed down and it has only the needed
25 middleware for API apps & generators generates the right files,
26 folders and configurations.
27
28 *Santiago Pastorino & Jorge Bejar*
29
939d5a4 @senny Merge pull request #20387 from y-yagi/fix_engine_generated_controller…
senny authored
30 * Make generated scaffold functional tests work inside engines.
31
32 *Yuji Yaginuma*
33
f06ce4c @yoongkang Generate a `.keep` file in `tmp` folder
yoongkang authored
34 * Generator a `.keep` file in the `tmp` folder by default as many scripts
35 assume the existence of this folder and most would fail if it is absent.
36
37 See #20299.
38
39 *Yoong Kang Lim*, *Sunny Juneja*
40
3ff3949 @eliotsykes config.static_index configures directory index "index.html" filename
eliotsykes authored
41 * `config.static_index` configures directory `index.html` filename
42
43 Set `config.static_index` to serve a static directory index file not named
44 `index`. E.g. to serve `main.html` instead of `index.html` for directory
45 requests, set `config.static_index` to `"main"`.
46
47 *Eliot Sykes*
48
a64d47f @senny Merge pull request #20023 from mohnish/patch-1
senny authored
49 * `bin/setup` uses built-in rake tasks (`log:clear`, `tmp:clear`).
50
51 *Mohnish Thallavajhula*
52
350d272 @pixeltrix Fix mailer previews with attachments
pixeltrix authored
53 * Fix mailer previews with attachments by using the mail gem's own API to
54 locate the first part of the correct mime type.
55
56 Fixes #14435.
57
58 *Andrew White*
59
688c0ec @pixeltrix Remove sqlite support from `rails dbconsole`
pixeltrix authored
60 * Remove sqlite support from `rails dbconsole`.
61
62 *Andrew White*
63
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
64 * Rename `railties/bin` to `railties/exe` to match the new Bundler executables
65 convention.
08a3baa @zzak :scissors:
zzak authored
66
4521aad @wazery Rename railties/bin to railties/exe
wazery authored
67 *Islam Wazery*
08a3baa @zzak :scissors:
zzak authored
68
6345f31 @jonatack Fix typos and improve the documentation
jonatack authored
69 * Print `bundle install` output in `rails new` as soon as it's available.
2a5bb9d @mxhold Print `bundle install` output in `rails new` as soon as it's available
mxhold authored
70
71 Running `rails new` will now print the output of `bundle install` as
72 it is available, instead of waiting until all gems finish installing.
73
74 *Max Holder*
75
b2a70e3 @prathamesh-sonpatki Improve CHANGELOG for fix for respecting pluralize_table_names [ci s…
prathamesh-sonpatki authored
76 * Respect `pluralize_table_names` when generating fixture file.
71c7c68 @y-yagi respect `pluralize_table_names` when generate fixture file. fixes #19519
y-yagi authored
77
78 Fixes #19519.
79
80 *Yuji Yaginuma*
81
2f23f97 @arthurnn Add a new-line to the end of route method generated code.
arthurnn authored
82 * Add a new-line to the end of route method generated code.
83
84 We need to add a `\n`, because we cannot have two routes
85 in the same line.
86
87 *arthurnn*
88
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
89 * Add `rake initializers`.
baa9ffb @naoty Add `rake initializer`
naoty authored
90
9e80c29 @chancancode `rake initializer` -> `rake initializers`
chancancode authored
91 This task prints out all defined initializers in the order they are invoked
92 by Rails. This is helpful for debugging issues related to the initialization
93 process.
baa9ffb @naoty Add `rake initializer`
naoty authored
94
95 *Naoto Kaneko*
96
9e80c29 @chancancode `rake initializer` -> `rake initializers`
chancancode authored
97 * Created rake restart task. Restarts your Rails app by touching the
b181297 @hjoo Created rake restart task.
hjoo authored
98 `tmp/restart.txt`.
99
100 Fixes #18876.
101
102 *Hyonjee Joo*
103
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
104 * Add `config/initializers/active_record_belongs_to_required_by_default.rb`.
6576f73 @simi Require `belongs_to` by default.
simi authored
105
106 Newly generated Rails apps have a new initializer called
107 `active_record_belongs_to_required_by_default.rb` which sets the value of
d16fa51 @prathamesh-sonpatki Fix typo in belongs_to_required_by_default config's CHANGELOG entry …
prathamesh-sonpatki authored
108 the configuration option `config.active_record.belongs_to_required_by_default`
6576f73 @simi Require `belongs_to` by default.
simi authored
109 to `true` when ActiveRecord is not skipped.
110
111 As a result, new Rails apps require `belongs_to` association on model
112 to be valid.
113
114 This initializer is *not* added when running `rake rails:update`, so
115 old apps ported to Rails 5 will work without any change.
116
117 *Josef Šimánek*
118
a39498a @tgxworld Allow Rack::Runtime to be deleted from middleware stack.
tgxworld authored
119 * `delete` operations in configurations are run last in order to eliminate
120 'No such middleware' errors when `insert_before` or `insert_after` are added
121 after the `delete` operation for the middleware being deleted.
122
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
123 Fixes #16433.
a39498a @tgxworld Allow Rack::Runtime to be deleted from middleware stack.
tgxworld authored
124
125 *Guo Xiang Tan*
126
89a12c9 @fxn README.rdoc -> README.md for newly generated applications
fxn authored
127 * Newly generated applications get a `README.md` in Markdown.
128
129 *Xavier Noria*
130
cd7cc52 @fxn Remove documentation tasks
fxn authored
131 * Remove the documentation tasks `doc:app`, `doc:rails`, and `doc:guides`.
132
133 *Xavier Noria*
134
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
135 * Force generated routes to be inserted into `config/routes.rb`.
80838d9 @pixeltrix Force generated route to be inserted
pixeltrix authored
136
137 *Andrew White*
138
4e6f005 @senny Merge pull request #19949 from thiagoaugusto/create-thiago-punctuatio…
senny authored
139 * Don't remove all line endings from `config/routes.rb` when revoking scaffold.
1c59ffc @pixeltrix Don't remove all line endings from routes.rb
pixeltrix authored
140
141 Fixes #15913.
142
143 *Andrew White*
144
26b2750 @mrgilman Update option to skip test in generators
mrgilman authored
145 * Rename `--skip-test-unit` option to `--skip-test` in app generator
146
147 *Melanie Gilman*
148
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
149 * Add the `method_source` gem to the default Gemfile for apps.
0b2e052 @sgrif Add the `method_source` gem to the default Gemfile
sgrif authored
150
151 *Sean Griffin*
152
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
153 * Drop old test locations from `rake stats`:
154
700f3b7 @brainopia Drop old test locations from `rake stats`
brainopia authored
155 - test/functional
156 - test/unit
157
158 *Ravil Bayramgalin*
159
3770454 @brainopia Update `rake counts` to count declarative tests in minitest
brainopia authored
160 * Update `rake stats` to correctly count declarative tests
161 as methods in `_test.rb` files.
162
163 *Ravil Bayramgalin*
164
f663132 @rafaelfranca Remove deprecated `test:all` and `test:all:db` tasks
rafaelfranca authored
165 * Remove deprecated `test:all` and `test:all:db` tasks.
166
526e5e8 @rafaelfranca Fix CHANGELOG [ci skip]
rafaelfranca authored
167 *Rafael Mendonça França*
168
c564dcb @rafaelfranca Remove deprecated `Rails::Rack::LogTailer`
rafaelfranca authored
169 * Remove deprecated `Rails::Rack::LogTailer`.
170
171 *Rafael Mendonça França*
172
b7f856c @rafaelfranca Remove deprecated `RAILS_CACHE` constant
rafaelfranca authored
173 * Remove deprecated `RAILS_CACHE` constant.
174
175 *Rafael Mendonça França*
176
463b5d7 @rafaelfranca Remove deprecated `serve_static_assets` configuration
rafaelfranca authored
177 * Remove deprecated `serve_static_assets` configuration.
178
179 *Rafael Mendonça França*
180
6bd8126 @tanraya Use local variables in _form.html.erb generated by scaffold generator.
tanraya authored
181 * Use local variables in `_form.html.erb` partial generated by scaffold.
182
183 *Andrew Kozlov*
184
cdbf685 @senny pass over CHANGELOGs. [ci skip]
senny authored
185 * Add `config/initializers/callback_terminator.rb`.
9c65c53 @claudiob Add config to halt callback chain on return false
claudiob authored
186
187 Newly generated Rails apps have a new initializer called
188 `callback_terminator.rb` which sets the value of the configuration option
189 `config.active_support.halt_callback_chains_on_return_false` to `false`.
190
191 As a result, new Rails apps do not halt callback chains when a callback
192 returns `false`; only when they are explicitly halted with `throw(:abort)`.
193
194 The terminator is *not* added when running `rake rails:update`, so returning
195 `false` will still work on old apps ported to Rails 5, displaying a
196 deprecation warning to prompt users to update their code to the new syntax.
197
198 *claudiob*
199
a699f5d @rafaelfranca Merge pull request #18309 from PaBLoX-CL/fix-fixtures-references
rafaelfranca authored
200 * Generated fixtures won't use the id when generated with references attributes.
201
202 *Pablo Olmos de Aguilera Corradini*
203
b6f50b3 @claudiob Add --skip-action-mailer (or -M) to rails generate
claudiob authored
204 * Add `--skip-action-mailer` option to the app generator.
205
206 *claudiob*
207
4e0ec96 @agrobbin actually autoload all second-level directories called `app/*/concerns`
agrobbin authored
208 * Autoload any second level directories called `app/*/concerns`.
209
210 *Alex Robbin*
211
f25ad07 @rafaelfranca Start Rails 5 development :tada:
rafaelfranca authored
212 Please check [4-2-stable](https://github.com/rails/rails/blob/4-2-stable/railties/CHANGELOG.md) for previous changes.
Something went wrong with that request. Please try again.