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.

JackC's latest activity

Wednesday, April 13 2011
5851 has_and_belong_to_many destroy with foreign key constraints broken was updated in Ruby on Rails
  • JackC
    JackC commented at 9:48 PM

    Correction, deferred foreign keys don't work either. Rails is actually deleting the HABTM association after is commits the destroy transaction. This also could ...

Saturday, April 09 2011
5851 has_and_belong_to_many destroy with foreign key constraints broken was updated in Ruby on Rails
  • JackC
    JackC commented at 3:17 PM

    A workaround for PostgreSQL users is to define the foreign keys as initially deferred. That will let Rails delete it in the wrong order without error.

Thursday, January 13 2011
2324 config.reload_plugins = true only works in environment.rb was updated in Ruby on Rails
  • JackC
    JackC commented at 4:18 PM

    config.reload_plugins = true in development.rb is working for me on Rails 3.0.2 running in development mode through Passenger/Apache2.

Thursday, December 30 2010
6235 ActiveRecord should not silently discard values it can't typecast was created in Ruby on Rails
  • JackC
    JackC created the ticket at 9:20 PM

    When ActiveRecord is given a value for a field that can't be correctly typecast it sets the field to nil.

    If this is an optional field that means that incorrect...

Sunday, January 24 2010
3777 [PATCH] PostgreSQL timestamp with zone type support was created in Ruby on Rails
  • JackC
    JackC created the ticket at 2:35 AM

    The current Rails practice with PostgreSQL is to use timestamp without zone and use ActiveRecord's time zone handling. This works fine for Rails but makes it sl...

Saturday, August 02 2008
745 Form label should use I18n was created in Ruby on Rails
  • JackC
    JackC created the ticket at 4:36 AM

    Form labels should look in active_record.human_attribute_names namespace in the I18n system for the correct label text.

    f.label(:name) should equal f.label(:n...