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.

pmontrasio's latest activity

Tuesday, April 26 2011
873 validates_inclusion/exclusion_of should also accept a symbol or proc as the :... was updated in Ruby on Rails
  • pmontrasio
    • State changed from stale to open
    by pmontrasio at 7:48 AM

    [state:open]

Monday, April 25 2011
873 validates_inclusion/exclusion_of should also accept a symbol or proc as the :... was updated in Ruby on Rails
  • pmontrasio
    • Tag cleared.
    by pmontrasio at 5:24 PM

    It seems that shuber's patch didn't make it into Rails 3. Too bad because I was looking for a way to validate against some dynamic value. I'll fall back to writ...

Sunday, November 15 2009
3473 Cannot assign values to non numeric primary key attributes in Model#new and #... was updated in Ruby on Rails
  • pmontrasio
    pmontrasio commented at 9:16 AM

    I attach a better patch. The formatting of the one in the original post got garbled and it contained a but of its own anyway.

Monday, November 09 2009
3473 Cannot assign values to non numeric primary key attributes in Model#new and #... was created in Ruby on Rails
  • pmontrasio
    pmontrasio created the ticket at 12:15 PM

    This is a model that defines a string field as primary key:

    class Game < ActiveRecord::Base
    set_primary_key "name" end

    and this is the migration that creates th...