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.

Jon Atack's latest activity

Sunday, March 06 2011
1152 Support for nested :through associations was updated in Ruby on Rails
  • Jon Atack
    Jon Atack commented at 7:09 PM

    Thanks, Jon! Looking forward to this.

Saturday, February 19 2011
6450 Arel generates invalid SQL when using DISTINCT ON in PostgreSQL was updated in Ruby on Rails
  • Jon Atack
    Jon Atack commented at 9:58 PM

    I meant to write under Rails 3.0.3 ...

  • Jon Atack
    Jon Atack commented at 9:57 PM

    I ran across the same issue using Postgresql under Rails 3.0.4 and Ruby 1.9.2p0 2 months ago.

    I wanted to do this:

    scope :last_concerts,

    select("DISTINCT (conc...
Friday, February 11 2011
6410 Date.yesterday == Date.today was updated in Ruby on Rails
  • Jon Atack
    Jon Atack commented at 11:34 PM

    Like ericp
    I cannot replicate this issue with Ruby 1.9.2p0 and Rails 3.04.

Thursday, March 25 2010
3880 validate_on_create and validate_on_update no longer seem to exist was updated in Ruby on Rails
  • Jon Atack
    Jon Atack commented at 1:04 AM

    Or using your example:

    validate :create_validation, :on => :create

  • Jon Atack
    Jon Atack commented at 1:04 AM

    Or using your example:

    validate :create_validation, :on => :create

  • Jon Atack
    Jon Atack commented at 1:02 AM

    validate :method_name, :on => :create
    validate :method_name, :on => :update