Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #6144 from bogdan/routes | José Valim | 2012-05-03 | 1 | -2/+5 |
|\ | | | | | RouteSet: optimize routes generation when globbing is used | ||||
| * | RouteSet: optimize routes generation when globbing is used | Bogdan Gusiev | 2012-05-03 | 1 | -2/+5 |
|/ | |||||
* | Merge pull request #6135 from alindeman/assert_redirect_to_with_regexp | José Valim | 2012-05-03 | 3 | -13/+26 |
|\ | | | | | Allows assert_redirected_to to accept a regular expression | ||||
| * | Allows assert_redirected_to to accept a regular expression | Andy Lindeman | 2012-05-03 | 3 | -13/+26 |
|/ | |||||
* | Merge pull request #6139 from pwim/extract_options-actionpack | José Valim | 2012-05-03 | 1 | -1/+2 |
|\ | | | | | use extract_options! | ||||
| * | use extract_options! | Paul McMahon | 2012-05-03 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #6141 from mhfs/mailer_tweeks | José Valim | 2012-05-03 | 2 | -14/+2 |
|\ \ | | | | | | | Minor ActionMailer tweaks | ||||
| * | | No need to force conversion to Symbol since case ensures it's already | Marcelo Silveira | 2012-05-03 | 1 | -1/+1 |
| | | | | | | | | | | | | one. | ||||
| * | | No need to work around 1.8 warnings anymore. | Marcelo Silveira | 2012-05-03 | 1 | -13/+1 |
| |/ | |||||
* | | Merge pull request #6137 from FLOChip/cache_documentation | Vijay Dev | 2012-05-03 | 1 | -1/+1 |
|\ \ | |/ |/| | cache_store has an extra option of :null_store. | ||||
| * | cache_store has an extra option of :null_store. | Teng Siong Ong | 2012-05-03 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #6138 from bogdan/routes | José Valim | 2012-05-03 | 1 | -19/+10 |
|\ \ | | | | | | | RouteSet: remove some code dups | ||||
| * | | RouteSet: remove some code dups | Bogdan Gusiev | 2012-05-02 | 1 | -19/+10 |
| | | | |||||
* | | | Merge pull request #6134 from ↵ | Jon Leighton | 2012-05-03 | 3 | -2/+12 |
|\ \ \ | |_|/ |/| | | | | | | | | carlosantoniodasilva/ar-relation-kernel-private-methods Fix issue with private kernel methods and collection associations | ||||
| * | | Fix issue with private kernel methods and collection associations. Closes #2508 | Carlos Antonio da Silva | 2012-05-02 | 3 | -2/+12 |
|/ / | | | | | | | | | | | | | | | Change CollectionProxy#method_missing to use scoped.public_send, to avoid a problem described in issue #2508 when trying to use class methods with names like "open", that clash with private kernel methods. Also changed the dynamic matcher instantiator to send straight to scoped, to avoid another roundtrip to method_missing. | ||||
* | | Add CHANGELOG entry | Santiago Pastorino | 2012-05-02 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #6131 from schneems/schneems/routes_backtrace | Santiago Pastorino | 2012-05-02 | 1 | -1/+3 |
|\ \ | | | | | | | Add backtrace to development routing error page | ||||
| * | | Add backtrace to development routing error page | schneems | 2012-05-02 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | If a user gets a routing error due to a view helper such as using user_path without an :id they must go to their logs to see the backtrace. By adding in the trace template, a user can see which line the error occurred on without leaving the browser. When a routing error occurs outside of the view the application trace will be blank and will not confuse developers. | ||||
* | | | Merge pull request #5153 from mhfs/first_finder_fix | Aaron Patterson | 2012-05-02 | 5 | -9/+92 |
|\ \ \ | | | | | | | | | Made `first` finder consistent among database engines by adding a default order | ||||
| * | | | Use arel nodes instead of raw sql | Marcelo Silveira | 2012-05-02 | 2 | -4/+7 |
| | | | | |||||
| * | | | Use Array#first instead of Array#[0] | Marcelo Silveira | 2012-05-02 | 1 | -5/+5 |
| | | | | |||||
| * | | | Adding note about `first` and `take` to the changelog | Marcelo Silveira | 2012-05-02 | 1 | -0/+6 |
| | | | | |||||
| * | | | Introducing `take` as a replacement to the old behavior of `first` | Marcelo Silveira | 2012-05-02 | 3 | -3/+52 |
| | | | | |||||
| * | | | Document `last`, check for primary key on default order and use quoted table ↵ | Marcelo Silveira | 2012-05-02 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | and column names | ||||
| * | | | Made `first` finder consistent among database engines by adding a | Marcelo Silveira | 2012-05-02 | 2 | -2/+24 |
|/ / / | | | | | | | | | | default order clause (fixes #5103) | ||||
* / / | Reset the request parameters after a constraints check | Andrew White | 2012-05-02 | 3 | -0/+25 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | A callable object passed as a constraint for a route may access the request parameters as part of its check. This causes the combined parameters hash to be cached in the environment hash. If the constraint fails then any subsequent access of the request parameters will be against that stale hash. To fix this we delete the cache after every call to `matches?`. This may have a negative performance impact if the contraint wraps a large number of routes as the parameters hash is built by merging GET, POST and path parameters. Fixes #2510. | ||||
* | | Merge pull request #6125 from ncri/master | José Valim | 2012-05-02 | 2 | -3/+36 |
|\ \ | | | | | | | Adding proc evaluation for action caching layout parameter | ||||
| * | | added proc evaluation for action cache's layout parameter | Nico | 2012-05-02 | 2 | -3/+36 |
| | | | |||||
* | | | Merge pull request #6122 from amerine/add_fetch_to_actiondispatch_http_headers | Aaron Patterson | 2012-05-02 | 2 | -7/+13 |
|\ \ \ | | | | | | | | | Enable ActionDispatch::Http::Headers to support fetch | ||||
| * | | | Enable ActionDispatch::Http::Headers to support fetch | Mark Turner | 2012-05-02 | 2 | -7/+13 |
| |/ / | |||||
* | | | * move exception message to exception constructor | Aaron Patterson | 2012-05-02 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | * save original exception * keep original backtrace | ||||
* | | | Merge pull request #3707 from ebeigarts/refactor_remove_column | Piotr Sarnacki | 2012-05-02 | 4 | -6/+4 |
|\ \ \ | |/ / |/| | | Refactored remove_column | ||||
| * | | Refactored remove_column | Edgars Beigarts | 2012-05-02 | 4 | -6/+4 |
| | | | |||||
* | | | Merge pull request #6119 from romanvbabenko/refactor/checking_rubygems_presence | Jeremy Kemper | 2012-05-02 | 2 | -19/+15 |
|\ \ \ | | | | | | | | | Gem const presence checking has been removed | ||||
| * | | | Gem cont presence checking has been removed | Roman V. Babenko | 2012-05-02 | 2 | -19/+15 |
| | | | | |||||
* | | | | Merge pull request #6116 from romanvbabenko/refactor/executable_rakefiles | Jeremy Kemper | 2012-05-02 | 9 | -8/+0 |
|\ \ \ \ | | | | | | | | | | | Rakefile executable attributes and shebang lines has been removed | ||||
| * | | | | Rakefile executable attributes and shebang lines has been removed | Roman V. Babenko | 2012-05-02 | 9 | -8/+0 |
| |/ / / | |||||
* | | | | Merge pull request #6121 from bogdan/routes | José Valim | 2012-05-02 | 1 | -26/+4 |
|\ \ \ \ | | |_|/ | |/| | | ActionPack routes: remove some useless code. | ||||
| * | | | ActionPack routes: remove some useless code. | Bogdan Gusiev | 2012-05-02 | 1 | -26/+4 |
|/ / / | |||||
* | | | Merge pull request #6120 from arunagw/build_fix_master_railties | José Valim | 2012-05-02 | 2 | -3/+3 |
|\ \ \ | | | | | | | | | Fix build for railties generators | ||||
| * | | | Fix build for railties generators | Arun Agrawal | 2012-05-02 | 2 | -3/+3 |
|/ / / | |||||
* | | | Merge pull request #6118 from arunagw/build_fix_master | José Valim | 2012-05-02 | 1 | -2/+2 |
|\ \ \ | |/ / |/| | | build fix for SharedGeneratorTests | ||||
| * | | build fix for SharedGeneratorTests | Arun Agrawal | 2012-05-02 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #6040 from Paymium/issue-6033 | José Valim | 2012-05-02 | 3 | -1/+28 |
|\ \ | | | | | | | BigDecimal string wrapping in JSON serialization can now be opted-out | ||||
| * | | BigDecimal string wrapping in JSON serialization can now be opted-out, fixes ↵ | David FRANCOIS | 2012-05-02 | 3 | -1/+28 |
| |/ | | | | | | | #6033 | ||||
* | | Merge pull request #5962 from bogdan/routes | José Valim | 2012-05-02 | 1 | -18/+0 |
|\ \ | | | | | | | Remove tests for undocumented private methods | ||||
| * | | ActionPack: remove tests for hash_for_* methods | Bogdan Gusiev | 2012-05-02 | 1 | -18/+0 |
| |/ | |||||
* | | Merge pull request #6111 from oscardelben/new_hash_syntax_in_gemfile | José Valim | 2012-05-02 | 1 | -14/+14 |
|\ \ | |/ |/| | Use new hash syntax in generated Gemfile | ||||
| * | Use new hash syntax in generated Gemfile | Oscar Del Ben | 2012-05-02 | 1 | -14/+14 |
|/ | |||||
* | Merge pull request #6109 from carlosantoniodasilva/fix-build | Santiago Pastorino | 2012-05-01 | 1 | -2/+2 |
|\ | | | | | Build fix for plugin new generator change |