Permalink
Commits on Jan 26, 2009
  1. Mysql#reconnect is set according to the 'reconnect' key in the connec…

    dubek committed with NZKoz Jan 26, 2009
    …tion spec.
    
    The 'reconenct' boolean option is read from the connection specification
    and is used to set the reconnect attribute of Mysql.  The default is
    false in order not to change existing application behaviour.
    
    Also, reconnect is set AFTER real_connect is called, so its value sticks
    (the mysql gem sets reconnect to false inside real_connect).
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1797 state:committed]
  2. Adding AR tests for JDBC connections

    stepheneb committed with NZKoz Dec 27, 2008
    New connections:
    
      jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb jdbcpostgresql
    
    To test you will need the native database installed (if one is required),
    activerecord-jdbc-adapter and the specific activerecord-jdbc<database>-adapter
    for the database you are testing.
    
    Run the tests like this:
    
      jruby -S rake test_jdbcmysql
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1685 state:committed]
Commits on Jan 22, 2009
Commits on Jan 21, 2009
  1. Rationalise the session options to one hash, prevents rack or integra…

    NZKoz committed Jan 21, 2009
    …tion tests from seeing incorrect defaults
Commits on Jan 18, 2009
  1. Fix has_and_belongs_to_many_associations tests. #1738

    NZKoz committed Jan 18, 2009
    Conflicts:
    
    	activerecord/test/cases/helper.rb
Commits on Jan 17, 2009
  1. Cache columns for has_and_belongs_to_many associations

    lukeludwig committed with NZKoz Jan 16, 2009
    This avoids repeatedly calling SHOW COLUMNS when the association is queried
    [#1738 state:committed]
Commits on Jan 15, 2009
  1. Fixing bug on ActiveRecord::Dirty#field_changed? for nullable numeric…

    ckozus committed with NZKoz Jan 4, 2009
    … columns, NULL gets stored in database for blank (i.e. '') values. Only integer columns were considered.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1692 state:committed]
Commits on Jan 11, 2009
  1. TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725

    Nicholas Dainty committed with gbuesing Jan 10, 2009
    … state:resolved]
Commits on Jan 7, 2009
  1. Remove errant debugger statement

    NZKoz committed Jan 7, 2009
Commits on Jan 5, 2009
  1. Cache AssetTag timestamps

    josh committed with dhh Jan 4, 2009
Commits on Jan 4, 2009
Commits on Jan 2, 2009
  1. Make sure #compute_public_path caching allows to return different res…

    dhh committed Jan 2, 2009
    …ults
    
    for different given sources [#1471 state:resolved]
Commits on Jan 1, 2009
  1. Fixed the AssetTagHelper cache to use the computed asset host as part…

    dhh committed Jan 1, 2009
    … of the cache key instead of just assuming the its a string [#1299 state:fixed]
Commits on Dec 16, 2008
  1. Revert "Make constantize look into ancestors"

    jeremy committed Dec 16, 2008
    [#410 state:open]
    
    This reverts commit 87790e0.
Commits on Dec 15, 2008
  1. Make constantize look into ancestors

    fcheung committed with jeremy Dec 14, 2008
    [#410 state:resolved]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. Fixed session related memory leak [#1558 state:resolved]

    fcheung committed with josh Dec 11, 2008
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
Commits on Dec 10, 2008
  1. Squash memory leak when calling flush with an empty buffer

    fcheung committed with jeremy Dec 10, 2008
    [#1552 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. Revert "Fix: counter_cache should decrement on deleting associated re…

    jeremy committed Dec 10, 2008
    …cords."
    
    [#1196 state:open]
    
    This reverts commit c9e176d.
  3. Fix test names collision.

    miloops committed with jeremy Dec 10, 2008
    [#1549 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  4. Fix: counter_cache should decrement on deleting associated records.

    miloops committed with jeremy Dec 2, 2008
    [#1195 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Dec 9, 2008
  1. Add ActiveSupport::Multibyte::Chars#ord method so that it returns cor…

    Jason Cheow committed with jeremy Nov 26, 2008
    …rect Unicode value instead of falling back on String#ord in CoreExtensions, which is not multibyte compatible
    
    [#1483 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Dec 8, 2008
  1. Change field_changed? method to handle the case where a nullable inte…

    bensymonds committed with jeremy Dec 8, 2008
    …ger column is changed from 0 to '0'
    
    [#1530 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Dec 3, 2008
Commits on Dec 2, 2008
  1. Make new_record? an alias of new? in ActiveResource to fix problem wi…

    miloops committed with NZKoz Dec 2, 2008
    …th route generation in forms.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
Commits on Dec 1, 2008
  1. handle missing dependecies in gem loading

    al2o3cr committed with NZKoz Nov 25, 2008
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
Commits on Nov 30, 2008
Commits on Nov 24, 2008
  1. Test default singleton resource route to ensure it uses GET. This is …

    geoffgarside committed with NZKoz Nov 24, 2008
    …important if using map.root :resource instead of map.root :resources for some reason.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
  2. Reorder the way in which map.resource routes are added to the set. Th…

    geoffgarside committed with NZKoz Nov 18, 2008
    …is prevents the singular named route from hitting :create instead of :show.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
Commits on Nov 23, 2008