Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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
    gamov commented at 6:54 AM

    Same 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
    gamov commented at 4:48 AM

    Weirdly, 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
    gamov created the ticket at 5:42 PM

    When 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
  • gamov
    • Importance changed from to
    by gamov at 11:33 AM

    Emili, weirdly enough with a scope like this:

      named_scope :distinct_per_location, lambda {{
              :select => "distinct item_variant_id, location_id"
      }}...