Permalink
Commits on Jul 8, 2010
Commits on Jul 7, 2010
  1. Print proper "Usage:" messages for "rails plugin" command

    * 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: Jeremy Kemper <jeremy@bitsweat.net>
    amatsuda committed with jeremy Jul 4, 2010
  2. whitespace

    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    amatsuda committed with jeremy Jul 4, 2010
  3. Fixed gruoped_by_title spelling [#5063 state:committed]

    Signed-off-by: Xavier Noria <fxn@hashref.com>
    Ben Somers committed with fxn Jul 7, 2010
  4. adding some behavioral tests for the sqlite adapter. [#5065 state:res…

    …olved]
    
    Signed-off-by: wycats <wycats@gmail.com>
    tenderlove committed with wycats Jul 7, 2010
Commits on Jul 6, 2010
  1. When a dynamic :controller segment is present in the path add a Regex…

    …p 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: José Valim <jose.valim@gmail.com>
    pixeltrix committed with josevalim Jul 6, 2010
  2. Refactor handling of :only and :except options. The rules are:

    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: José Valim <jose.valim@gmail.com>
    pixeltrix committed with josevalim Jul 6, 2010
  3. documents automatic management of join models in hmt associations, in…

    … particular the gotcha that deletion is direct
    fxn committed Jul 6, 2010
  4. Merge branch 'master' of github.com:lifo/docrails

    Neeraj Singh committed Jul 6, 2010
  5. added more info about << operation in associations

    Neeraj Singh committed Jul 6, 2010
Commits on Jul 5, 2010
  1. Define a convention for descendants and subclasses.

    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.
    josevalim committed Jul 5, 2010
Commits on Jul 4, 2010
  1. Adds tests for content negotiation change introduced in dc5300a

    Signed-off-by: wycats <wycats@gmail.com>
    Patrik Stenmark committed with wycats May 15, 2010
  2. ARGV.empty? is useless. If ARGV is empty, ARGV.first != "new" will al…

    …ways be true
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    madjo committed with josevalim Jul 4, 2010
  3. Fix syntax of routing tests so they actually run

    Signed-off-by: José Valim <jose.valim@gmail.com>
    pixeltrix committed with josevalim Jul 4, 2010
  4. 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: José Valim <jose.valim@gmail.com>
    pixeltrix committed with josevalim Jul 4, 2010
  5. 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).
    pixeltrix committed Jul 4, 2010
Commits on Jul 3, 2010
  1. Fixes for "router" and "routes" terminology

    Commit f7ba614 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 f7ba614.
    
    Signed-off-by: Wincent Colaiuta <win@wincent.com>
    Signed-off-by: José Valim <jose.valim@gmail.com>
    wincent committed with josevalim Jul 3, 2010
  2. Refactor recall parameter normalization [#5021 state:resolved]

    Signed-off-by: José Valim <jose.valim@gmail.com>
    pixeltrix committed with josevalim Jul 3, 2010
  3. Removes the dependency that AMo has on tzinfo

    [#4979 state:committed]
    spastorino committed Jul 3, 2010