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.

matthuhiggins's latest activity

Thursday, April 08 2010
4347 Add foreign key support to migrations and schema.rb dump was updated in Ruby on Rails
  • matthuhiggins
    matthuhiggins commented at 9:52 PM

    foreign_keys-2.diff tests that foreign keys are dumped to schema.rb after the tables

  • matthuhiggins
    matthuhiggins commented at 7:27 PM

    Oops, this patch left out tests for the schema dumper.

  • matthuhiggins
    matthuhiggins created the ticket at 6:57 PM

    This patch adds the following methods to migrations:

    add_foreign_key(referencing_table, referenced_table, options = {})
    remove_foreign_key(referencing_table, o...
Friday, September 11 2009
3189 Add read_multi to ActiveSupport::Cache::Store was created in Ruby on Rails
  • matthuhiggins
    matthuhiggins created the ticket at 8:55 AM

    I currently run unit tests with MemoryStore, and production with MemCacheStore. I use the 'read_multi' method provided by MemCacheStore, but read_multi is only ...

Monday, September 08 2008
445 Improved support for model namespaces (fixtures, generators, table naming) was updated in Ruby on Rails
  • matthuhiggins
    matthuhiggins commented at 5:33 AM

    I don't see reason for using double underscores to disambiguate modules from class names. There is no need to go from table name -> class.

    Currently, Inflector....

Wednesday, August 20 2008
874 ActiveRecord::Observer.observe should take a String was created in Ruby on Rails
  • matthuhiggins
    matthuhiggins created the ticket at 10:02 PM

    This method only supports a class or symbol. It is inconsistent with most other API's in that it does not take a String.

    This also improves namespacing support...

Tuesday, April 29 2008
62 Add in place versions of compact, uniq, flatten to Array.prototype was updated in Ruby on Rails
  • matthuhiggins
    matthuhiggins commented at 8:28 PM

    I added this ticket over at prototype.lighthouse. I do not have privileges to close this one.

  • matthuhiggins
    matthuhiggins created the ticket at 7:13 PM

    Given that prototype is modeled after Ruby, it seems like the in place '!' versions of these functions are missing. Since Array.prototype.reverse already takes...

Sunday, April 27 2008
55 Remove default integer :limit from MysqlAdapter.native_database_types was created in Ruby on Rails
  • matthuhiggins
    matthuhiggins created the ticket at 11:11 PM

    A recent change to the MySql adapter adds smallint and bigint support based on the specified :limit. Since the default integer limit is specified as 11, intege...

39 Add blocks to AR create and update was updated in Ruby on Rails
  • matthuhiggins
    matthuhiggins commented at 10:38 PM

    Using returning reduces performance. Since create is a common operation, my suggestion might not be worth it.