Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Invert precedence of content in ActionDispatch::Static | Andrew White | 2012-12-06 | 1 | -0/+23 |
| | | | | | | | | | | This commit inverts the precedence in ActionDispatch::Static so that dynamic content will be served before static content. This is so that precompiled assets do not inadvertently get included when running in development mode - it should have no effect in production where static files are usually handled by the web server. Closes #6421 | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -14/+14 |
| | |||||
* | Revert "Allow loading external route files from the router" | José Valim | 2012-06-29 | 1 | -83/+0 |
| | | | | | | | | | | | | | | This reverts commit 6acebb38bc0637bc05c19d87f8767f16ce79189b. Usage of this feature did not reveal any improvement in existing apps. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb guides/source/routing.textile railties/lib/rails/engine.rb railties/lib/rails/paths.rb railties/test/paths_test.rb | ||||
* | Rails::InfoController tests passing | schneems | 2012-05-24 | 1 | -0/+12 |
| | | | | This includes new tests for /rails/info/routes | ||||
* | Define only writer method for queue, as reader is declared | Carlos Antonio da Silva | 2012-04-28 | 1 | -2/+0 |
| | | | | Remove deprecation warning of method redefined. | ||||
* | Routes reloader knows how to reload external files | Yehuda Katz | 2012-04-25 | 1 | -0/+61 |
| | |||||
* | Allow loading external route files from the router | Jose and Yehuda | 2012-04-25 | 1 | -0/+24 |
| | | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications. | ||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | should be using a / in this route rather than a # | Aaron Patterson | 2011-08-31 | 1 | -1/+1 |
| | |||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -0/+4 |
| | |||||
* | prepend the assets route instead of appending, closes #436 | José Valim | 2011-05-08 | 1 | -2/+2 |
| | |||||
* | reload_routes! is part of the public API and should not be removed. | José Valim | 2010-10-02 | 1 | -1/+8 |
| | |||||
* | Fix a routing test. Reorganize middleware tests. | José Valim | 2010-10-02 | 1 | -48/+8 |
| | |||||
* | third parameter for rack must respond to each | Aaron Patterson | 2010-09-22 | 1 | -2/+2 |
| | |||||
* | Add RouteSet#append | Carl Lerche | 2010-09-17 | 1 | -0/+28 |
| | | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn. | ||||
* | Fix routing test | Piotr Sarnacki | 2010-09-11 | 1 | -4/+2 |
| | | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com> | ||||
* | Fix warning by removing |map| from routes.draw | Piotr Sarnacki | 2010-09-08 | 1 | -1/+1 |
| | |||||
* | Removed deprecated router API from railties | Piotr Sarnacki | 2010-09-05 | 1 | -8/+8 |
| | |||||
* | Ensure routes are loaded only after the initialization process finishes, ↵ | José Valim | 2010-09-02 | 1 | -0/+17 |
| | | | | ensuring all configuration options were applied. | ||||
* | Improve best_standards_support to use only IE=Edge in development mode | wycats | 2010-08-09 | 1 | -31/+65 |
| | |||||
* | Add a header that tells Internet Explorer (all versions) to use the best ↵ | wycats | 2010-07-27 | 1 | -0/+1 |
| | | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client. | ||||
* | Add a failing test for ticket #4874 | José Valim | 2010-06-17 | 1 | -0/+14 |
| | |||||
* | nested controllers need to be explicitly declared with the new mapper | Joshua Peek | 2010-02-28 | 1 | -1/+2 |
| | |||||
* | Refactor railties test, break huge files in smaller chunks and move ↵ | José Valim | 2010-01-26 | 1 | -45/+33 |
| | | | | initializers to application folder. | ||||
* | Add test case for load initializers before routing behavior. | Prem Sichanugrist | 2010-01-21 | 1 | -0/+28 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Finish moving config.frameworks-dependent code to the framework plugin | Carlhuda | 2009-12-23 | 1 | -0/+2 |
| | |||||
* | Make /rails/info/properties work again. Also, the mocked up tests were ↵ | Carlhuda | 2009-12-23 | 1 | -0/+5 |
| | | | | passing so we added a test that actually tested this functionality. | ||||
* | Isolation tests intentionally avoid loading any state (because they're often ↵ | Carlhuda | 2009-12-23 | 1 | -3/+3 |
| | | | | testing things that have their own load path semantics that should not be polluted), so rack/test is not yet on the load path. Moving require "rack/test" into the setup means and after boot_rails means that it'll be required after the laod path has been altered to add in the Rails vendor/gems | ||||
* | Merge branch 'master' of github.com:rails/rails | Joshua Peek | 2009-12-21 | 1 | -7/+7 |
|\ | | | | | | | | | | | Conflicts: railties/test/initializer/initialize_i18n_test.rb railties/test/initializer/path_test.rb | ||||
* | | Update routes.rb template to use App name | Joshua Peek | 2009-12-21 | 1 | -7/+7 |
|/ | |||||
* | Default route was removed from default route config, patch up failing tests. | Joshua Peek | 2009-12-21 | 1 | -0/+18 |
| | |||||
* | Procs don't call themselves | Joshua Peek | 2009-12-15 | 1 | -0/+32 |
| | | | | Fixes dev mode reloading [#3574 state:resolved] | ||||
* | Fix loading plugin and engine route sets | Joshua Peek | 2009-12-14 | 1 | -0/+38 |
| | |||||
* | Some basic route discovery tests | Joshua Peek | 2009-12-01 | 1 | -0/+85 |