Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into sprockets | Joshua Peek | 2011-03-30 | 24 | -62/+344 |
|\ | | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb | ||||
| * | use assert_equal so we get normal error messages along with our custom ↵ | Aaron Patterson | 2011-03-30 | 1 | -3/+3 |
| | | | | | | | | failure message | ||||
| * | Make action_method? public and change implicit rendering to override it instead. | José Valim | 2011-03-30 | 3 | -19/+25 |
| | | |||||
| * | Pass the proper method_name instead of hardcoding to action_name. | José Valim | 2011-03-29 | 2 | -9/+11 |
| | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/implicit_render.rb | ||||
| * | Dont call authenticate_or_request_with_http_basic twice | David Heinemeier Hansson | 2011-03-29 | 1 | -4/+2 |
| | | |||||
| * | 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 | 4 | -3/+47 |
| | | | | | | | | | | | | | | | | 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> | ||||
| * | Fix examples | David Heinemeier Hansson | 2011-03-28 | 2 | -2/+2 |
| | | |||||
| * | Added Base.http_basic_authenticate_with to do simple http basic ↵ | David Heinemeier Hansson | 2011-03-28 | 3 | -14/+69 |
| | | | | | | | | authentication with a single class method call [DHH] | ||||
| * | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-03-27 | 1 | -7/+6 |
| |\ | |||||
| | * | Proc objects for cache_path for caches_action no longer need controller ↵ | Ryan Bigg | 2011-03-26 | 1 | -7/+6 |
| | | | | | | | | | | | | object, nor to use send when calling routing helpers | ||||
| * | | Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵ | Prem Sichanugrist | 2011-03-28 | 5 | -0/+122 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | fixes a couple of regexps, the suite showed warnings about them | Xavier Noria | 2011-03-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of things worth mentioning here: - "{" is a metacharacter, should be escaped if it is meant to match a "{". The code worked, though, because the regexp engine is tolerant to this, but issued warnings. - gsub accepts a string as first argument. That's the best idiom to use when your pattern has no metacharacters, since gsub interprets the string as an exact substring to look for, rather than a regexp. The benefit is that your pattern is crystal clear and needs no backslashes. | ||||
| * | | Fix alias_method, add test | David Heinemeier Hansson | 2011-03-27 | 2 | -1/+2 |
| | | | |||||
| * | | Allow FormHelper#form_for to specify the :method as a direct option instead ↵ | David Heinemeier Hansson | 2011-03-26 | 3 | -4/+36 |
| | | | | | | | | | | | | of through the :html hash [DHH] | ||||
| * | | Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript() ↵ | David Heinemeier Hansson | 2011-03-26 | 2 | -0/+7 |
| |/ | | | | | | | -- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH] | ||||
| * | correction to the outputted controller name in the diagnostics error ↵ | Josh Kalderimis | 2011-03-24 | 2 | -1/+17 |
| | | | | | | | | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Merge branch 'master' into sprockets | Joshua Peek | 2011-03-30 | 6 | -2/+45 |
|\| | |||||
| * | Fix filter :only and :except with implicit actions | Andrew White | 2011-03-23 | 2 | -12/+17 |
| | | | | | | | | | | | | | | 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> | ||||
| * | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-03-23 | 1 | -0/+7 |
| |\ | |||||
| | * | doc :anchor option for #match in routes | Gabriel Horner | 2011-03-15 | 1 | -0/+7 |
| | | | |||||
| * | | Do not show optional (.:format) block for wildcard route [#6605 state:resolved] | Prem Sichanugrist | 2011-03-22 | 2 | -1/+8 |
| | | | | | | | | | | | | 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 | ||||
* | | | Seperate asset directories | Joshua Peek | 2011-03-29 | 8 | -16/+21 |
| | | | |||||
* | | | Rename option to config.asset_pipeline | Joshua Peek | 2011-03-29 | 1 | -1/+1 |
| | | | |||||
* | | | Change back to /assets prefix | Joshua Peek | 2011-03-29 | 1 | -2/+2 |
| | | | |||||
* | | | Only add fingerprints if perform_caching is on | Joshua Peek | 2011-03-29 | 1 | -1/+1 |
| | | | |||||
* | | | Copy use_sprockets config | Joshua Peek | 2011-03-29 | 2 | -2/+3 |
| | | | |||||
* | | | Use sprockets helpers if config.use_sprockets is set | Joshua Peek | 2011-03-29 | 2 | -6/+22 |
| | | | |||||
* | | | Tests for SprocketsHelper | Joshua Peek | 2011-03-29 | 8 | -5/+104 |
| | | | |||||
* | | | Update sprockets path generation method | Joshua Peek | 2011-03-28 | 1 | -1/+1 |
| | | | |||||
* | | | Add SprocketsHelper | Joshua Peek | 2011-03-28 | 2 | -0/+79 |
| | | | |||||
* | | | Remove sprockets exception from main asset helpers | Joshua Peek | 2011-03-28 | 2 | -20/+0 |
| | | | |||||
* | | | Add sprockets md5s to asset tags | Joshua Peek | 2011-03-22 | 2 | -0/+20 |
|/ / | |||||
* | | SJIS is an alias to Windows-31J in ruby trunk. Use SHIFT_JIS for this test | Aaron Patterson | 2011-03-21 | 1 | -2/+2 |
| | | |||||
* | | Improved resolver docs a bit | José Valim | 2011-03-19 | 1 | -2/+10 |
| | | |||||
* | | [action_view] docs for FileSystemResolver | Chris Kowalik | 2011-03-20 | 1 | -2/+30 |
| | | |||||
* | | [action_view] added custom patterns to template resolver | Chris Kowalik | 2011-03-20 | 6 | -24/+89 |
| | | |||||
* | | fixes an issue with number_to_human when converting values which are less ↵ | Josh Kalderimis | 2011-03-16 | 2 | -2/+4 |
| | | | | | | | | | | | | than 1 but greater than -1 [#6576 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | use a list to represent the supported verbs for a route object | Aaron Patterson | 2011-03-14 | 2 | -11/+13 |
| | | |||||
* | | stop splatting arguments so that we can understand wtf is going on | Aaron Patterson | 2011-03-14 | 1 | -2/+3 |
| | | |||||
* | | RegexpWithNamedGroups is only used for path_info, so only apply to path info | Aaron Patterson | 2011-03-14 | 1 | -1/+2 |
|/ | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-03-14 | 1 | -4/+4 |
|\ | |||||
| * | Change ActionView::ViewPathSet to ActionView::PathSet | Manuel Meurer | 2011-03-13 | 1 | -4/+4 |
| | | |||||
* | | Add additional text to NotImplementedErrors [#6328 state:resolved] | Mike Gehard | 2011-03-12 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Just define methods directly on the class rather than use the module | Aaron Patterson | 2011-03-11 | 1 | -14/+5 |
| | | | | | | | | | | | | indirection. clever-- | ||||
* | | do not automatically add format to routes that end in a slash | Aaron Patterson | 2011-03-11 | 2 | -1/+52 |
| | | |||||
* | | Filter sensitive query string parameters in the log [#6244 state:committed] | Prem Sichanugrist & Xavier Noria | 2011-03-11 | 3 | -4/+57 |
| | | | | | | | | | | | | 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 | 4 | -2/+13 |
| | |