1. 20 7月, 2010 3 次提交
  2. 19 7月, 2010 3 次提交
  3. 18 7月, 2010 5 次提交
  4. 16 7月, 2010 2 次提交
  5. 13 7月, 2010 3 次提交
  6. 12 7月, 2010 2 次提交
  7. 08 7月, 2010 2 次提交
  8. 07 7月, 2010 2 次提交
  9. 06 7月, 2010 2 次提交
  10. 05 7月, 2010 1 次提交
    • J
      Define a convention for descendants and subclasses. · a5dda976
      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.
      a5dda976
  11. 04 7月, 2010 2 次提交
    • A
      Refactor resource options and scoping. Resource classes are now only... · c6843e23
      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>
      c6843e23
    • W
      Fixes for "router" and "routes" terminology · 75b32a69
      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>
      75b32a69
  12. 03 7月, 2010 2 次提交
  13. 02 7月, 2010 4 次提交
  14. 30 6月, 2010 6 次提交
  15. 29 6月, 2010 1 次提交