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.

jp.blanco's latest activity

Monday, February 07 2011
6385 You can't exclude distinct when you have a count and at least one include in ... was created in Ruby on Rails
  • jp.blanco
    jp.blanco created the ticket at 7:21 PM

    I want to be able to exclude the distinct statement in one of my queries, but I have a count operation and an outer join.
    If you take a look at https://github....

Thursday, November 11 2010
5932 Additional attributes on select don't appear. was updated in Ruby on Rails
  • jp.blanco
    jp.blanco commented at 2:12 PM

    This is the schema for those models,

     create_table "communities" do |t|
        t.string   "title"
        t.integer  "community_type_id"
      end
    
      create_table "commun...
Monday, November 08 2010
5932 Additional attributes on select don't appear. was created in Ruby on Rails
  • jp.blanco
    jp.blanco created the ticket at 5:24 PM

    In rails 3 if I have a scope and add extra attributes on select, they won't be present in the result.

    example:

    results=CommunityType.my_scope.select('community...