Luke Ludwig
Not a member
Luke Ludwig's latest activity
Monday, March 16 2009
-
Luke Ludwig created the ticket at 2:35 AMThis patch fixes the test_caching_of_columns in has_and_belongs_to_many_associations_test.rb, which was previously rendered useless since it was failing for pos...
Tuesday, January 20 2009
-
Luke Ludwig commented at 4:25 AMAttached is a patch that fixes test_caching_of_columns to work for all database adapters. I did an alias_method_chain on connection.columns to count the number ...
Saturday, January 17 2009
-
Luke Ludwig commented at 6:11 PMThe caching works the same for all adapters, so this is just a test issue. The caching of the habtm columns is very similar in regards to the caching of columns...
-
Luke Ludwig commented at 4:06 PMLooks like the sqlite adapter doesn't make any queries when calling connection.columns, at least from the perspective of assert_queries, which causes the test_c...
Friday, January 16 2009
-
-
Luke Ludwig commented at 7:15 PMHere is the patch file. The columns are now cached within the reflection instance. You can now call columns and reset_column_information on the the habtm associ...
-
Luke Ludwig commented at 3:34 AMMatt - Doesn't the query_cache only persist for the life of the request? We want the habtm columns to be cached for the life of the process, (or until reset_col...
Monday, January 12 2009
-
Luke Ludwig created the ticket at 3:50 PMThis patch caches columns for has_and_belongs_to_many associations. The cache is stored in a hash (with table name as the key) within one of the owners of the h...