Permalink
Switch branches/tags
Commits on Jun 29, 2010
  1. Really experimental and ugly stuff: try to generate prefix for named …

    drogus committed Jun 29, 2010
    …routes and then merge it with path
  2. Use a closure to bind _router with generated named routes. It allows …

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

    drogus committed Jun 23, 2010
    … looping through initializers
  2. Normalize recall params when the route is not a standard route otherw…

    pixeltrix committed with josevalim Jun 27, 2010
    …ise :controller and :action may appear in the generated url [#4326 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. removing useless code. [#4988 state:resolved]

    tenderlove committed with jeremy Jun 27, 2010
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  4. Refactor: metaprogramming here it's confusing and make use of tap

    spastorino committed with jeremy Jun 27, 2010
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  5. Change reference to Test::Unit::AssertionFailedError to the generic A…

    dtrasbo committed with jeremy Jun 26, 2010
    …ctiveSupport::TestCase::Assertion [#4987 state:commited]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  6. Removes useless flatten

    spastorino committed with wycats Jun 26, 2010
Commits on Jun 26, 2010
  1. Add module_eval missing file_name and line_number args [#4712 state:r…

    dolzenko committed with josevalim May 27, 2010
    …esolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. adding adapter tests, avoiding private apis, fixing code in 1.9 [#4986

    tenderlove committed with josevalim Jun 26, 2010
    …state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. Load JSON additions (as to_json) on active_support/all.

    spastorino committed with josevalim May 30, 2010
    [#4730 state:committed]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  4. Move constantize from conversions to inflections.

    spastorino committed with josevalim Jun 26, 2010
    This removes ActiveModel dependency on TZInfo.
    
    [#4979 state:committed]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  5. Make sure ActiveResource::Errors#from_json doesn't pass nil to #from_…

    dtrasbo committed with josevalim Jun 26, 2010
    …array [#3650 state:commited]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  6. Small changes to responder:

    josevalim committed Jun 26, 2010
    * resources is always an array;
    * Lazy retrieve request and formats;
    * Alias api_location and navigation_location to resource_location, making easier to change its behavior without affecting each other and without a need to reimplement any of the behavior methods.
  7. Tidy up tests in previous commit since they did not assure an Ordered…

    josevalim committed Jun 26, 2010
    …Hash is returned (the test would pass for an array and would pass by chance for hashes).
    
    [#4875 state:resolved]
  8. Add OrderedHash#invert to preserve order in ruby 1.8 [#4875]

    chaitanyav committed with josevalim Jun 26, 2010
    Signed-off-by: José Valim <jose.valim@gmail.com>
  9. Support optional static segements as well [#4832 state:resolved]

    pixeltrix committed with josevalim Jun 26, 2010
    Signed-off-by: José Valim <jose.valim@gmail.com>
  10. Fixed normalize_path in Routing::Mapper to handle optional prefix seg…

    pjb3 committed with josevalim Jun 26, 2010
    …ments with static and dynamic parts
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  11. Work around the fact the JSON gem was overwriting to_json implementat…

    josevalim committed Jun 26, 2010
    …ion for all Ruby core classes.
    
    This is required because the JSON gem is incompatible with Rails behavior and was not allowing ActiveModel::Errors to be serialized.
    So we need to ensure Rails implementation is the one triggered. [#4890 state:resolved]
  12. Move some methods into 1.8.x-only proxy. [#4978 state:resolved]

    norman committed with josevalim Jun 26, 2010
    These methods had been overridden because they had bugs on 1.9.1.  Since
    Rails now supports only 1.9.2, and these methods now work properly on
    that version, there's no longer any need to override them.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  13. Don't force pluralization of controller name when defining a resource [

    pixeltrix committed with josevalim Jun 26, 2010
    …#4980 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  14. URL fragments should not have safe characters escaped. Ref: Appendix A,

    pixeltrix committed with jeremy Jun 26, 2010
    http://tools.ietf.org/rfc/rfc3986.txt
    
    [#4762 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Jun 25, 2010
  1. refactoring the postgres adapter index method to avoid inject and use…

    tenderlove committed with josevalim Jun 25, 2010
    … values_at. [#4976 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. blocks removed from all the ActiveRelation query_methods, extend meth…

    spastorino committed with josevalim Jun 25, 2010
    …od added instead
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. Merge branch 'tago'

    josevalim committed Jun 25, 2010
  4. Add column and index query methods to ActiveRecord::Schema

    pixeltrix committed with josevalim Mar 18, 2010
    [#4219 state:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>