Skip to content
This repository
Newer
Older
100644 558 lines (357 sloc) 22.49 kb
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
1 ## Rails 4.0.0 (unreleased) ##
e2cc6538 »
2012-01-19 Do not deprecate performed.
2
bb0f4a12 »
2012-09-30 prefix TemplateAssertions ivars (#7459)
3 * Rename internal variables on ActionController::TemplateAssertions to prevent
4 naming collisions. @partials, @templates and @layouts are now prefixed with an underscore.
5 Fix #7459
6
7 *Yves Senn*
8
b30ce037 »
2012-09-29 resource and resources do no longer modify passed options
9 * `resource` and `resources` don't modify the passed options hash
10 Fix #7777
11
12 *Yves Senn*
13
a6cfd338 »
2012-09-30 Add a changelog entry for asset aliasing update in sprockets-rails. S…
14 * Precompiled assets include aliases from foo.js to foo/index.js and vice versa.
15
16 # Precompiles phone-<digest>.css and aliases phone/index.css to phone.css.
17 config.assets.precompile = [ 'phone.css' ]
18
19 # Precompiles phone/index-<digest>.css and aliases phone.css to phone/index.css.
20 config.assets.precompile = [ 'phone/index.css' ]
21
22 # Both of these work with either precompile thanks to their aliases.
23 <%= stylesheet_link_tag 'phone', media: 'all' %>
24 <%= stylesheet_link_tag 'phone/index', media: 'all' %>
25
26 *Jeremy Kemper*
27
623f2fbb »
2012-09-30 Whitespaces :scissors: [ci skip]
28 * `assert_template` is no more passing with what ever string that matches
29 with the template name.
19dff78d »
2012-04-07 `assert_template` no more passing with what ever string that matches.
30
623f2fbb »
2012-09-30 Whitespaces :scissors: [ci skip]
31 Before when we have a template `/layout/hello.html.erb`, `assert_template`
32 was passing with any string that matches. This behavior allowed false
33 positive like:
19dff78d »
2012-04-07 `assert_template` no more passing with what ever string that matches.
34
623f2fbb »
2012-09-30 Whitespaces :scissors: [ci skip]
35 assert_template "layout"
36 assert_template "out/hello"
19dff78d »
2012-04-07 `assert_template` no more passing with what ever string that matches.
37
623f2fbb »
2012-09-30 Whitespaces :scissors: [ci skip]
38 Now it only passes with:
19dff78d »
2012-04-07 `assert_template` no more passing with what ever string that matches.
39
623f2fbb »
2012-09-30 Whitespaces :scissors: [ci skip]
40 assert_template "layout/hello"
41 assert_template "hello"
42
43 Fixes #3849.
19dff78d »
2012-04-07 `assert_template` no more passing with what ever string that matches.
44
623f2fbb »
2012-09-30 Whitespaces :scissors: [ci skip]
45 *Hugolnx*
19dff78d »
2012-04-07 `assert_template` no more passing with what ever string that matches.
46
2b9bce88 »
2012-09-25 allow to pass numerical value to size option in image_tag
47 * `image_tag` will set the same width and height for image if numerical value
48 passed to `size` option.
49
50 *Nihad Abbasov*
51
9e2948e7 »
2012-09-22 depreacte unused Mime::Type#verify_request? and Mime::Type.browser_ge…
52 * Deprecate Mime::Type#verify_request? and Mime::Type.browser_generated_types,
53 since they are no longer used inside of Rails, they will be removed in Rails 4.1
54
55 *Michael Grosser*
56
512eb971 »
2012-09-22 Put the new CHANGELOG entries always in the top [ci skip]
57 * `ActionDispatch::Http::UploadedFile` now delegates `close` to its tempfile. *Sergio Gil*
58
1f4c89fb »
2012-09-19 Update changelogs to add entries about strong_parameters integration
59 * Add `ActionController::StrongParameters`, this module converts `params` hash into
512eb971 »
2012-09-22 Put the new CHANGELOG entries always in the top [ci skip]
60 an instance of ActionController::Parameters that allows whitelisting of permitted
1f4c89fb »
2012-09-19 Update changelogs to add entries about strong_parameters integration
61 parameters. Non-permitted parameters are forbidden to be used in Active Model by default
512eb971 »
2012-09-22 Put the new CHANGELOG entries always in the top [ci skip]
62 For more details check the documentation of the module or the
1f4c89fb »
2012-09-19 Update changelogs to add entries about strong_parameters integration
63 [strong_parameters gem](https://github.com/rails/strong_parameters)
64
65 *DHH + Guillermo Iguaran*
66
67 * Remove Integration between `attr_accessible`/`attr_protected` and
512eb971 »
2012-09-22 Put the new CHANGELOG entries always in the top [ci skip]
68 `ActionController::ParamsWrapper`. ParamWrapper now wraps all the parameters returned
1f4c89fb »
2012-09-19 Update changelogs to add entries about strong_parameters integration
69 by the class method attribute_names
70
71 *Guillermo Iguaran*
72
370dcd99 »
2012-09-16 log 404 status when ActiveRecord::RecordNotFound was raised (#7646)
73 * Fix #7646, the log now displays the correct status code when an exception is raised.
74
75 *Yves Senn*
76
512eb971 »
2012-09-22 Put the new CHANGELOG entries always in the top [ci skip]
77 * Allow pass couple extensions to `ActionView::Template.register_template_handler` call.
78
79 *Tima Maslyuchenko*
13b0af73 »
2012-09-14 allowing pass couple extension to register_template_handler call
80
641ea692 »
2012-09-17 Removing to_shorthand from default_controller_and_action. Fixes #6497
81 * Fixed a bug with shorthand routes scoped with the `:module` option not
82 adding the module to the controller as described in issue #6497.
83 This should now work properly:
84
85 scope :module => "engine" do
86 get "api/version" # routes to engine/api#version
87 end
512eb971 »
2012-09-22 Put the new CHANGELOG entries always in the top [ci skip]
88
641ea692 »
2012-09-17 Removing to_shorthand from default_controller_and_action. Fixes #6497
89 *Luiz Felipe Garcia Pereira*
90
59b8b82e »
2012-09-30 Fix changelog entry about sprockets-rails
91 * Sprockets integration has been extracted from Action Pack to the `sprockets-rails`
92 gem. `rails` gem is depending on `sprockets-rails` by default.
0654f76a »
2012-09-11 Add missing entries in AP changelog
93
94 *Guillermo Iguaran*
95
dadfa9ab »
2012-09-17 cleanup, remove whitespace from CHANGELOG
96 * `ActionDispatch::Session::MemCacheStore` now uses `dalli` instead of the deprecated
97 `memcache-client` gem. As side effect the autoloading of unloaded classes objects
98 saved as values in session isn't supported anymore when mem_cache session store is
99 used, this can have an impact in apps only when config.cache_classes is false.
0654f76a »
2012-09-11 Add missing entries in AP changelog
100
101 *Arun Agrawal + Guillermo Iguaran*
102
cd461c3e »
2011-08-13 Support for multiple etags in an If-None-Match header
103 * Support multiple etags in If-None-Match header. *Travis Warlick*
104
23851290 »
2012-09-14 update CHANGELOG
105 * Allow to configure how unverified request will be handled using `:with`
106 option in `protect_from_forgery` method.
107
108 Valid unverified request handling methods are:
109
110 - `:exception` - Raises ActionController::InvalidAuthenticityToken exception.
111 - `:reset_session` - Resets the session.
112 - `:null_session` - Provides an empty session during request but doesn't
113 reset it completely. Used as default if `:with` option is not specified.
114
115 New applications are generated with:
116
117 protect_from_forgery :with => :exception
118
119 *Sergey Nartimov*
120
de1060f4 »
2012-09-17 Rename .rb template handler to .ruby to avoid conflicts with mustache…
121 * Add .ruby template handler, this handler simply allows arbitrary Ruby code as a template. *Guillermo Iguaran*
ab7ae689 »
2012-09-11 Add .rb template handler
122
aaa33e6f »
2012-09-08 Improve latest AR and AP changelog entries
123 * Add `separator` option for `ActionView::Helpers::TextHelper#excerpt`:
124
125 excerpt('This is a very beautiful morning', 'very', :separator => ' ', :radius => 1)
126 # => ...a very beautiful...
127
128 *Guirec Corbel*
963c50ec »
2012-07-28 Add a separation option for the excerpt function
129
ed5c938f »
2012-08-29 Added controller-level etag additions that will be part of the action…
130 * Added controller-level etag additions that will be part of the action etag computation *Jeremy Kemper/DHH*
131
ee2da014 »
2012-08-29 Fix Markdown rendering of 'controller-level etag additions' feature
132 class InvoicesController < ApplicationController
133 etag { current_user.try :id }
134
135 def show
136 # Etag will differ even for the same invoice when it's viewed by a different current_user
137 @invoice = Invoice.find(params[:id])
138 fresh_when(@invoice)
139 end
ed5c938f »
2012-08-29 Added controller-level etag additions that will be part of the action…
140 end
141
0409c69f »
2012-09-25 some copy-editing I did in passing
142 * Add automatic template digests to all `CacheHelper#cache` calls (originally spiked in the cache_digests plugin) *DHH*
502d5e24 »
2012-08-29 Add automatic template digests to all CacheHelper#cache calls (origin…
143
0b6175ac »
2012-08-01 Add Missing Keys from Journey on failed URL format
144 * When building a URL fails, add missing keys provided by Journey. Failed URL
145 generation now returns a 500 status instead of a 404.
146
147 *Richard Schneeman*
148
0409c69f »
2012-09-25 some copy-editing I did in passing
149 * Deprecate availbility of `ActionView::RecordIdentifier` in controllers by default.
daa0ed3a »
2012-08-25 Update AP's CHANGELOG with user facing changes
150 It's view specific and can be easily included in controller manually if someone
0409c69f »
2012-09-25 some copy-editing I did in passing
151 really needs it. RecordIdentifier will be removed from `ActionController::Base`
152 in Rails 4.1. *Piotr Sarnacki*
daa0ed3a »
2012-08-25 Update AP's CHANGELOG with user facing changes
153
0409c69f »
2012-09-25 some copy-editing I did in passing
154 * Fix `ActionView::RecordIdentifier` to work as a singleton. *Piotr Sarnacki*
daa0ed3a »
2012-08-25 Update AP's CHANGELOG with user facing changes
155
0409c69f »
2012-09-25 some copy-editing I did in passing
156 * Deprecate `Template#mime_type`, it will be removed in Rails 4.1 in favor of `#type`.
daa0ed3a »
2012-08-25 Update AP's CHANGELOG with user facing changes
157 *Piotr Sarnacki*
158
0409c69f »
2012-09-25 some copy-editing I did in passing
159 * Move vendored html-scanner from `action_controller` to `action_view` directory. If you
daa0ed3a »
2012-08-25 Update AP's CHANGELOG with user facing changes
160 require it directly, please use 'action_view/vendor/html-scanner', reference to
0409c69f »
2012-09-25 some copy-editing I did in passing
161 'action_controller/vendor/html-scanner' will be removed in Rails 4.1. *Piot Sarnacki*
daa0ed3a »
2012-08-25 Update AP's CHANGELOG with user facing changes
162
130fe2b1 »
2012-08-23 correct handling of date selects when using both disabled and discard…
163 * Fix handling of date selects when using both disabled and discard options.
164 Fixes #7431.
165
166 *Vasiliy Ermolovich*
167
0ffe1905 »
2012-08-15 Extract ActiveRecord::SessionStore from Rails
168 * `ActiveRecord::SessionStore` is extracted out of Rails into a gem `activerecord-session_store`.
169 Setting `config.session_store` to `:active_record_store` will no longer work and will break
170 if the `activerecord-session_store` gem isn't available. *Prem Sichanugrist*
171
0409c69f »
2012-09-25 some copy-editing I did in passing
172 * Fix `select_tag` when `option_tags` is nil.
684a0404 »
2012-08-21 Add CHANGELOG entry for #7410
173 Fixes #7404.
174
175 *Sandeep Ravichandran*
176
0409c69f »
2012-09-25 some copy-editing I did in passing
177 * Add `Request#formats=(extensions)` that lets you set multiple formats directly in a prioritized order.
0d0d4622 »
2012-08-14 Add Request#formats=(extensions) that lets you set multiple formats d…
178
179 Example of using this for custom iphone views with an HTML fallback:
180
ed491ae3 »
2012-08-17 Fix slightly broken Markdown syntax in actionpack/CHANGELOG.md
181 class ApplicationController < ActionController::Base
182 before_filter :adjust_format_for_iphone_with_html_fallback
183
184 private
185 def adjust_format_for_iphone_with_html_fallback
186 request.formats = [ :iphone, :html ] if request.env["HTTP_USER_AGENT"][/iPhone/]
187 end
188 end
0d0d4622 »
2012-08-14 Add Request#formats=(extensions) that lets you set multiple formats d…
189
0409c69f »
2012-09-25 some copy-editing I did in passing
190 *DHH*
0d0d4622 »
2012-08-14 Add Request#formats=(extensions) that lets you set multiple formats d…
191
0bd7b07d »
2012-08-10 Add CHANGELOG entry and documentation for Routing Concerns
192 * Add Routing Concerns to declare common routes that can be reused inside
193 others resources and routes.
194
195 Code before:
196
197 resources :messages do
198 resources :comments
199 end
200
201 resources :posts do
202 resources :comments
203 resources :images, only: :index
204 end
205
206 Code after:
207
208 concern :commentable do
209 resources :comments
210 end
211
212 concern :image_attachable do
213 resources :images, only: :index
214 end
215
216 resources :messages, concerns: :commentable
217
218 resources :posts, concerns: [:commentable, :image_attachable]
219
0d0d4622 »
2012-08-14 Add Request#formats=(extensions) that lets you set multiple formats d…
220 *DHH + Rafael Mendonça França*
0bd7b07d »
2012-08-10 Add CHANGELOG entry and documentation for Routing Concerns
221
0409c69f »
2012-09-25 some copy-editing I did in passing
222 * Add `start_hour` and `end_hour` options to the `select_hour` helper. *Evan Tann*
1edc7cd7 »
2012-08-12 Add support for start_hour and end_hour options in select_hour helper
223
0409c69f »
2012-09-25 some copy-editing I did in passing
224 * Raises an `ArgumentError` when the first argument in `form_for` contain `nil`
347f8c53 »
2012-08-11 Add CHANGELOG entry for #7314
225 or is empty.
226
227 *Richard Schneeman*
228
4848bf32 »
2012-08-18 Added X-Content-Type-Options to the header defaults.
229 * Add 'X-Frame-Options' => 'SAMEORIGIN'
230 'X-XSS-Protection' => '1; mode=block' and
231 'X-Content-Type-Options' => 'nosniff'
0b11dbe2 »
2012-08-10 Add 'X-Frame-Options' => 'SAMEORIGIN' and 'X-XSS-Protection' => '1; m…
232 as default headers.
233
234 *Egor Homakov*
235
b540f4c1 »
2012-08-08 Allow data attributes to be set as a first-level option for form_for,…
236 * Allow data attributes to be set as a first-level option for form_for, so you can write `form_for @record, data: { behavior: 'autosave' }` instead of `form_for @record, html: { data: { behavior: 'autosave' } }` *DHH*
237
5d152874 »
2012-08-07 Deprecate `button_to_function` and `link_to_function` helpers.
238 * Deprecate `button_to_function` and `link_to_function` helpers.
239
240 We recommend the use of Unobtrusive JavaScript instead. For example:
241
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
242 link_to "Greeting", "#", :class => "nav_link"
5d152874 »
2012-08-07 Deprecate `button_to_function` and `link_to_function` helpers.
243
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
244 $(function() {
245 $('.nav_link').click(function() {
246 // Some complex code
5d152874 »
2012-08-07 Deprecate `button_to_function` and `link_to_function` helpers.
247
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
248 return false;
249 });
5d152874 »
2012-08-07 Deprecate `button_to_function` and `link_to_function` helpers.
250 });
251
252 or
253
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
254 link_to "Greeting", '#', onclick: "alert('Hello world!'); return false", class: "nav_link"
5d152874 »
2012-08-07 Deprecate `button_to_function` and `link_to_function` helpers.
255
256 for simple cases.
257
258 *Rafael Mendonça França*
259
02c9654b »
2012-08-06 Do not include application.js if it doesn't exists
260 * `javascript_include_tag :all` will now not include `application.js` if the file does not exists. *Prem Sichanugrist*
261
39f4f289 »
2012-08-05 Add CHANGELOG entry for 3c731a4
262 * Send an empty response body when call `head` with status between 100 and 199, 204, 205 or 304.
263
264 *Armand du Plessis*
265
0409c69f »
2012-09-25 some copy-editing I did in passing
266 * Fixed issue with where digest authentication would not work behind a proxy. *Arthur Smith*
6beaafd0 »
2012-08-02 Changelog entry for Digest Auth fix (#2301)
267
9bcd018b »
2012-09-25 gives credit to Aaron in the CHANGELOG entry for AC::Live
268 * Added `ActionController::Live`. Mix it in to your controller and you can
0899be57 »
2012-07-29 updated changelog
269 stream data to the client live. For example:
270
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
271 class FooController < ActionController::Base
272 include ActionController::Live
0899be57 »
2012-07-29 updated changelog
273
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
274 def index
275 100.times {
276 # Client will see this as it's written
277 response.stream.write "hello world\n"
278 sleep 1
279 }
280 response.stream.close
281 end
0899be57 »
2012-07-29 updated changelog
282 end
283
9bcd018b »
2012-09-25 gives credit to Aaron in the CHANGELOG entry for AC::Live
284 *Aaron Patterson*
285
286 * Remove `ActionDispatch::Head` middleware in favor of `Rack::Head`. *Santiago Pastorino*
14a1df14 »
2012-07-23 Add CHANGELOG entry
287
9345a116 »
2012-07-21 Add back `:confirm` and change deprecation horizon to 4.1
288 * Deprecate `:confirm` in favor of `:data => { :confirm => "Text" }` option for `button_to`, `button_tag`, `image_submit_tag`, `link_to` and `submit_tag` helpers.
fb8a830a »
2012-06-01 Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` option
289
9345a116 »
2012-07-21 Add back `:confirm` and change deprecation horizon to 4.1
290 *Carlos Galdino + Rafael Mendonça França*
fb8a830a »
2012-06-01 Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` option
291
3bbc2fb9 »
2012-07-08 Improve and fix AP changelog, sync release notes [ci skip]
292 * Show routes in exception page while debugging a `RoutingError` in development. *Richard Schneeman and Mattt Thompson*
bbfd29a6 »
2012-07-07 show routes while debugging added to changelog
293
238a4253 »
2012-07-07 Added support add_flash_types
294 * Add `ActionController::Flash.add_flash_types` method to allow people to register their own flash types. e.g.:
295
296 class ApplicationController
297 add_flash_types :error, :warning
298 end
299
3bbc2fb9 »
2012-07-08 Improve and fix AP changelog, sync release notes [ci skip]
300 If you add the above code, you can use `<%= error %>` in an erb, and `redirect_to /foo, :error => 'message'` in a controller.
238a4253 »
2012-07-07 Added support add_flash_types
301
302 *kennyj*
303
ab72040b »
2012-06-30 Update AR and AP changelogs [ci skip]
304 * Remove Active Model dependency from Action Pack. *Guillermo Iguaran*
305
c42a7a00 »
2012-06-06 Support unicode character route in config/routes.rb.
306 * Support unicode characters in routes. Route will be automatically escaped, so instead of manually escaping:
307
308 get Rack::Utils.escape('こんにちは') => 'home#index'
309
310 You just have to write the unicode route:
311
312 get 'こんにちは' => 'home#index'
313
314 *kennyj*
315
bd8c0b8a »
2012-06-11 Return proper format on exceptions
316 * Return proper format on exceptions. *Santiago Pastorino*
317
215d41d8 »
2012-07-01 Update 4.0 Release Notes with changelogs [ci skip]
318 * Allow to use `mounted_helpers` (helpers for accessing mounted engines) in `ActionView::TestCase`. *Piotr Sarnacki*
60b4290f »
2012-06-01 Allow to use mounted helpers in ActionView::TestCase
319
215d41d8 »
2012-07-01 Update 4.0 Release Notes with changelogs [ci skip]
320 * Include `mounted_helpers` (helpers for accessing mounted engines) in `ActionDispatch::IntegrationTest` by default. *Piotr Sarnacki*
65250022 »
2012-06-01 Include routes.mounted_helpers into integration tests
321
47918223 »
2012-05-31 Extracted redirect logic from ActionController::Force::ClassMethods.f…
322 * Extracted redirect logic from `ActionController::ForceSSL::ClassMethods.force_ssl` into `ActionController::ForceSSL#force_ssl_redirect`
323
324 *Jeremy Friesen*
325
0409c69f »
2012-09-25 some copy-editing I did in passing
326 * Make possible to use a block in `button_to` if the button text is hard
ab7a80ea »
2012-05-30 accept a block in button_to helper
327 to fit into the name parameter, e.g.:
328
329 <%= button_to [:make_happy, @user] do %>
330 Make happy <strong><%= @user.name %></strong>
331 <% end %>
332 # => "<form method="post" action="/users/1/make_happy" class="button_to">
333 # <div>
334 # <button type="submit">
335 # Make happy <strong>Name</strong>
336 # </button>
337 # </div>
338 # </form>"
339
340 *Sergey Nartimov*
341
e4aaac13 »
2012-05-27 Fix sorting of helpers from different paths
342 * change a way of ordering helpers from several directories. Previously,
343 when loading helpers from multiple paths, all of the helpers files were
344 gathered into one array an then they were sorted. Helpers from different
345 directories should not be mixed before loading them to make loading more
346 predictable. The most common use case for such behavior is loading helpers
347 from engines. When you load helpers from application and engine Foo, in
348 that order, first rails will load all of the helpers from application,
349 sorted alphabetically and then it will do the same for Foo engine.
350
351 *Piotr Sarnacki*
352
215d41d8 »
2012-07-01 Update 4.0 Release Notes with changelogs [ci skip]
353 * `truncate` now always returns an escaped HTML-safe string. The option `:escape` can be used as
2c2b0bea »
2012-05-26 Add `:escape` option for `truncate`
354 false to not escape the result.
355
356 *Li Ellis Gallardo + Rafael Mendonça França*
357
eedc5135 »
2012-05-26 Update the documentation and add CHANGELOG entry
358 * `truncate` now accepts a block to show extra content when the text is truncated. *Li Ellis Gallardo*
359
b02d14aa »
2012-05-16 Add several HTML5 input helpers
360 * Add `week_field`, `week_field_tag`, `month_field`, `month_field_tag`, `datetime_local_field`,
361 `datetime_local_field_tag`, `datetime_field` and `datetime_field_tag` helpers. *Carlos Galdino*
362
1ce4b5b3 »
2012-05-16 Add HTML5 input[type="color"] helper
363 * Add `color_field` and `color_field_tag` helpers. *Carlos Galdino*
364
a78ee05d »
2012-05-20 Fix CHANGELOG order and add a brief description of the changes in the
365 * `assert_generates`, `assert_recognizes`, and `assert_routing` all raise
366 `Assertion` instead of `RoutingError` *David Chelimsky*
367
3fc561a1 »
2012-05-20 Return 400 Bad Request for URL paths with invalid encoding.
368 * URL path parameters with invalid encoding now raise ActionController::BadRequest. *Andrew White*
369
66eb3f02 »
2012-05-20 Raise ActionController::BadRequest for malformed parameter hashes.
370 * Malformed query and request parameter hashes now raise ActionController::BadRequest. *Andrew White*
371
0e207a49 »
2012-05-19 Clarify grouped_options_for_select method API, add changelog entry
372 * Add `divider` option to `grouped_options_for_select` to generate a separator
373 `optgroup` automatically, and deprecate `prompt` as third argument, in favor
374 of using an options hash. *Nicholas Greenfield*
375
446940c3 »
2012-04-03 Add HTML5 input[type="time"] helper
376 * Add `time_field` and `time_field_tag` helpers which render an `input[type="time"]` tag. *Alex Soulim*
377
90ec863b »
2012-05-17 Removed old text_helper apis for highlight, excerpt and word_wrap
378 * Removed old text_helper apis for highlight, excerpt and word_wrap *Jeremy Walker*
379
de29c308 »
2012-05-17 Update actionpack/CHANGELOG.md
380 * Templates without a handler extension now raises a deprecation warning but still
381 defaults to ERb. In future releases, it will simply return the template contents. *Steve Klabnik*
382
0106e5fe »
2012-07-21 Add back `:disable_with` and change deprecation horizon to 4.1
383 * Deprecate `:disable_with` in favor of `:data => { :disable_with => "Text" }` option from `submit_tag`, `button_tag` and `button_to` helpers.
dd42e890 »
2012-05-15 Revert "Revert "Remove `:disable_with` in favor of `'data-disable-wit…
384
385 *Carlos Galdino + Rafael Mendonça França*
386
71931e2e »
2012-05-13 Remove `:mouseover` option from `image_tag` helper.
387 * Remove `:mouseover` option from `image_tag` helper. *Rafael Mendonça França*
388
389 * The `select` method (select tag) forces :include_blank if `required` is true and
2e9c7cd5 »
2012-05-13 Changed the changelog and documentation about
390 `display size` is one and `multiple` is not true. *Angelo Capilleri*
391
9b4514c3 »
2012-05-11 Copy literal route constraints to defaults - fixes #3571 and #6224.
392 * Copy literal route constraints to defaults so that url generation know about them.
393 The copied constraints are `:protocol`, `:subdomain`, `:domain`, `:host` and `:port`.
394
395 *Andrew White*
396
c02846ff »
2012-05-06 Update actionpack/CHANGELOG.md
397 * `respond_to` and `respond_with` now raise ActionController::UnknownFormat instead
398 of directly returning head 406. The exception is rescued and converted to 406
399 in the exception handling middleware. *Steven Soroka*
400
a544e006 »
2012-05-03 Allows assert_redirected_to to accept a regular expression
401 * Allows `assert_redirected_to` to match against a regular expression. *Andy Lindeman*
402
36720af4 »
2012-05-02 Add CHANGELOG entry
403 * Add backtrace to development routing error page. *Richard Schneeman*
404
4a2d53a5 »
2012-04-30 Replace boolean argument with an options hash.
405 * Replace `include_seconds` boolean argument with `:include_seconds => true` option
406 in `distance_of_time_in_words` and `time_ago_in_words` signature. *Dmitriy Kiriyenko*
407
ab318d28 »
2012-04-26 Add changelog entry and some docs for collection + layout
408 * Make current object and counter (when it applies) variables accessible when
409 rendering templates with :object / :collection. *Carlos Antonio da Silva*
410
cf1f6708 »
2012-09-21 Fix MIME type in CHANGELOG
411 * JSONP now uses mimetype text/javascript instead of application/json. *omjokine*
65df4c53 »
2012-04-29 Add changelog entry for jsonp mimetype change, fix failing test
412
e6ab0d56 »
2012-04-07 Lazy load `default_form_builder` if it's passed as a string
413 * Allow to lazy load `default_form_builder` by passing a `String` instead of a constant. *Piotr Sarnacki*
414
5c18bdca »
2012-04-28 Merge session arg with existing session instead of overwriting
415 * Session arguments passed to `process` calls in functional tests are now merged into
416 the existing session, whereas previously they would replace the existing session.
417 This change may break some existing tests if they are asserting the exact contents of
418 the session but should not break existing tests that only assert individual keys.
419
420 *Andrew White*
421
47cbfbb9 »
2012-04-05 Add index method to FormBuilder. Useful when you use field_for and ne…
422 * Add `index` method to FormBuilder class. *Jorge Bejar*
423
1141f716 »
2012-03-30 Remove the leading \n added by textarea on assert_select
424 * Remove the leading \n added by textarea on assert_select. *Santiago Pastorino*
425
128cfbdf »
2012-03-28 config.action_view.embed_authenticity_token_in_remote_forms is true b…
426 * Changed default value for `config.action_view.embed_authenticity_token_in_remote_forms`
427 to `false`. This change breaks remote forms that need to work also without javascript,
428 so if you need such behavior, you can either set it to `true` or explicitly pass
429 `:authenticity_token => true` in form options
430
da5a47e7 »
2012-03-17 Update the guides and CHANGELOG
431 * Added ActionDispatch::SSL middleware that when included force all the requests to be under HTTPS protocol. *Rafael Mendonça França*
432
2731ffae »
2012-03-13 fix typo in AP CHANGELOG [ci skip]
433 * Add `include_hidden` option to select tag. With `:include_hidden => false` select with `multiple` attribute doesn't generate hidden input with blank value. *Vasiliy Ermolovich*
54a75e1a »
2012-03-13 add 'include_hidden' option to select tag, closes #5402
434
f12f071e »
2012-03-12 Documented the removal of size from text_field based helpers and cols…
435 * Removed default `size` option from the `text_field`, `search_field`, `telephone_field`, `url_field`, `email_field` helpers. *Philip Arndt*
436
437 * Removed default `cols` and `rows` options from the `text_area` helper. *Philip Arndt*
438
d8047906 »
2012-03-09 Fix my name in the CHANGELOG to follow the convention
439 * Adds support for layouts when rendering a partial with a given collection. *serabe*
6e0a763d »
2012-03-07 Adds line to change log and update documentation.
440
d8047906 »
2012-03-09 Fix my name in the CHANGELOG to follow the convention
441 * Allows the route helper `root` to take a string argument. For example, `root 'pages#main'`. *bcardarella*
cf75417f »
2012-03-05 document the shortcut to the root route helper [ci skip]
442
d8047906 »
2012-03-09 Fix my name in the CHANGELOG to follow the convention
443 * Forms of persisted records use always PATCH (via the `_method` hack). *fxn*
b7a09453 »
2012-02-24 uses PATCH for the forms of persisted records, and routes PATCH and P…
444
d8047906 »
2012-03-09 Fix my name in the CHANGELOG to follow the convention
445 * For resources, both PATCH and PUT are routed to the `update` action. *fxn*
b7a09453 »
2012-02-24 uses PATCH for the forms of persisted records, and routes PATCH and P…
446
c04a0847 »
2012-02-23 Update documentation for force_ssl - closes #5023.
447 * Don't ignore `force_ssl` in development. This is a change of behavior - use a `:if` condition to recreate the old behavior.
448
449 class AccountsController < ApplicationController
450 force_ssl :if => :ssl_configured?
451
452 def ssl_configured?
453 !Rails.env.development?
454 end
455 end
456
457 *Pat Allan*
458
5497432d »
2012-02-22 updates CHANGELOGs to register changes in 002713c
459 * Adds support for the PATCH verb:
460 * Request objects respond to `patch?`.
461 * Routes have a new `patch` method, and understand `:patch` in the
462 existing places where a verb is configured, like `:via`.
463 * New method `patch` available in functional tests.
464 * If `:patch` is the default verb for updates, edits are
465 tunneled as PATCH rather than as PUT, and routing acts accordingly.
466 * New method `patch_via_redirect` available in integration tests.
467
468 *dlee*
469
ad46884a »
2012-02-19 Integration tests support the OPTIONS http method
470 * Integration tests support the `OPTIONS` method. *Jeremy Kemper*
471
ce51edb7 »
2012-02-17 let expires_in accept a must_revalidate flag
472 * `expires_in` accepts a `must_revalidate` flag. If true, "must-revalidate"
473 is added to the Cache-Control header. *fxn*
474
d6b26a60 »
2012-02-12 Add HTML5 input[type="date"] helper
475 * Add `date_field` and `date_field_tag` helpers which render an `input[type="date"]` tag *Olek Janiszewski*
476
bcd3b870 »
2012-02-03 Add *_url helpers to get the full assets URL
477 * Adds `image_url`, `javascript_url`, `stylesheet_url`, `audio_url`, `video_url`, and `font_url`
478 to assets tag helper. These URL helpers will return the full path to your assets. This is useful
479 when you are going to reference this asset from external host. *Prem Sichanugrist*
480
3def1c8e »
2012-02-03 Fix override API response bug in respond_with
481 * Default responder will now always use your overridden block in `respond_with` to render your response. *Prem Sichanugrist*
482
f506c806 »
2012-02-01 Add changelog, docs and guides entries
483 * Allow `value_method` and `text_method` arguments from `collection_select` and
484 `options_from_collection_for_select` to receive an object that responds to `:call`,
485 such as a `proc`, to evaluate the option in the current element context. This works
486 the same way with `collection_radio_buttons` and `collection_check_boxes`.
487
488 *Carlos Antonio da Silva + Rafael Mendonça França*
489
490 * Add `collection_check_boxes` form helper, similar to `collection_select`:
491 Example:
492
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
493 collection_check_boxes :post, :author_ids, Author.all, :id, :name
494 # Outputs something like:
495 <input id="post_author_ids_1" name="post[author_ids][]" type="checkbox" value="1" />
496 <label for="post_author_ids_1">D. Heinemeier Hansson</label>
497 <input id="post_author_ids_2" name="post[author_ids][]" type="checkbox" value="2" />
498 <label for="post_author_ids_2">D. Thomas</label>
499 <input name="post[author_ids][]" type="hidden" value="" />
f506c806 »
2012-02-01 Add changelog, docs and guides entries
500
501 The label/check_box pairs can be customized with a block.
502
503 *Carlos Antonio da Silva + Rafael Mendonça França*
504
505 * Add `collection_radio_buttons` form helper, similar to `collection_select`:
506 Example:
507
8781b266 »
2012-08-11 Sync CHANGELOGs [ci skip]
508 collection_radio_buttons :post, :author_id, Author.all, :id, :name
509 # Outputs something like:
510 <input id="post_author_id_1" name="post[author_id]" type="radio" value="1" />
511 <label for="post_author_id_1">D. Heinemeier Hansson</label>
512 <input id="post_author_id_2" name="post[author_id]" type="radio" value="2" />
513 <label for="post_author_id_2">D. Thomas</label>
f506c806 »
2012-02-01 Add changelog, docs and guides entries
514
515 The label/radio_button pairs can be customized with a block.
516
517 *Carlos Antonio da Silva + Rafael Mendonça França*
518
3d109556 »
2012-02-02 Replicate :form html5 attribute to hidden field for check_box
519 * check_box with `:form` html5 attribute will now replicate the `:form`
520 attribute to the hidden field as well. *Carlos Antonio da Silva*
521
a4c120f1 »
2012-03-14 Do not include the authenticity token in forms where remote: true as …
522 * Turn off verbose mode of rack-cache, we still have X-Rack-Cache to
523 check that info. Closes #5245. *Santiago Pastorino*
524
b03e55d1 »
2012-01-26 Do not generate label for attribute when giving nil
525 * `label` form helper accepts :for => nil to not generate the attribute. *Carlos Antonio da Silva*
526
01b4a7c1 »
2012-01-20 No need to check html_safe? twice
527 * Add `:format` option to number_to_percentage *Rodrigo Flores*
528
0409c69f »
2012-09-25 some copy-editing I did in passing
529 * Add `config.action_view.logger` to configure logger for Action View. *Rafael Mendonça França*
5a6ea535 »
2012-01-18 ActionView now has its own logger
530
0409c69f »
2012-09-25 some copy-editing I did in passing
531 * Deprecated `ActionController::Integration` in favour of `ActionDispatch::Integration`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
532
0409c69f »
2012-09-25 some copy-editing I did in passing
533 * Deprecated `ActionController::IntegrationTest` in favour of `ActionDispatch::IntegrationTest`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
534
0409c69f »
2012-09-25 some copy-editing I did in passing
535 * Deprecated `ActionController::PerformanceTest` in favour of `ActionDispatch::PerformanceTest`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
536
0409c69f »
2012-09-25 some copy-editing I did in passing
537 * Deprecated `ActionController::AbstractRequest` in favour of `ActionDispatch::Request`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
538
0409c69f »
2012-09-25 some copy-editing I did in passing
539 * Deprecated `ActionController::Request` in favour of `ActionDispatch::Request`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
540
0409c69f »
2012-09-25 some copy-editing I did in passing
541 * Deprecated `ActionController::AbstractResponse` in favour of `ActionDispatch::Response`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
542
0409c69f »
2012-09-25 some copy-editing I did in passing
543 * Deprecated `ActionController::Response` in favour of `ActionDispatch::Response`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
544
0409c69f »
2012-09-25 some copy-editing I did in passing
545 * Deprecated `ActionController::Routing` in favour of `ActionDispatch::Routing`.
34ad69a1 »
2012-01-15 changelog entry for deprecated ActionController::Integration, ActionC…
546
0409c69f »
2012-09-25 some copy-editing I did in passing
547 * `check_box helper` with `:disabled => true` will generate a disabled
548 hidden field to conform with the HTML convention where disabled fields are
549 not submitted with the form. This is a behavior change, previously the hidden
550 tag had a value of the disabled checkbox. *Tadas Tamosauskas*
9bd38f31 »
2012-01-05 check_box helper with :disabled => true generates disabled hidden fie…
551
a5976ccc »
2012-01-31 Remove slash from favicon_link_tag method attribute
552 * `favicon_link_tag` helper will now use the favicon in app/assets by default. *Lucas Caton*
553
da5a47e7 »
2012-03-17 Update the guides and CHANGELOG
554 * `ActionView::Helpers::TextHelper#highlight` now defaults to the
555 HTML5 `mark` element. *Brian Cardarella*
e4915e17 »
2012-02-05 Highlight defaults to HTML5 `mark` element
556
810a50da »
2012-08-28 CHANGELOGs are now per branch
557 Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionpack/CHANGELOG.md) for previous changes.
Something went wrong with that request. Please try again.