Skip to content
Commits on Jul 6, 2010
  1. Pass routes via env['action_dispatch.routes'], it's needed by routes …

    …to determine if it should generate prefix for mounted apps
    committed Jul 1, 2010
  2. Another experimental implementation: try to use env['action_dispatch.…

    …routes'] to determine whether we are in call inside Engine or application. Calls without env present should always generate the prefix
    committed Jul 1, 2010
  3. Use a closure to bind _router with generated named routes. It allows …

    …to use named_routes from 2 routers in one scope
    committed Jul 6, 2010
Commits on Jul 5, 2010
  1. Gather initializers from railties in engines to get rid of additional…

    … looping through initializers
    committed Jun 23, 2010
Commits on Jul 4, 2010
  1. @spastorino @jeremy
  2. @spastorino @jeremy
  3. @wycats

    Adds tests for content negotiation change introduced in dc5300a

    Signed-off-by: wycats <wycats@gmail.com>
    Patrik Stenmark committed with wycats May 15, 2010
  4. @madjo @josevalim

    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
  5. @pixeltrix @josevalim

    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
  6. @pixeltrix @josevalim

    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
Commits on Jul 3, 2010
  1. @wincent @josevalim

    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. @jeremy
  3. @spastorino
  4. @pixeltrix @josevalim

    Refactor recall parameter normalization [#5021 state:resolved]

    Signed-off-by: José Valim <jose.valim@gmail.com>
    pixeltrix committed with josevalim Jul 3, 2010
  5. @spastorino

    Removes the dependency that AMo has on tzinfo

    [#4979 state:committed]
    spastorino committed Jul 3, 2010
  6. @spastorino
  7. @spastorino @jeremy
Commits on Jul 2, 2010
  1. @gbuesing @jeremy

    Time#as_json: use Time#formatted_offset instead of strftime %z direct…

    …ive, which is non-standard and inaccurate on some platforms (e.g., Mac OS X).
    
    [#4979]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    gbuesing committed with jeremy Jul 2, 2010
  2. @jeremy

    Fix indent

    jeremy committed Jul 2, 2010
  3. @josevalim
  4. @josevalim
Commits on Jul 1, 2010
  1. @spastorino @josevalim

    bump erubis version to 2.6.6 and thor version to 0.13.7

    Signed-off-by: José Valim <jose.valim@gmail.com>
    spastorino committed with josevalim Jul 1, 2010
  2. @spastorino @josevalim

    Time has it own implementation of xmlschema, now AMo doesn't depend o…

    …n TZInfo
    
    [#4979 state:committed]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    spastorino committed with josevalim Jul 1, 2010
  3. @josevalim

    Unify routes naming by renaming router to routes

    Signed-off-by: José Valim <jose.valim@gmail.com>
    committed with josevalim Jul 2, 2010
  4. @tenderlove @jeremy

    porting session.clear fix to master branch. [#5030 state:resolved]

    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    tenderlove committed with jeremy Jul 1, 2010
  5. @spastorino @jeremy
  6. @jeremy
  7. @josevalim

    Avoid calls to Rails::Application since this is not the official API.

    Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
    josevalim committed Jul 1, 2010
Something went wrong with that request. Please try again.