Artūras Šlajus
ruby/ror/rspec addict · Not a member
Artūras Šlajus's latest activity
Tuesday, November 03 2009
3455
AR belongs_to :include option doesn't do anything
was created
in Ruby on Rails
-
Artūras Šlajus created the ticket at 10:50 AMIt seems that eager loading of AR for belongs_to associations is broken.
With the new strategy for has_many associations, belongs_to doesn't left join relevant ...
Friday, December 19 2008
-
Artūras Šlajus commented at 11:06 PMAnd why does other stuff in activesupport belong in core? Not that I like being itchy but this patch doesn't hurt and perhaps it will be useful for someone?
Wha...
-
Artūras Šlajus commented at 11:51 AMBut doing so destroys original values.
For example my patch is very useful for tagging support where we want to keep original values.
>> a = ["Drum and bass"...
Thursday, December 18 2008
1595
Patch for ActiveSupport that Array#uniq and #uniq! supports blocks
was created
in Ruby on Rails
-
Artūras Šlajus created the ticket at 2:17 PMI found it useful when i wanted to ensure that array has no duplicate values while somehow transforming them, but not affecting original array so I wrote a patc...