1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Yves Senn 69f28a7d8d ruby constant syntax is not supported as routing :controller option.
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.
2013-02-06 20:56:09 +01:00
..
assets Getting Started Guide: strong_parameters 2013-01-22 00:08:31 -05:00
code/getting_started Made indentation consistent. 2013-01-23 20:02:49 +13:00
rails_guides place article name in the beginning of guides page title 2013-01-06 01:46:30 +03:00
source ruby constant syntax is not supported as routing :controller option. 2013-02-06 20:56:09 +01:00
CHANGELOG.md Split Validations and Callbacks into separate guides. 2012-11-29 15:03:21 -08:00
rails_guides.rb No more Textile guide generation support 2012-09-17 15:55:17 -04:00
Rakefile Add periodical-style TOC and navigation to Kindle version of guides 2012-12-01 18:08:10 -05:00
w3c_validator.rb Add exception handling to rake guides:validate 2012-08-24 12:06:44 +02:00