Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use env['action_dispatch.routes'] to determine if we should generate prefix ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | | | | | | | | | | or not. This technique is here to allow using routes from Engine in Application and vice versa. When using Engine routes inside Application it should generate prefix based on mount point. When using Engine routes inside Engine it should use env['SCRIPT_NAME']. In any other case it should generate prefix as env should not be even available. | ||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 1 | -1/+0 |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | ||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 1 | -0/+1 |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Support routing constraints in functional tests | Andrew White | 2010-08-20 | 1 | -1/+1 |
| | | | | | | | | | | Extend assert_recognizes and assert_generates to support passing full urls as the path argument. This allows testing of routing constraints such as subdomain and host within functional tests. [#5005 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | 1.9 seems to have a bug involving cloned classes and super. Fix it by not ↵ | Carlhuda | 2010-02-26 | 1 | -8/+12 |
| | | | | cloning (and instead creating classes on demand). The 1.9 bug should be investigated. | ||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -2/+2 |
| | |||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 1 | -27/+7 |
| | |||||
* | optimise_named_routes is unnecessary | Joshua Peek | 2010-01-13 | 1 | -4/+0 |
| | |||||
* | Remove route loading tests since it should be tested by railties | Joshua Peek | 2009-12-14 | 1 | -72/+0 |
| | |||||
* | Remove fancy method not allowed resource exceptions since they are | Joshua Peek | 2009-12-11 | 1 | -6/+3 |
| | | | | too much of a hack | ||||
* | Kill RouteSet#recognize | Joshua Peek | 2009-12-10 | 1 | -126/+68 |
| | |||||
* | Deprecate recalling generation params when the defaults are nil | Joshua Peek | 2009-12-06 | 1 | -3/+1 |
| | |||||
* | Update rackmount to fix some pending tests | Joshua Peek | 2009-12-05 | 1 | -13/+9 |
| | |||||
* | Stop escaping "[]" in query string | Joshua Peek | 2009-12-02 | 1 | -3/+3 |
| | |||||
* | Make recognize try to constantize controller to see if it exists | Joshua Peek | 2009-12-01 | 1 | -2/+0 |
| | |||||
* | Fix generating params with optional defaults [#3404 state:resolved] | Joshua Peek | 2009-12-01 | 1 | -3/+1 |
| | |||||
* | Privatize Routing.possible_controllers and fix brittle url helper | Joshua Peek | 2009-11-23 | 1 | -24/+0 |
| | | | | controller test loading. | ||||
* | Remove inflection reloads routes test | Joshua Peek | 2009-11-23 | 1 | -7/+0 |
| | |||||
* | Pending test now passing | Jeremy Kemper | 2009-11-23 | 1 | -8/+6 |
| | |||||
* | Extended and case insensitive regexp routes aren't that important. | Joshua Peek | 2009-11-19 | 1 | -15/+24 |
| | | | | Mark them as pending till I figure it out. | ||||
* | Add pending test for generating routes with optional params that recall last | Joshua Peek | 2009-11-09 | 1 | -0/+36 |
| | | | | request | ||||
* | Add pending test for route generation with default param | Joshua Peek | 2009-11-09 | 1 | -0/+16 |
| | |||||
* | Ruby 1.9: don't assume params are US-ASCII. Hands off the encoding. | Jeremy Kemper | 2009-11-04 | 1 | -0/+1 |
| | |||||
* | Start migrating AC routing tests into dispatch folder | Joshua Peek | 2009-10-27 | 1 | -332/+0 |
| | |||||
* | New routing dsl | Joshua Peek | 2009-10-20 | 1 | -0/+332 |
| | |||||
* | Donate tests I wrote for rackmount rails integration | Joshua Peek | 2009-10-20 | 1 | -2/+312 |
| | |||||
* | Replace decaying routing internals w/ rack-mount | Joshua Peek | 2009-10-19 | 1 | -27/+0 |
| | |||||
* | Kill routing tests expecting path to be unescaped. Most rack servers already ↵ | Joshua Peek | 2009-10-19 | 1 | -50/+12 |
| | | | | escape PATH_INFO. | ||||
* | Relax generation requirements and only enforce the requirements used in the ↵ | Joshua Peek | 2009-10-18 | 1 | -13/+0 |
| | | | | path segment | ||||
* | Don't use use_controllers in routing tests | Joshua Peek | 2009-10-18 | 1 | -4/+4 |
| | |||||
* | This is routing error message test is tightly coupled to the implementation. ↵ | Joshua Peek | 2009-10-17 | 1 | -16/+1 |
| | | | | Just test that it raises an exception. | ||||
* | Drop legacy support for case insensitive controller recognition | Joshua Peek | 2009-10-17 | 1 | -11/+0 |
| | |||||
* | Fix brittle query string comparisons | Joshua Peek | 2009-10-17 | 1 | -7/+18 |
| | |||||
* | Fix standalone run of routing test. Only reference controllers that are ↵ | Joshua Peek | 2009-10-17 | 1 | -8/+8 |
| | | | | provided in fake_controllers | ||||
* | Stop using with_controllers in tests | Joshua Peek | 2009-10-17 | 1 | -96/+72 |
| | |||||
* | No longer need this special routing exception message because these kinds of ↵ | Joshua Peek | 2009-10-17 | 1 | -13/+0 |
| | | | | ambiguous generations are deprecated | ||||
* | Drop support for routing :generate_all | Joshua Peek | 2009-10-17 | 1 | -14/+0 |
| | |||||
* | Invalid route requirements should always raise an exception even if they are ↵ | Joshua Peek | 2009-10-17 | 1 | -8/+0 |
| | | | | unused | ||||
* | Kill mock routing assertion that tests router implementation | Joshua Peek | 2009-10-10 | 1 | -13/+0 |
| | |||||
* | Relative url generations are covered more thoroughly by url rewriter tests | Joshua Peek | 2009-10-10 | 1 | -12/+0 |
| | |||||
* | Drop implementation specific routing test assertions | Joshua Peek | 2009-10-10 | 1 | -3/+0 |
| | |||||
* | Avoid creating new controller constants during test runtime. All routable ↵ | Joshua Peek | 2009-10-03 | 1 | -59/+3 |
| | | | | controllers should be defined beforehand. | ||||
* | Use draw/connect mapper api instead of directly using add_named_route | Joshua Peek | 2009-09-06 | 1 | -12/+34 |
| | |||||
* | Fix failing isolated routing test | Joshua Peek | 2009-09-05 | 1 | -16/+16 |
| | |||||
* | Track all AC base subclasses as possible controllers for internal testing | Joshua Peek | 2009-08-25 | 1 | -70/+16 |
| | |||||
* | Cleanup route reloading in tests. Prefer with_routing over using ↵ | Joshua Peek | 2009-08-16 | 1 | -2/+1 |
| | | | | ActionController::Routing::Routes directly | ||||
* | Axe "best fit" generation support | Joshua Peek | 2009-08-15 | 1 | -12/+0 |
| | |||||
* | Attempt to rewrite most of the highly coupled router segments tests | Joshua Peek | 2009-08-14 | 1 | -741/+221 |
| | |||||
* | Kill routing timed tests | Joshua Peek | 2009-08-14 | 1 | -50/+3 |
| | |||||
* | Deprecate router generation "best match" sorting | Joshua Peek | 2009-08-09 | 1 | -3/+5 |
| |