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.

Jeff Dean's latest activity

Saturday, December 11 2010
2989 Setting the id of a belongs_to object does not update the reference to the ob... was updated in Ruby on Rails
  • Jeff Dean
    Jeff Dean commented at 8:44 PM

    Here's a patch that should apply cleanly to the 2-3-stable branch.

Saturday, December 04 2010
2989 Setting the id of a belongs_to object does not update the reference to the ob... was updated in Ruby on Rails
  • Jeff Dean
    Jeff Dean commented at 6:25 AM

    I've confirmed that this is still an issue and recreated a patch that should apply cleanly.

Friday, December 03 2010
2989 Setting the id of a belongs_to object does not update the reference to the ob... was updated in Ruby on Rails
  • Jeff Dean
    Jeff Dean commented at 9:01 PM

    Any progress on this?

Friday, July 30 2010
5204 When a new Rails application is created by "rails new", autoload_paths instea... was updated in Ruby on Rails
  • Jeff Dean
    Jeff Dean commented at 5:41 AM

    Is there any reason not to deprecate load_paths? These seemingly arbitrary name changes, with no deprecation warnings, make it harder for people to upgrade. If ...

5218 Rails 3 RC does not autoload from lib/ was updated in Ruby on Rails
  • Jeff Dean
    Jeff Dean commented at 5:39 AM

    Jose - could you please expand on why this change was intentional?

    I haven't come across an app that didn't assume files in /lib were loaded. The error messages...

Tuesday, July 27 2010
5205 ActiveRecord no longer populates uuid ids that were generated in the database was updated in Ruby on Rails
  • Jeff Dean
    Jeff Dean commented at 5:18 AM
  • Jeff Dean
    Jeff Dean commented at 5:18 AM

    Migration

    class CreatePosts < ActiveRecord::Migration
      def self.up
        execute <<-SQL
          CREATE FUNCTION uuid_generate_v1() RETURNS uuid
              LANGUAGE...
  • Jeff Dean
    Jeff Dean created the ticket at 2:46 AM

    I have an app with a postgres database. My primary keys are uuids that are populated by a postgres function. In Rails 2.3.8 when I create a record, the id field...

Monday, July 26 2010
5194 ActiveRecord Beta 4 does not understand most postgres data types was created in Ruby on Rails
  • Jeff Dean
    Jeff Dean created the ticket at 6:24 AM

    I have a postgres database with a table that has a column of type search_vector (and other postgres-specific data geometry data types). Up to Rails 2.3.8 everyt...

Sunday, July 04 2010
2989 Setting the id of a belongs_to object does not update the reference to the ob... was updated in Ruby on Rails
  • Jeff Dean
    • Importance changed from to
    by Jeff Dean at 5:08 AM

    Here's a patch that moves the loop from the setter method. The code looks like this:

    def association_foreign_key_setter_method(reflection)
      setters = reflect_...