Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make collection and collection_from_object methods return an array | Santiago Pastorino | 2010-11-13 | 1 | -3/+4 |
| | | | | | | This transforms for instance scoped objects into arrays and avoid unneeded queries [#5958 state:committed] | ||||
* | provide better error message if path is uri [#5914 state:resolved] | Neeraj Singh | 2010-11-11 | 2 | -3/+16 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fields_for should treat ActiveRecord::Relation as an array | Neeraj Singh | 2010-11-11 | 3 | -2/+33 |
| | | | | | | [#5795 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove inline comment. | José Valim | 2010-11-11 | 1 | -17/+17 |
| | |||||
* | Make after_filter halt when before_filter renders or redirects [#5648 ↵ | Marcelo Giorgi | 2010-11-11 | 2 | -2/+81 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix render partial with layout and no block | Carlos Antonio da Silva | 2010-11-11 | 2 | -0/+12 |
| | | | | | | | | When using a render :partial with :layout call, without giving a block, if the given :partial had another render :partial call, the layout was not being rendered. This commit fixes this context by storing variables before rendering the partial, so they are not overrided in any successive call to render partials down the path. All ActionPack tests are ok. | ||||
* | Fix issue with rendering partials and then yielding inside a render layout call | Carlos Antonio da Silva | 2010-11-11 | 5 | -0/+26 |
| | | | | | | | The given block was never being executed when another render :partial call existed before the yield call, due to the block being overriden. This commit also adds some more tests to render with :layout option. | ||||
* | patching to ensure separator is printed with order [#5816 state:resolved] | Aditya Sanghi | 2010-11-11 | 2 | -0/+43 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Allow AR Session Store to be renewed | José Valim | 2010-11-11 | 1 | -0/+20 |
| | |||||
* | syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in master | Xavier Noria | 2010-11-09 | 1 | -2/+4 |
| | |||||
* | registers number_to_currency's :negative_format in the CHANGELOG | Xavier Noria | 2010-11-09 | 1 | -0/+2 |
| | |||||
* | Strip regexp anchors from rake routes output [#5934 state:resolved] | Andrew White | 2010-11-09 | 1 | -1/+2 |
| | |||||
* | Make safe_append= live on AV::OutputBuffer not AS::SafeBuffer | Michael Koziarski | 2010-11-08 | 1 | -0/+1 |
| | | | | | | Conflicts: actionpack/lib/action_view/template/handlers/erb.rb | ||||
* | Added support for Erubis <%== tag | Jan Maurits Faber | 2010-11-08 | 2 | -1/+15 |
| | | | | | | | <%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: Michael Koziarski <michael@koziarski.com> [#5918 status:committed] | ||||
* | Make cookies hash in ActionDispatch::TestProcess indifferent access [#5761 ↵ | David Trasbo | 2010-11-07 | 2 | -1/+19 |
| | | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Move @assigns from the controller to the test itself | Santiago Pastorino | 2010-11-06 | 2 | -1/+1 |
| | |||||
* | Fix problems trying to functional test AC::Metal controllers | Santiago Pastorino | 2010-11-06 | 3 | -11/+10 |
| | | | | [#5393 state:committed] | ||||
* | Correctly handle the case of an API response that returns a hash by treating ↵ | Chris Eppstein | 2010-11-06 | 2 | -1/+17 |
| | | | | a single hash argument as the resource instead of as options. | ||||
* | Just initialize options with an empty hash | Santiago Pastorino | 2010-11-03 | 1 | -2/+1 |
| | |||||
* | made a pass to the docs of :negative_format | Xavier Noria | 2010-11-03 | 1 | -5/+7 |
| | |||||
* | Added :negative_format option to number_to_currency function [#5894 ↵ | Don Wilson | 2010-11-02 | 3 | -8/+24 |
| | | | | | | state:resolved] Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | Test that capture doesn't escape twice | Santiago Pastorino | 2010-11-02 | 1 | -2/+7 |
| | |||||
* | Call as ERB::Util.html_escape since is not the module is not included here | Santiago Pastorino | 2010-11-02 | 1 | -1/+1 |
| | |||||
* | Make sure capture's output gets html_escaped [#5545 state:resolved] | Jeff Kreeftmeijer | 2010-11-02 | 3 | -7/+8 |
| | | | | | | | Also remove a duplicate test_link_to_unless assertion and add .html_safe to the remaining one. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add additional HTTP request methods from the following RFCs: | Andrew White | 2010-11-02 | 3 | -4/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Hypertext Transfer Protocol -- HTTP/1.1 http://www.ietf.org/rfc/rfc2616.txt) * HTTP Extensions for Distributed Authoring -- WEBDAV http://www.ietf.org/rfc/rfc2518.txt * Versioning Extensions to WebDAV http://www.ietf.org/rfc/rfc3253.txt * Ordered Collections Protocol (WebDAV) http://www.ietf.org/rfc/rfc3648.txt * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol http://www.ietf.org/rfc/rfc3744.txt * Web Distributed Authoring and Versioning (WebDAV) SEARCH http://www.ietf.org/rfc/rfc5323.txt * PATCH Method for HTTP http://www.ietf.org/rfc/rfc5789.txt [#2809 state:resolved] [#5895 state:resolved] | ||||
* | Ensure that Rails.env is defined first | Andrew White | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | Use latest I18n. | José Valim | 2010-10-26 | 1 | -1/+1 |
| | |||||
* | Fix loop introduced by rack:dda892d | Jeremy Kemper | 2010-10-26 | 1 | -6/+1 |
| | |||||
* | Remove rack-cache-purge. | José Valim | 2010-10-26 | 2 | -10/+0 |
| | |||||
* | Allow generated url helpers to be overriden [#5243 state:resolved] | Andrew White | 2010-10-26 | 2 | -5/+23 |
| | |||||
* | Don't write out secure cookies unless the request is secure | Andrew White | 2010-10-25 | 3 | -3/+39 |
| | |||||
* | Remove this require since active_support/testing/default doesn't exist anymore | Santiago Pastorino | 2010-10-20 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-19 | 1 | -11/+0 |
|\ | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | Aditya Sanghi | 2010-10-17 | 1 | -1/+1 |
| |\ | |||||
| * | | The deleted examples are redundant. | Aditya Sanghi | 2010-10-17 | 1 | -11/+0 |
| | | | | | | | | | | | | They do not reveal anything new that is not already been explained in preceding example. | ||||
* | | | rewords a little the RDoc of the tag helper | Xavier Noria | 2010-10-19 | 1 | -4/+5 |
| | | | |||||
* | | | adds the new :data idiom in tag helpers to the CHANGELOG | Xavier Noria | 2010-10-19 | 1 | -0/+7 |
| | | | |||||
* | | | Additional documentation for data-* attributes. | Stephen Celis & Xavier Noria | 2010-10-19 | 1 | -10/+17 |
| | | | | | | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | | | avoid a few comparisons | Aaron Patterson | 2010-10-18 | 1 | -3/+3 |
| | | | |||||
* | | | Fix status initialization when custom status provided | Krekoten' Marjan | 2010-10-18 | 2 | -2/+6 |
| | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | | AC::Caching DRYup | Krekoten' Marjan | 2010-10-18 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | | | Remove ActionController::Caching::Pages#caching_allowed because it duplicates ActionController::Caching#caching_allowed? Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | | remove strange else block | Aaron Patterson | 2010-10-18 | 1 | -9/+7 |
| | | | |||||
* | | | skip extra work if no text or phrase was provided | Aaron Patterson | 2010-10-18 | 1 | -12/+11 |
| | | | |||||
* | | | lets not invert the hash on every iteration through this loop | Aaron Patterson | 2010-10-18 | 1 | -1/+3 |
| | | | |||||
* | | | use -= in place of the expanded form | Aaron Patterson | 2010-10-18 | 1 | -1/+1 |
| | | | |||||
* | | | implicitly return nil if there is no number | Aaron Patterson | 2010-10-18 | 1 | -2/+2 |
| | | | |||||
* | | | implicit return of nil | Aaron Patterson | 2010-10-18 | 1 | -1/+1 |
| | | | |||||
* | | | use regex escape sequences to shorten stuff up | Aaron Patterson | 2010-10-18 | 1 | -2/+2 |
| | | | |||||
* | | | join strings rather than resizing buffer | Aaron Patterson | 2010-10-18 | 1 | -2/+2 |
| | | | |||||
* | | | Call html_escape in ERB::Util module and don't mix it in in the helpers | Santiago Pastorino | 2010-10-18 | 7 | -20/+24 |
| | | |