rafmagana
Not a member
rafmagana's latest activity
Wednesday, August 11 2010
-
rafmagana commented at 7:15 PMMaybe we should ask Yehuda how this actually works or should work:
git show d916c62c connection_adapters/abstract/query_cache.rb
-
rafmagana commented at 4:36 PMMaybe I'm wrong, but as far as I understand, the caching of the columns names is always[?] done by the ActiveRecord::Base.columns method via @columns:
Monday, August 09 2010
-
rafmagana commented at 11:52 PMHey Mark, I am not sure, I was doing some testing on that and I wasn't able to make Rails to call that method in any way. Look:
Task.cache do # calls ActiveR...
Sunday, August 08 2010
-
-
rafmagana commented at 8:20 AMHey Rohit, I was browsing the code because I was writing a post in my blog about the splat operator (http://bit.ly/raflabs_foo_splat), so I was looking for code...
Saturday, August 07 2010
-
rafmagana created the ticket at 8:21 PMhttp://bit.ly/rails3_query_cache_L60
def columns(*) if @query_cache_enabled @query_cache["SHOW FIELDS FROM #{args.first}"] ||= super else super en...
Tuesday, June 01 2010
-
rafmagana commented at 4:00 AMExcuse me, why do you want my patch to work with an array of symbols if the ActiveRecord#find method doesn't support it?
I mean User.all(:select => [:created_at...
Wednesday, May 12 2010
Saturday, February 20 2010
-
rafmagana created the ticket at 7:35 PMI've found myself in the need to discard one or two columns when I call ActiveRecord#find (all, first, last, etc), let's say the users table have 5 columns and ...