gamov
Not a member
gamov's latest activity
Sunday, March 06 2011
5829
ActiveRecord::Relation#empty? fails for grouped relations, as OrderedHash is ...
was updated
in Ruby on Rails
-
gamov commented at 6:54 AMSame issue for me with the following scope:
scope :quantity_for_bs, lambda {|bs_id|{ :joins => :shipment, :select => '*, SUM (quantity) as total...
Wednesday, March 02 2011
6495
rake db:fixtures:load doesn't resolve properly label references for associations
was updated
in Ruby on Rails
-
gamov commented at 4:48 AMWeirdly, I've created this test application because my big application that I'm migrating to rails 3 couldn't load the fixtures properly; the same way as this t...
Tuesday, March 01 2011
6495
rake db:fixtures:load doesn't resolve properly label references for associations
was created
in Ruby on Rails
-
gamov created the ticket at 5:42 PMWhen using fixtures with "Label references for associations" (see doc activerecord/lib/active_record/fixtures.rb), the rake command rake db:fixtures:load fails ...
Tuesday, July 27 2010
2460
Calling empty? on a named_scope with :select => "distinct table_name.*" throw...
was updated
in Ruby on Rails
-
- Importance changed from to
Emili, weirdly enough with a scope like this:
named_scope :distinct_per_location, lambda {{ :select => "distinct item_variant_id, location_id" }}...