- 09 7月, 2010 2 次提交
-
-
由 Eric Chapweske 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Neeraj Singh 提交于
was created this test has name not beginning with test_. Also this test is trying to use has_many on another has_many which is not supported. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 08 7月, 2010 5 次提交
-
-
由 Akira Matsuda 提交于
* suppress outputting "Unknown command:" when no command were specified * output the "Usage:" message when no plugin names were given [#5043 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Akira Matsuda 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Ben Somers 提交于
Signed-off-by: NXavier Noria <fxn@hashref.com>
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Jeremy Kemper 提交于
-
- 07 7月, 2010 5 次提交
-
-
由 Xavier Noria 提交于
-
由 José Valim 提交于
-
由 Andrew White 提交于
-
由 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 7 次提交
-
-
由 Xavier Noria 提交于
documents automatic management of join models in hmt associations, in particular the gotcha that deletion is direct
-
由 Neeraj Singh 提交于
-
由 Neeraj Singh 提交于
-
由 l4u 提交于
-
由 Mark Hayes 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 05 7月, 2010 6 次提交
-
-
由 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.
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Patrik Stenmark 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Madjo DIAPENA 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 04 7月, 2010 5 次提交
-
-
由 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>
-
由 Andrew White 提交于
Reword routing guide so that we talk about prefixing as a use of :as rather than as a specific prefixing option (which :name_prefix used to be).
-
由 Jeff Dean 提交于
-
由 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>
-
由 Jeremy Kemper 提交于
-
- 03 7月, 2010 10 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Andrew White 提交于
-
由 Andrew White 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Andrew White 提交于
-
由 Santiago Pastorino 提交于
[#4979 state:committed]
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
[#4979]
-
由 Uģis Ozols 提交于
-
由 Geoff Buesing 提交于
Time#as_json: use Time#formatted_offset instead of strftime %z directive, which is non-standard and inaccurate on some platforms (e.g., Mac OS X). [#4979] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
-