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.

Jason Langenauer's latest activity

Tuesday, November 23 2010
6021 Make User[:id] returning Arel::Attributes::* instance as a shortcut to use AR... was updated in Ruby on Rails
  • Jason Langenauer
    Jason Langenauer commented at 4:38 AM

    +1

    I've monkey-patched something exactly like this into a Rails application I've been working on. It turns out to be very workable and produces quite succinct c...

Tuesday, November 16 2010
5477 Arel won't let ActiveRecord query against tables that have columns it doesn't... was updated in Ruby on Rails
  • Jason Langenauer
    Jason Langenauer commented at 10:48 AM

    This bug appears to have regressed in Rails 3.0.2 - I'm seeing the same error raised from a PostgreSQL BIGINT column. Stack trace below:

    arel (2.0.2) lib/arel/a...

Saturday, November 13 2010
5959 It is no longer possible to use Non-Integer id columns in rails 3 was updated in Ruby on Rails
  • Jason Langenauer
    Jason Langenauer commented at 9:52 PM

    I think you need to investigate this a bit further. I've got a Rails 3.0.1 app which also uses non-Integer primary keys (in my case, just a string though), and ...

Friday, April 23 2010
4406 numericality validation gives misleading error message when only_integer is used was updated in Ruby on Rails
  • Jason Langenauer
    • Tag set to patch
    by Jason Langenauer at 2:01 PM

    Here's a patch with tests to resolve this issue - it's a patch against 2.3.5

    The only minor issue is that it hard-codes the use of "." as the numeric separator,...

Thursday, April 22 2010
4406 numericality validation gives misleading error message only_integer is uses was updated in Ruby on Rails