Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make csrf_meta_tags use the tag helper | James Robinson | 2011-04-08 | 1 | -5/+3 |
| | | | | Improved formatting of csrf_helper and improved test coverage | ||||
* | Merge branch 'master' of github.com:rails/rails | Aaron Patterson | 2011-04-07 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | * 'master' of github.com:rails/rails: Cache flash now Revert "Use freeze instead of close!" Revert "Eagerly load Signed and Permanent cookies" cookies here Eagerly load Signed and Permanent cookies Use freeze instead of close! | ||||
| * | Revert "Use freeze instead of close!" | Santiago Pastorino | 2011-04-07 | 1 | -6/+0 |
| | | | | | | | | This reverts commit 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af. | ||||
| * | cookies here | Santiago Pastorino | 2011-04-07 | 1 | -3/+3 |
| | | |||||
| * | Use freeze instead of close! | Santiago Pastorino | 2011-04-06 | 1 | -0/+6 |
| | | |||||
* | | many args does not make sense with the current implementation because of how ↵ | Aaron Patterson | 2011-04-06 | 1 | -10/+0 |
| | | | | | | | | `use` works | ||||
* | | getting the flash hash under test | Aaron Patterson | 2011-04-06 | 1 | -0/+100 |
| | | |||||
* | | favor composition over inheritance, have FlashHash delegate to a Hash | Aaron Patterson | 2011-04-06 | 1 | -4/+4 |
|/ | |||||
* | Delete useless arguments | Santiago Pastorino | 2011-04-06 | 1 | -6/+6 |
| | |||||
* | Delete useless env variable | Santiago Pastorino | 2011-04-06 | 1 | -9/+3 |
| | |||||
* | Add tests to verify that signed and permanent cookies raises if someone tries | Santiago Pastorino | 2011-04-06 | 1 | -0/+51 |
| | | | | | to modify the cookies when it was already streamed back to the client or converted to HTTP headers | ||||
* | Make process reuse the env var passed as argument | Santiago Pastorino | 2011-04-06 | 1 | -0/+8 |
| | |||||
* | raise if someone tries to modify the cookies when it was already streamed ↵ | Santiago Pastorino | 2011-04-06 | 1 | -0/+51 |
| | | | | back to the client or converted to HTTP headers | ||||
* | do not return html safe strings from auto_link | Aaron Patterson | 2011-04-05 | 1 | -5/+11 |
| | |||||
* | raise if someone tries to modify the flash when it was already streamed back ↵ | Santiago Pastorino | 2011-04-05 | 1 | -0/+50 |
| | | | | to the client or converted to HTTP headers | ||||
* | Implicit actions named not_implemented can be rendered | Santiago Pastorino | 2011-04-02 | 1 | -2/+11 |
| | |||||
* | pass respond_with options to controller render when using a template for api ↵ | Josh Kalderimis | 2011-03-31 | 2 | -0/+20 |
| | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | only try to display an api template in responders if the request is a get or ↵ | Josh Kalderimis | 2011-03-31 | 2 | -0/+22 |
| | | | | | | there are no errors Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | when using respond_with with an invalid resource and custom options, the ↵ | Josh Kalderimis | 2011-03-31 | 1 | -0/+17 |
| | | | | | | default response status and error messages should be returned Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make action_method? public and change implicit rendering to override it instead. | José Valim | 2011-03-30 | 1 | -0/+5 |
| | |||||
* | Remove 'warning: ambiguous first argument' when running ActionPack tests | Sebastian Martinez | 2011-03-29 | 2 | -4/+4 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Move mapper_test to the appropriate location | Prem Sichanugrist | 2011-03-29 | 1 | -0/+0 |
| | | | | | | It seems like in 89c5b9aee7d7db95cec9e5a934c3761872ab107e Aaron actually put the test in action_dispatch folder. However, there's already a `test/dispatch` directory which I think it's more appropriate. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | Update the wildcard route to be non-greedy by default, therefore be able to ↵ | Prem Sichanugrist | 2011-03-29 | 1 | -1/+31 |
| | | | | | | | | match the (.:format) segment [#6605 state:resolved] After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | Added Base.http_basic_authenticate_with to do simple http basic ↵ | David Heinemeier Hansson | 2011-03-28 | 1 | -0/+16 |
| | | | | authentication with a single class method call [DHH] | ||||
* | Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵ | Prem Sichanugrist | 2011-03-28 | 1 | -0/+83 |
| | | | | | | | | protocol This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action. This featured was requested by DHH. | ||||
* | Fix alias_method, add test | David Heinemeier Hansson | 2011-03-27 | 1 | -0/+1 |
| | |||||
* | Allow FormHelper#form_for to specify the :method as a direct option instead ↵ | David Heinemeier Hansson | 2011-03-26 | 1 | -2/+19 |
| | | | | of through the :html hash [DHH] | ||||
* | correction to the outputted controller name in the diagnostics error ↵ | Josh Kalderimis | 2011-03-24 | 1 | -0/+16 |
| | | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Fix filter :only and :except with implicit actions | Andrew White | 2011-03-23 | 1 | -11/+16 |
| | | | | | | | The method_name argument is "default_render" for implicit actions so use the action_name attribute to determine which callbacks to run. [#5673 state:resolved] | ||||
* | Add a failing test case for an implicit action with a before filter. | Manfred Stienstra | 2011-03-23 | 3 | -0/+24 |
| | | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | Do not show optional (.:format) block for wildcard route [#6605 state:resolved] | Prem Sichanugrist | 2011-03-22 | 1 | -0/+7 |
| | | | | This will make the output of `rake routes` to be correctly match to the behavior of the application, as the regular expression used to match the path is greedy and won't capture the format part by default | ||||
* | SJIS is an alias to Windows-31J in ruby trunk. Use SHIFT_JIS for this test | Aaron Patterson | 2011-03-21 | 1 | -2/+2 |
| | |||||
* | [action_view] added custom patterns to template resolver | Chris Kowalik | 2011-03-20 | 4 | -0/+34 |
| | |||||
* | fixes an issue with number_to_human when converting values which are less ↵ | Josh Kalderimis | 2011-03-16 | 1 | -1/+3 |
| | | | | | | than 1 but greater than -1 [#6576 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | do not automatically add format to routes that end in a slash | Aaron Patterson | 2011-03-11 | 1 | -0/+51 |
| | |||||
* | Filter sensitive query string parameters in the log [#6244 state:committed] | Prem Sichanugrist & Xavier Noria | 2011-03-11 | 1 | -0/+38 |
| | | | | | | This provides more safety to applications that put secret information in the query string, such as API keys or SSO tokens. Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Filter params that return nil for to_param and allow through false values | Andrew White | 2011-03-09 | 1 | -0/+8 |
| | |||||
* | Improve testing of cookies in functional tests: | Andrew White | 2011-03-06 | 2 | -2/+67 |
| | | | | | | | | | - cookies can be set using string or symbol keys - cookies are preserved across calls to get, post, etc. - cookie names and values are escaped - cookies can be cleared using @request.cookies.clear [#6272 state:resolved] | ||||
* | Raise ArgumentError if route name is invalid [#6517 state:resolved] | Andrew White | 2011-03-06 | 1 | -0/+32 |
| | |||||
* | added failing test for fields_for with a record object that inherits from Hash | Diego Carrion | 2011-03-06 | 1 | -0/+19 |
| | | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk> | ||||
* | Action Pack typos. | R.T. Lechow | 2011-03-05 | 2 | -2/+2 |
| | |||||
* | Add an option to FormBuilder to omit hidden field with id | Alexander Uvarov | 2011-03-04 | 1 | -0/+135 |
| | | | | | | [#4551 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | make sure string keys are always looked up from the class cache | Aaron Patterson | 2011-03-02 | 1 | -0/+25 |
| | |||||
* | Ruby 1.8: Y U NO FUN? | Aaron Patterson | 2011-03-02 | 1 | -1/+3 |
| | |||||
* | Fix Action caching bug where an action that has a non-cacheable response ↵ | Cheah Chu Yeow | 2011-03-02 | 1 | -0/+5 |
| | | | | | | | | | | always renders a nil response body. It now correctly renders the response body. Note that only GET and HTTP 200 responses can be cached. [#6480 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵ | Aaron Patterson | 2011-03-01 | 1 | -0/+50 |
| | | | | that anonymous classes are supported | ||||
* | use a subclass of AS::TZ for testing html output | Aaron Patterson | 2011-02-28 | 1 | -4/+11 |
| | |||||
* | updated Time, Date and DateTime current methods in AS to use Time.zone and ↵ | Josh Kalderimis | 2011-02-28 | 1 | -2/+2 |
| | | | | | | not Time.zone_default. [#6410 state:committed] | ||||
* | javascript_include_tag shouldn't raise if you register an expansion key with ↵ | Santiago Pastorino | 2011-02-28 | 1 | -2/+10 |
| | | | | nil value | ||||
* | Add tests for register expansion methods with key = [] | Santiago Pastorino | 2011-02-28 | 1 | -2/+12 |
| |