Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add message when you have no routes defined. | Steve Klabnik | 2013-02-18 | 1 | -0/+25 |
| | | | | | | Print a message in both `rake routes` and at GET "/rails/info/routes" that lets you know you have no routes defined, as well as linking to the Rails Guide on the topic. | ||||
* | Add headings to rake routes table | Steve Klabnik | 2013-02-18 | 1 | -3/+19 |
| | |||||
* | Gist URLs are now namespaced | Akira Matsuda | 2013-02-18 | 1 | -1/+1 |
| | | | | see: https://github.com/blog/1406-namespaced-gists | ||||
* | Return false on toggle on error pages | Bartlomiej Kozal | 2013-02-17 | 2 | -6/+7 |
| | |||||
* | Merge pull request #9307 from wangjohn/remove_unneeded_md5_digest | Xavier Noria | 2013-02-16 | 1 | -1/+0 |
|\ | | | | | Removed an old require of an MD5 digest which is no longer used. | ||||
| * | Removed an old require of an MD5 digest which is no longer used. | wangjohn | 2013-02-15 | 1 | -1/+0 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-02-15 | 1 | -1/+1 |
|\ \ | |/ |/| | | | | | Conflicts: guides/source/upgrading_ruby_on_rails.md | ||||
| * | Fix typo. | Carson McDonald | 2013-02-11 | 1 | -1/+1 |
| | | | | | | | | [ci skip] | ||||
* | | Merge pull request #8704 from senny/remove_regexp_global_from_url_for | Aaron Patterson | 2013-02-14 | 1 | -2/+6 |
|\ \ | | | | | | | replace regexp global in #url_for | ||||
| * | | replace regexp global in #url_for | Yves Senn | 2013-01-16 | 1 | -2/+6 |
| | | | |||||
* | | | Avoid to_sym calls | Santiago Pastorino | 2013-02-13 | 1 | -1/+1 |
| | | | |||||
* | | | the `:controller` option for routes can contain numbers. closes #9231. | Yves Senn | 2013-02-09 | 1 | -1/+1 |
| | | | |||||
* | | | Add missing require to AP | Carlos Antonio da Silva | 2013-02-08 | 1 | -0/+1 |
| | | | |||||
* | | | Fix #9168 Initialize NullCookieJar with all options needed for KeyGenerator | Andrey Chernih | 2013-02-08 | 1 | -4/+8 |
| | | | |||||
* | | | ruby constant syntax is not supported as routing `:controller` option. | Yves Senn | 2013-02-06 | 1 | -0/+6 |
| |/ |/| | | | | | | | | | | | | | | | | | The current implementation only works correctly if you supply the `:controller` with directory notation (eg. `:controller => 'admin/posts'`). The ruby constant notation (eg. `:controller => 'Admin::Posts`) leads to unexpected problems with `url_for`. This patch prints a warning for every non supported `:controller` option. I also added documentation how to work with namespaced controllers. The warning links to that documentation in the rails guide. | ||||
* | | Missing or unneeded require extract_options | Akira Matsuda | 2013-02-01 | 3 | -0/+4 |
| | | |||||
* | | remove dead code | Aaron Patterson | 2013-01-30 | 1 | -4/+1 |
| | | |||||
* | | change parameter name for positional args | Aaron Patterson | 2013-01-30 | 1 | -2/+1 |
| | | |||||
* | | nodoc the helper classes, cache stuff for optimized helper | Aaron Patterson | 2013-01-30 | 1 | -13/+17 |
| | | |||||
* | | cache path parts in the instance | Aaron Patterson | 2013-01-30 | 1 | -2/+3 |
| | | |||||
* | | stop evaling a string every time | Aaron Patterson | 2013-01-30 | 1 | -4/+4 |
| | | |||||
* | | moving helper classes outside the private block | Aaron Patterson | 2013-01-30 | 1 | -90/+88 |
| | | |||||
* | | pushing specialization down to the optimized class | Aaron Patterson | 2013-01-30 | 1 | -23/+25 |
| | | |||||
* | | use polymorphism to remove conditional | Aaron Patterson | 2013-01-30 | 1 | -35/+27 |
| | | |||||
* | | move conditionals to instance | Aaron Patterson | 2013-01-30 | 1 | -6/+16 |
| | | |||||
* | | pull stuff out of the caller and hide in the instance | Aaron Patterson | 2013-01-30 | 1 | -4/+3 |
| | | |||||
* | | moving more stuff on to the instance | Aaron Patterson | 2013-01-30 | 1 | -18/+18 |
| | | |||||
* | | move optimize_helper? to the helper instance | Aaron Patterson | 2013-01-30 | 1 | -9/+12 |
| | | |||||
* | | moving more stuff to the instance | Aaron Patterson | 2013-01-30 | 1 | -6/+6 |
| | | |||||
* | | moving some stuff to the initializer | Aaron Patterson | 2013-01-30 | 1 | -14/+38 |
| | | |||||
* | | moved more evald code | Aaron Patterson | 2013-01-30 | 1 | -8/+7 |
| | | |||||
* | | factored out some of the dynamic code | Aaron Patterson | 2013-01-30 | 1 | -19/+31 |
| | | |||||
* | | Add 'X-UA-Compatible' => 'chrome=1' to default headers | Guillermo Iguaran | 2013-01-29 | 1 | -1/+2 |
| | | |||||
* | | Remove BestStandardsSupport middleware | Guillermo Iguaran | 2013-01-29 | 2 | -31/+0 |
| | | |||||
* | | Use Encoding::UTF_8 constant :do_not_litter: | Akira Matsuda | 2013-01-28 | 3 | -3/+3 |
| | | |||||
* | | add fetch to CookieJar | Aaron Patterson | 2013-01-27 | 1 | -0/+4 |
| | | |||||
* | | Merge remote-tracking branch 'docrails/master' | Xavier Noria | 2013-01-26 | 1 | -2/+14 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb guides/code/getting_started/app/controllers/comments_controller.rb | ||||
| * | | generic pass before merging docrails | Xavier Noria | 2013-01-26 | 1 | -5/+7 |
| | | | |||||
| * | | Add documentation to ActionDispatch::Response | Matthew Stopa | 2013-01-20 | 1 | -0/+7 |
| | | | |||||
| * | | Fix typo introduced in 0004ca3a | Carlos Antonio da Silva | 2013-01-16 | 1 | -1/+1 |
| | | | | | | | | | | | | [ci skip] | ||||
| * | | More documentation for ActionDispatch::Response | Matthew Stopa | 2013-01-16 | 1 | -1/+3 |
| | | | | | | | | | | | | [ci skip] | ||||
| * | | Document ActionDispatch::Response#body method | Matthew Stopa | 2013-01-16 | 1 | -0/+1 |
| | | | |||||
* | | | Integrate Action Pack with Rack 1.5 | Carlos Antonio da Silva | 2013-01-25 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | All ActionPack and Railties tests are passing. Closes #8891. [Carlos Antonio da Silva + Santiago Pastorino] | ||||
* | | | use the helpers list rather than getting the methods from the module | Aaron Patterson | 2013-01-24 | 1 | -1/+1 |
| | | | |||||
* | | | module_eval is not necessary here | Aaron Patterson | 2013-01-24 | 1 | -3/+1 |
| | | | |||||
* | | | don't need to eval everything | Aaron Patterson | 2013-01-24 | 1 | -1/+1 |
| | | | |||||
* | | | Duplicate possible frozen string from route | Andrew White | 2013-01-21 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 1.9 freezes Hash string keys by default so where a route is defined like this: get 'search' => 'search' then the Mapper will derive the action from the key. This blows up later when the action is added to the parameters hash and the encoding is forced. Closes #3429 | ||||
* | | | In Browser Path Matching with Javascript | schneems | 2013-01-20 | 3 | -12/+121 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When debugging routes ,it can sometimes be difficult to understand exactly how the paths are matched. This PR adds a JS based path matching widget to the `/rails/info/routes` output. You can enter in a path, and it will tell you which of the routes that path matches, while preserving order (top match wins). The matching widget in action: ![](http://f.cl.ly/items/3A2F0v2m3m1Z1p3P3O3k/path-match.gif) Prior to this PR the only way to check matching paths is via mental math, or typing in a path in the url bar and seeing where it goes. This feature will be an invaluable debugging tool by dramatically decreasing the time needed to check a path match. ATP actionpack | ||||
* | | | Merge pull request #8977 from Soylent/master | Aaron Patterson | 2013-01-18 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Resovled issue rails#7774 | ||||
| * | | | Fix ActionDispatch::Request#formats when HTTP_ACCEPT header is empty string | Konstantin Papkovskiy | 2013-01-17 | 1 | -1/+1 |
| | |/ | |/| |