Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix render :xml test (ht Simo Niemelä) | José Valim | 2010-04-24 | 1 | -2/+2 |
| | |||||
* | Make ActionDispatch url_for use HWIA symbolize_keys | Santiago Pastorino | 2010-04-22 | 1 | -3/+7 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure that url_for uses symbolized keys in the controller. [#4391] | J Smith | 2010-04-22 | 1 | -0/+10 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Always downstream given options in :json, :xml and :js renderers and add ↵ | José Valim | 2010-04-22 | 2 | -7/+35 |
| | | | | tests for it. | ||||
* | access assigns as a method or hash, with strings or symbols [#4431 ↵ | David Chelimsky | 2010-04-17 | 1 | -0/+16 |
| | | | | state:resolved] | ||||
* | Added missing require | Santiago Pastorino | 2010-04-16 | 1 | -0/+1 |
| | |||||
* | Added test get to js should have a header with content-type text/javascript | Santiago Pastorino | 2010-04-16 | 1 | -1/+8 |
| | |||||
* | Tidy up a bit this test file | Santiago Pastorino | 2010-04-16 | 1 | -7/+2 |
| | |||||
* | Revert "Add test case which check content type when rendering rjs" partial ↵ | Santiago Pastorino | 2010-04-16 | 1 | -9/+1 |
| | | | | | | in html template" rendering rjs in html doesn't make sense, it would just output javascript into the template, no script tag This reverts commit dc251389d1ab4303b80a22642f4241940b73cbe7. | ||||
* | Make perform_caching work again, with the tests passing and backward compatible | Santiago Pastorino and Carl Lerche | 2010-04-15 | 2 | -14/+14 |
| | |||||
* | Merge branch 'master' of github.com:rails/rails | wycats | 2010-04-13 | 1 | -1/+1 |
|\ | |||||
| * | Use correct RUBY_PLATFORM regex for Windows env [#4385 state:resolved] | Anil Wadghule | 2010-04-13 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Add test case which check content type when rendering rjs partial in html ↵ | Stanko Alexander | 2010-04-13 | 1 | -1/+9 |
|/ | | | | | | template Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Move verification to a plugin as well: http://github.com/rails/verification.git | José Valim | 2010-04-10 | 1 | -270/+0 |
| | |||||
* | Fixed that default locale templates should be used if the current locale ↵ | Carl Lerche | 2010-04-08 | 1 | -0/+22 |
| | | | | template is missing [DHH] | ||||
* | Add accessors for request and response so tests don't have to mess with ↵ | Michael Koziarski | 2010-04-09 | 1 | -0/+6 |
| | | | | internal ivars | ||||
* | Fix cookie access in integration tests with other host names | Joshua Peek | 2010-04-05 | 1 | -0/+45 |
| | |||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 2 | -5/+3 |
| | | | | configuration in request.env. This is another step forward removing global configuration. | ||||
* | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 2 | -2/+2 |
| | | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request | ||||
* | Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing ↵ | José Valim | 2010-03-31 | 1 | -1/+1 |
| | | | | signed cookies to work again. | ||||
* | Consistent routing language | Joshua Peek | 2010-03-30 | 5 | -29/+29 |
| | |||||
* | Fix stack overflow bug in integration test router helpers | Joshua Peek | 2010-03-30 | 1 | -0/+47 |
| | |||||
* | Tests method_missing to raise NameError. [#2522 state:resolved] | Rizwan Reza | 2010-03-27 | 1 | -0/+16 |
| | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | open_session can just return the a dup of the current context. | wycats | 2010-03-22 | 1 | -5/+3 |
| | | | | | At this point, its entire purpose in the open_session {} case was to delegate back to the IntegrationTest anyway. | ||||
* | Current url helpers become actions in controller. Added a failing test case ↵ | José Valim | 2010-03-22 | 1 | -6/+17 |
| | | | | for it. | ||||
* | Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack ↵ | wycats | 2010-03-19 | 4 | -7/+12 |
| | | | | response was a String. | ||||
* | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 1 | -2/+13 |
| | | | | that they shouldn't be further modified. | ||||
* | remove duplicated self.view_paths assingment on controller tests [#4206 ↵ | Santiago Pastorino | 2010-03-18 | 1 | -2/+2 |
| | | | | | | state:commited] Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Return a valid Rack response from bare ActionController::Metal | Carlhuda | 2010-03-18 | 1 | -0/+27 |
| | |||||
* | Make render :partial, :layout consistent between AC and AV | Carlhuda | 2010-03-18 | 1 | -11/+1 |
| | |||||
* | All tests pass without memoizing view_context | Carlhuda | 2010-03-18 | 2 | -3/+13 |
| | |||||
* | Deleting and setting a cookie in the same request was broken | Mathias Biilmann Christensen | 2010-03-17 | 1 | -0/+11 |
| | | | | | | | | Made sure to remove a cookie from @deleted_cookies when set [#4211 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Modify assert_template to use notifications. Also, remove ↵ | Carlhuda | 2010-03-17 | 4 | -16/+18 |
| | | | | ActionController::Base#template since it is no longer needed. | ||||
* | Remove unneeded AV::Base and AV::Template monkey-patches | Carlhuda | 2010-03-17 | 1 | -3/+2 |
| | |||||
* | Fix rendering of HTML partials inside JS templates [#4197 status:resolved] | José Valim | 2010-03-16 | 1 | -0/+7 |
| | |||||
* | Some more tweaks on <% %>. | Carlhuda | 2010-03-16 | 1 | -4/+4 |
| | | | | * The cache helper is now semantically "mark this region for caching" * As a result, <% x = cache do %> no longer works | ||||
* | Break a window :/ | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 |
| | |||||
* | Add deprecation notices for <% %>. | Carlhuda | 2010-03-15 | 1 | -13/+2 |
| | | | | | | | | | | | | | | | | * The approach is to compile <% %> into a method call that checks whether the value returned from a block is a String. If it is, it concats to the buffer and prints a deprecation warning. * <%= %> uses exactly the same logic to compile the template, which first checks to see whether it's compiling a block. * This should have no impact on other uses of block in templates. For instance, in <% [1,2,3].each do |i| %><%= i %><% end %>, the call to each returns an Array, not a String, so the result is not concatenated * In two cases (#capture and #cache), a String can be returned that should *never* be concatenated. We have temporarily created a String subclass called NonConcattingString which behaves (and is serialized) identically to String, but is not concatenated by the code that handles deprecated <% %> block helpers. Once we remove support for <% %> block helpers, we can remove NonConcattingString. | ||||
* | Don't force singularization of singleton resource names, e.g. /preferences ↵ | Andrew White | 2010-03-15 | 1 | -0/+7 |
| | | | | | | [#4089 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | read_ and write_fragment cache preserve html safety yet cache strings only | Jeremy Kemper | 2010-03-14 | 1 | -0/+13 |
| | |||||
* | Ensure controller filters are executed before stuff starts to happen. | José Valim | 2010-03-13 | 1 | -0/+14 |
| | |||||
* | Add tests for lookup context. | José Valim | 2010-03-11 | 1 | -1/+1 |
| | |||||
* | skip_relative_url_root url_for option is dead | Joshua Peek | 2010-03-09 | 1 | -1/+1 |
| | |||||
* | RouteSet#rewrite => url_for | Joshua Peek | 2010-03-09 | 2 | -3/+3 |
| | |||||
* | Move AC::UrlRewriter onto route set | Joshua Peek | 2010-03-09 | 2 | -7/+3 |
| | |||||
* | Reinstate dom_id in controllers. | Justin Ko | 2010-03-09 | 1 | -0/+8 |
| | | | | | | | [#3040 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Get rid of the instance-level URL rewriter | wycats | 2010-03-09 | 2 | -30/+16 |
| | |||||
* | Reinstate default_url_options and remove url_options= writer | Jeremy Kemper | 2010-03-08 | 1 | -23/+19 |
| | |||||
* | Clean LookupContext API. | José Valim | 2010-03-08 | 1 | -3/+3 |
| | |||||
* | Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵ | Carlhuda | 2010-03-04 | 1 | -2/+2 |
| | | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request. |