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.

Rob Anderton's latest activity

Wednesday, September 10 2008
892 composed_of constructor and converter options was updated in Ruby on Rails
  • Rob Anderton
    Rob Anderton commented at 1:04 PM

    Given that this patch fixes what is really a bug in ActiveRecord, doesn’t break existing code and is now the third such patch to address the issue of constructo...

Tuesday, August 26 2008
892 composed_of constructor and converter options was updated in Ruby on Rails
  • Rob Anderton
    Rob Anderton commented at 7:20 PM

    My IPAddress example is probably to blame. The differences are:

    • :constructor is called when instantiating the aggregate object and is therefore passed all of ...
Sunday, August 24 2008
892 composed_of constructor and converter options was created in Ruby on Rails
  • Rob Anderton
    Rob Anderton created the ticket at 11:08 AM

    Attached is a patch for composed_of aggregations that does the following:

    1. It adds a new :constructor option that takes a symbol or a proc that will be used to...
Friday, August 15 2008
785 Caching models fails in development was updated in Ruby on Rails
  • Rob Anderton
    Rob Anderton commented at 9:46 AM

    I agree it's not a caching issue - it is a class reloading issue and as I showed in my last post it goes back at least as far as Rails 1.2.5.

    To quote a Giles ...

Thursday, August 14 2008
785 Caching models fails in development was updated in Ruby on Rails
  • Rob Anderton
    Rob Anderton commented at 7:19 PM

    We seem to be moving onto a different issue and one I've always assumed was expected behaviour. I'd thought that by reloading a class' definition you were effec...

Tuesday, August 12 2008
785 Caching models fails in development was updated in Ruby on Rails
  • Rob Anderton
    Rob Anderton commented at 8:28 AM

    Given that both the memcache and file stores (thanks to Ryan's other patch) will marshal objects, why is it such a horrible idea to use marshalling on the memor...

Monday, June 30 2008
514 Rails::Configuration default_cache_store not called was created in Ruby on Rails
  • Rob Anderton
    Rob Anderton created the ticket at 11:52 AM

    The Rails::Configuration class initialize method does not call the default_cache_store method to assign a default value to the cache_store attribute.

    If no ca...

Monday, June 09 2008
300 Unsigned integers for MySQL was updated in Ruby on Rails
  • Rob Anderton
    Rob Anderton commented at 9:15 PM

    Updated patch attached: this doesn't touch the primary keys at all, it just adds an :unsigned option to migrations.

    I have some other, non-MySQL specific, ide...

Monday, June 02 2008
300 Unsigned integers for MySQL was created in Ruby on Rails