- 20 7月, 2010 3 次提交
-
-
由 Bryan Helmkamp 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 José Valim 提交于
-
由 Santiago Pastorino 提交于
-
- 19 7月, 2010 3 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Neeraj Singh 提交于
Exceptions from views should be rescued based on the original exception. If a handler for original exception is missing then apply ActiveView::TemplateError [#2034 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 18 7月, 2010 5 次提交
-
-
由 José Valim 提交于
-
由 Ivan Torres 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Neeraj Singh 提交于
[#5136 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 Nick Quaranto 提交于
-
- 16 7月, 2010 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Santiago Pastorino 提交于
-
- 13 7月, 2010 3 次提交
-
-
由 Benjamin Quorning 提交于
-
由 Miles Egan 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 12 7月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 Steven Hancock 提交于
Removed deprecated |map| block argument from routing docs since it is no longer generated in edge Rails config/routes.rb Didn't touch plugins guide since I'm not too clear on how routes work in plugins.
-
- 08 7月, 2010 2 次提交
-
-
由 Rohit Arondekar 提交于
-
由 Jeremy Kemper 提交于
-
- 07 7月, 2010 2 次提交
-
-
由 Andrew White 提交于
When a dynamic :controller segment is present in the path add a Regexp constraint that allow matching on multiple path segments. Using a namespace block isn't compatible with dynamic routes so we raise an ArgumentError if we detect a :module present in the scope. [#5052 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Andrew White 提交于
1. Don't inherit when specified as an option on a resource 2. Don't push into scope when specified as an option on a resource 2. Resources pull in :only or :except options from scope 3. Either :only or :except in nested scope overwrites parent scope [#5048 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 06 7月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 05 7月, 2010 1 次提交
-
-
由 José Valim 提交于
The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
-
- 04 7月, 2010 2 次提交
-
-
由 Andrew White 提交于
Refactor resource options and scoping. Resource classes are now only responsible for controlling how they are named. All other options passed to resources are pushed out to the scope. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Wincent Colaiuta 提交于
Commit f7ba614c improved the internal consistency of the different means of accessing routes, but it introduced some problems at the level of code comments and user-visible strings. This commit applies fixes on three levels: Firstly, we remove or replace grammatically invalid constructs such as "a routes" or "a particular routes". Secondly, we make sure that we always use "the router DSL" or "the router syntax", because this has always been the official terminology. Finally, we make sure that we only use "routes" when referring to the application-specific set of routes that are defined in the "config/routes.rb" file, we use "router" when referring on a more abstract level to "the code in Rails used to handle routing", and we use "routing" when we need an adjective to apply to nouns such as "url_helpers. Again this is consistent with historical practice and other places in the documentation. Note that this is not a sweep over the entire codebase to ensure consistent usage of language; it is just a revision of the changes introduced in commit f7ba614c. Signed-off-by: NWincent Colaiuta <win@wincent.com> Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 03 7月, 2010 2 次提交
-
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
- 02 7月, 2010 4 次提交
-
-
由 Piotr Sarnacki 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Aaron Patterson 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Rizwan Reza 提交于
-
由 José Valim 提交于
Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
-
- 30 6月, 2010 6 次提交
-
-
由 José Valim 提交于
* Allow to use the get :symbol shortcut outside resources scopes as well; * Fix a bug where :action was not being picked from given options; * Giving :as option inside a resource now changes just the relative name instead of the full name;
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
s/escape_once/html_escape/, since html safety is the contract that now says whether something has to be escaped
-
由 Xavier Noria 提交于
Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc.
-
由 Jeremy Kemper 提交于
Revert "Revert "Name compiled render methods". This caused several failures on AP test suite for 1.9.2." This reverts commit 9013227e. minitest was 'running' compiled templates beginning with test!
-
由 José Valim 提交于
-
- 29 6月, 2010 1 次提交
-
-
由 José Valim 提交于
This reverts commit 2c4f8aae.
-