aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* Failsafe exception returns text/plain.Steve Klabnik2012-10-011-0/+2
| | | | | | | It's best to just return text/plain when something has gone terribly wrong. Fixes #5660.
* Add the CHANGELOG entry that Guillermo forgot :PSantiago Pastorino2012-10-021-0/+5
|
* prefix TemplateAssertions ivars (#7459)Yves Senn2012-10-011-0/+6
|
* resource and resources do no longer modify passed optionsYves Senn2012-10-011-0/+5
| | | | this is a patch for #7777.
* Add a changelog entry for asset aliasing update in sprockets-rails. Supports ↵Jeremy Kemper2012-09-301-0/+14
| | | | referencing foo.js as foo/index.js and vice versa.
* Fix changelog entry about sprockets-railsGuillermo Iguaran2012-09-301-3/+2
|
* Whitespaces :scissors: [ci skip]Rafael Mendonça França2012-09-301-10/+13
|
* `assert_template` no more passing with what ever string that matches.Hugo Roque2012-09-291-0/+16
| | | | | | | | | | | | | | | | | | | | | | | Given Im rendering an template `/layout/hello.html.erb`, assert_template was passing with any string that matches. This behavior allowed false passing like: assert_template "layout" assert_template "out/hello" Now the passing possibilities are: assert_template "layout/hello" assert_template "hello" fixing assert_template bug when template matches expected, but not ends with Cherry Pick Merge: Fixes issue #3849 assert_template false positive taking redundant test off prevening incorrect assert_template when rendering with repeated names in path updating CHANGELOG with bugfix: assert_template false passing
* allow to pass numerical value to size option in image_tagNihad Abbasov2012-09-251-0/+5
| | | | | This will set image's both width and height attributes to value passed in size option.
* Merge pull request #7738 from grosser/verified_requestRafael Mendonça França2012-09-251-0/+5
|\ | | | | remove unused Mime::Type#verify_request?
| * depreacte unused Mime::Type#verify_request? and ↵grosser2012-09-241-0/+5
| | | | | | | | Mime::Type.browser_generated_types
* | some copy-editing I did in passingXavier Noria2012-09-251-26/+28
| |
* | gives credit to Aaron in the CHANGELOG entry for AC::LiveXavier Noria2012-09-251-2/+4
|/
* Put the new CHANGELOG entries always in the top [ci skip]Rafael Mendonça França2012-09-221-8/+10
|
* Merge pull request #7713 from ↵Xavier Noria2012-09-221-0/+2
|\ | | | | | | | | porras/action-dispatch-upload-delegates-close-to-tempfile Delegate ActionDispatch::Http::UploadedFile#close to tempfile
| * Update CHANGELOG.mdSergio Gil Pérez de la Manga2012-09-211-0/+2
| |
* | Fix MIME type in CHANGELOGJo Liss2012-09-211-1/+1
|/
* Update changelogs to add entries about strong_parameters integrationGuillermo Iguaran2012-09-191-0/+14
|
* Removing to_shorthand from default_controller_and_action. Fixes #6497Luiz Felipe2012-09-191-2/+12
| | | | | When using shortcut routes inside an engine the "to_shorthand" variable is set to true, causing the module scope of the route to not be applied.
* cleanup, remove whitespace from CHANGELOGYves Senn2012-09-171-6/+6
|
* log 404 status when ActiveRecord::RecordNotFound was raised (#7646)Yves Senn2012-09-171-0/+4
|
* Merge pull request #7669 from guilleiguaran/rename-rb-handlerCarlos Antonio da Silva2012-09-171-1/+1
|\ | | | | Rename .rb template handler to .ruby to avoid conflicts with mustache classes
| * Rename .rb template handler to .ruby to avoid conflicts with mustache views ↵Guillermo Iguaran2012-09-171-1/+1
| | | | | | | | classes
* | allowing pass couple extension to register_template_handler callTima Maslyuchenko2012-09-171-0/+2
| |
* | Add missing entries in AP changelogGuillermo Iguaran2012-09-161-0/+13
|/
* Support for multiple etags in an If-None-Match headerTravis Warlick2012-09-151-0/+2
| | | | | | | | This is a rebased version of #2520. Conflicts: actionpack/test/dispatch/request_test.rb
* update CHANGELOGSergey Nartimov2012-09-141-0/+16
| | | | | Add entry about 245941101b1ea00a9b1af613c20b0ee994a43946 and 95be790ece75710f2588558a6d5f40fd09543b97.
* Add .rb template handlerGuillermo Iguaran2012-09-111-0/+2
| | | | This handler simply allows arbitrary Ruby code as a template
* Improve latest AR and AP changelog entriesCarlos Antonio da Silva2012-09-081-1/+6
|
* Add a separation option for the excerpt functionGuirec Corbel2012-09-081-0/+2
| | | | | | | | | | The separation option enable to keep entire words, lines or anything. To split by line, like github, we can set the separation option as \n. To split by word, like google, we can set the separation option as " ". The radius option represent the number of lines or words we want to have in the result. The default behaviour is the same. If we don't set the separation option, it split the text any where.
* Fix Markdown rendering of 'controller-level etag additions' featureAaron Brethorst2012-08-291-8/+8
|
* Added controller-level etag additions that will be part of the action etag ↵David Heinemeier Hansson2012-08-291-0/+12
| | | | computation *Jeremy Kemper/DHH*
* Add automatic template digests to all CacheHelper#cache calls (originally ↵David Heinemeier Hansson2012-08-291-0/+2
| | | | spiked in the cache_digests plugin) *DHH*
* Merge pull request #7230 from schneems/schneems/expose_required_keysAndrew White2012-08-291-0/+5
|\ | | | | Add Missing Keys from Journey on Failed URL Format
| * Add Missing Keys from Journey on failed URL formatschneems2012-08-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many named routes have keys that are required to successfully resolve. If a key is left off like this: <%= link_to 'user', user_path %> This will produce an error like this: No route matches {:action=>"show", :controller=>"users"} Since we know that the :id is missing, we can add extra debugging information to the error message. No route matches {:action=>"show", :controller=>"users"} missing required keys: [:id] This will help new and seasoned developers look closer at their parameters. I've also subclassed the routing error to be clear that this error is a result of attempting to generate a url and not because the user is trying to visit a bad url. While this may sound trivial this error message is misleading and confuses most developers. The important part isn't what's in the options its's what's missing. Adding this information to the error message will make debugging much more obvious. This is the sister pull request of https://github.com/rails/journey/pull/44 which will be required to get they missing keys into the correct error message. Example Development Error in Rails: http://cl.ly/image/3S0T0n1T3421
* | CHANGELOGs are now per branchXavier Noria2012-08-281-6069/+1
|/ | | | | | | | | | Changes in old branches needed to be manually synched in CHANGELOGs of newer ones. This has proven to be brittle, sometimes one just forgets this manual step. With this commit we switch to CHANGELOGs per branch. When a new major version is cut from master, the CHANGELOGs in master start being blank. A link to the CHANGELOG of the previous branch allows anyone interested to follow the history.
* Update AP's CHANGELOG with user facing changesPiotr Sarnacki2012-08-281-0/+14
|
* correct handling of date selects when using both disabled and discard optionsVasiliy Ermolovich2012-08-251-0/+5
| | | | | | | | | | | | we should take disabled option not only from `html_options` hash but from `options` hash too like `build_select` method does it. So datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true }) datetime_select("post", "updated_at", :discard_minute => true , :disabled => true) both these variants work now closes #7431
* Extract ActiveRecord::SessionStore from RailsPrem Sichanugrist2012-08-241-0/+4
| | | | | This functionality will be available from gem `active_record-session_store` instead.
* Add CHANGELOG entry for #7410Rafael Mendonça França2012-08-211-0/+5
|
* Added X-Content-Type-Options to the header defaults.Jim Jones2012-08-181-2/+3
| | | | With a value of "nosniff", this prevents Internet Explorer from MIME-sniffing a response away from the declared content-type.
* Fix slightly broken Markdown syntax in actionpack/CHANGELOG.mdhollowspace2012-08-171-10/+10
|
* Add Request#formats=(extensions) that lets you set multiple formats directly ↵David Heinemeier Hansson2012-08-141-1/+15
| | | | in a prioritized order
* Add CHANGELOG entry and documentation for Routing ConcernsRafael Mendonça França2012-08-131-0/+30
|
* Add support for start_hour and end_hour options in select_hour helperEvan Tann2012-08-131-0/+2
| | | | Updated documentation to demonstrate start_hour and end_hour options
* Sync CHANGELOGs [ci skip]Rafael Mendonça França2012-08-111-30/+91
|
* Add CHANGELOG entry for #7314Rafael Mendonça França2012-08-111-0/+5
|
* Add 'X-Frame-Options' => 'SAMEORIGIN' and 'X-XSS-Protection' => '1; ↵Santiago Pastorino2012-08-101-0/+6
| | | | mode=block' CHANGELOG entry
* Allow data attributes to be set as a first-level option for form_for, so you ↵David Heinemeier Hansson2012-08-081-0/+2
| | | | can write `form_for @record, data: { behavior: 'autosave' }` instead of `form_for @record, html: { data: { behavior: 'autosave' } }` *DHH*
* Deprecate `button_to_function` and `link_to_function` helpers.Rafael Mendonça França2012-08-071-2/+22
| | | | | | | | | | | | | | | | | | | | | | We recommend the use of Unobtrusive JavaScript instead. For example: link_to "Greeting", "#", :class => "nav_link" $(function() { $('.nav_link').click(function() { // Some complex code return false; }); }); or link_to "Greeting", '#', onclick: "alert('Hello world!'); return false", class: "nav_link" for simple cases. This reverts commit 3acdd652e9fe99481c879c84c5807a84eb9ad724.