Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 4 | -6/+6 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | Remove unnecessary in HTML 5 type attribute with default value | Andrey A.I. Sitnik | 2012-04-05 | 1 | -2/+2 |
| | |||||
* | Moved all the logger methods to active support logger | Karunakar (Ruby) | 2012-01-06 | 1 | -1/+1 |
| | | | | minor | ||||
* | remove more conditions for Fiber available in ruby19 | Vishnu Atrai | 2011-12-31 | 1 | -1/+1 |
| | |||||
* | Show detailed exceptions no longer returns true if the request is local in ↵ | José Valim | 2011-12-16 | 1 | -0/+6 |
| | | | | production. | ||||
* | Fix another regression related to the layout optimization. | José Valim | 2011-12-08 | 1 | -1/+25 |
| | |||||
* | Fix a regression and also fix broken test. | José Valim | 2011-12-08 | 1 | -5/+5 |
| | |||||
* | A test case to ensure that AC::Metal#response_body= always wraps the given ↵ | Akira Matsuda | 2011-11-10 | 1 | -0/+6 |
| | | | | value in an Array in both Ruby 1.8 and 1.9 (refs #3581) | ||||
* | Deprecate passing the template handler in the template name. | José Valim | 2011-09-22 | 1 | -5/+5 |
| | | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases. | ||||
* | Get rid of update_details in favor of passing details to find_template. | José Valim | 2011-09-22 | 2 | -8/+8 |
| | |||||
* | Remove stream at the class level. | José Valim | 2011-07-06 | 1 | -1/+1 |
| | | | | | | This is because only template rendering works with streaming. Setting it at the class level was also changing the behavior of JSON and XML responses, closes #1337. | ||||
* | Corrected some typos and American vs. Queen's English issues | Lee Reilly | 2011-05-29 | 1 | -2/+2 |
| | |||||
* | Revert to old semantics, use available_action? instead of action_method?. | José Valim | 2011-05-06 | 1 | -4/+4 |
| | |||||
* | Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats). | José Valim | 2011-05-01 | 1 | -7/+7 |
| | |||||
* | log errors when an exception happens when streaming. | José Valim | 2011-05-01 | 1 | -0/+13 |
| | |||||
* | Add a test for rendering from the controller context. | José Valim | 2011-05-01 | 1 | -0/+54 |
| | |||||
* | Do not stream on HTTP/1.0. | José Valim | 2011-04-19 | 1 | -0/+8 |
| | |||||
* | Output a redirect to the 500 page if something happens when streaming. | José Valim | 2011-04-19 | 1 | -1/+23 |
| | | | | | | Currently, we output: "><script type="text/javascript">window.location = "/500.html"</script></html> | ||||
* | Test explicit skip. | José Valim | 2011-04-18 | 1 | -1/+10 |
| | |||||
* | Just define the controller if fibers are defined. | José Valim | 2011-04-18 | 1 | -2/+2 |
| | |||||
* | Body... wanna *stream* my body? Body... such a thrill my body! | José Valim | 2011-04-18 | 1 | -0/+62 |
| | | | | | Added stream as class level method to make it explicit when to stream. Render also accepts :stream as option. | ||||
* | switch to using comments to comment things | Aaron Patterson | 2011-04-15 | 1 | -2/+1 |
| | |||||
* | render :once, YAGNI. | José Valim | 2011-04-15 | 1 | -86/+0 |
| | |||||
* | removes the RJS template handler | Xavier Noria | 2011-04-13 | 2 | -15/+10 |
| | |||||
* | removes support for render :update | Xavier Noria | 2011-04-13 | 1 | -71/+0 |
| | |||||
* | Implicit actions named not_implemented can be rendered | Santiago Pastorino | 2011-04-02 | 1 | -2/+11 |
| | |||||
* | Make action_method? public and change implicit rendering to override it instead. | José Valim | 2011-03-30 | 1 | -0/+5 |
| | |||||
* | Use Mime::Type references. | José Valim | 2011-02-08 | 1 | -0/+9 |
| | |||||
* | cleaning up some warnings on 1.9.3 | Aaron Patterson | 2011-02-07 | 1 | -1/+1 |
| | |||||
* | Speed up template inheritance and remove template inheritance option | wycats | 2010-12-26 | 1 | -12/+0 |
| | |||||
* | all tests pass | artemave | 2010-12-26 | 1 | -4/+4 |
| | |||||
* | #948 make template inheritance optional | artemave | 2010-12-26 | 1 | -0/+11 |
| | |||||
* | #948 template_inheritance | artemave | 2010-12-26 | 2 | -2/+66 |
| | |||||
* | realigns a series of hash arrows | Xavier Noria | 2010-11-21 | 1 | -10/+10 |
| | |||||
* | Added support for Erubis <%== tag | Jan Maurits Faber | 2010-11-08 | 1 | -0/+10 |
| | | | | | | | <%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: Michael Koziarski <michael@koziarski.com> [#5918 status:committed] | ||||
* | Fix problems trying to functional test AC::Metal controllers | Santiago Pastorino | 2010-11-06 | 1 | -0/+7 |
| | | | | [#5393 state:committed] | ||||
* | Remove :cache => true on lookup templates initialization. | José Valim | 2010-10-14 | 1 | -10/+1 |
| | |||||
* | render :once should consider the current controller prefix. | José Valim | 2010-10-14 | 1 | -7/+30 |
| | |||||
* | Use identifiers for template equality. | José Valim | 2010-10-10 | 1 | -9/+8 |
| | |||||
* | Add support to render :once. | José Valim | 2010-10-10 | 1 | -0/+73 |
| | | | | This will be used internally by sprockets to ensure requires are executed just once. | ||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 1 | -0/+15 |
| | |||||
* | Allow cache to be temporarily disabled through lookup_context. | José Valim | 2010-10-07 | 1 | -1/+12 |
| | |||||
* | render :template => 'foo/bar.json' now works as it should. | José Valim | 2010-10-07 | 2 | -3/+29 |
| | |||||
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 1 | -46/+0 |
| | |||||
* | added block arguments to ActionController::Metal#use | Collin Miller | 2010-09-12 | 1 | -0/+22 |
| | | | | | | | | | | | Useful for cases such as warden, where a block configuration is taken. class SomeController < ApplicationController use RailsWarden::Manager do |manager| manager.default_strategies :facebook_oauth manager.failure_app = SomeController.action(:authorize) end end | ||||
* | Fixed routes to use new API in a few more actionpack tests | Piotr Sarnacki | 2010-09-05 | 4 | -17/+47 |
| | |||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 1 | -0/+3 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 7 | -25/+25 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Fix controller_name for non default controller paths [#4901 state:resolved] | knapo | 2010-06-23 | 1 | -0/+38 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix case when rendering a partial inside RJS with inherited layout [#4786 ↵ | José Valim | 2010-06-07 | 1 | -0/+3 |
| | | | | state:resolved] |