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.

James Le Cuirot's latest activity

Wednesday, September 09 2009
3174 Add support for PostgreSQL citext column type was created in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot created the ticket at 4:09 PM

    I've just migrated from MySQL to PostgreSQL and I was really surprised to find that text columns are actually case sensitive. The workarounds were ugly and awkw...

Sunday, August 09 2009
1331 Allow arbitrary named_scope instances to be merged was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 11:09 PM

    That's fair enough. Thanks for the info.

  • James Le Cuirot
    James Le Cuirot commented at 4:40 PM

    I'm not sure I'd use the term "union" because conditions in one scope might remove records included by the other scope. I just want to merge two scopes together...

  • James Le Cuirot
    James Le Cuirot commented at 3:19 PM

    Dan, had a think about your suggestion but it doesn't really make sense. It's already possible to do stuff like Shirt.red.dry_clean_only. What I'm asking for is...

  • James Le Cuirot
    James Le Cuirot commented at 3:08 PM

    Here's the patch against 2-3-stable.

  • James Le Cuirot
    James Le Cuirot commented at 10:29 AM

    I'll try and post a new patch today. I know that this works with 2.3. I'll have a think about your suggestion.

2329 Default to :all if :select contains comma when counting was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 4:48 PM

    It won't fix anything on the latest 2-3-stable anyway as I have already said because the feature was reverted. I have now read the rails-core discussion and I d...

1428 Join tables referenced by :group when eager loading was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 10:36 AM

    I realised shortly after posting this that I didn't actually need it and I could approach the problem in a better way. I've forgotten the details though. I doub...

Saturday, August 08 2009
2329 Default to :all if :select contains comma when counting was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 10:40 PM

    There's a reason for that. The change that allowed scoped :select to be passed through to count created problems with has_many :through associations and was rec...

Monday, July 27 2009
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails
  • James Le Cuirot
    James Le Cuirot commented at 4:46 PM

    I was relying on this feature so I was a little disappointed that it got reverted. Guess you can't please everybody. I have a bunch of customisations/fixes that...