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.

Nate Wiger's latest activity

Thursday, January 21 2010
3743 script/plugin install git://whatever does nothing was updated in Ruby on Rails
  • Nate Wiger
    Nate Wiger commented at 11:19 PM

    [nwiger@example.com]$ git --version

      git version 1.5.6
      [nwiger@example.com]$ which git
      /usr/local/bin/git
      [nwiger@example.com]$ uname -a
      Darwin exampl...
Tuesday, January 19 2010
3743 script/plugin install git://whatever does nothing was created in Ruby on Rails
  • Nate Wiger
    Nate Wiger created the ticket at 2:17 AM

    Been this way for a while. Borked in 2.3 and 3.0pre. Either script/plugin should be removed or it should really be fixed :-(

    [nwiger@sliver:testapp]$ script/pl...
Sunday, January 10 2010
3679 Fix to enable better error message on middleware.insert_before was updated in Ruby on Rails
  • Nate Wiger
    Nate Wiger commented at 2:26 AM

    I hate lighthouse

  • Nate Wiger
    Nate Wiger created the ticket at 2:25 AM

    Patch against Rails 3.0.pre (edge)

    Without the patch, if you try this:

    ...middleware.insert_before(
      Non::Existent::Middleware,
      My::Middleware
    )
    

    You get:

    E...

3508 Limit MySQL index name length was updated in Ruby on Rails
  • Nate Wiger
    Nate Wiger commented at 12:14 AM

    @Bibler Any limit needs to remain database dependent as Oracle's limit is 30 chars

Wednesday, April 22 2009
2419 [Patch] Raise specific exceptions for violated database constraints was updated in Ruby on Rails
  • Nate Wiger
    Nate Wiger commented at 8:05 PM

    +1 for this please

    This would be a HUGE help for us. We use unique contraints and foreign keys all over the place, and explicitly DON'T use validates_uniqueness...

2540 Looks like helper :all is broken in Rails 2.3.2 was updated in Ruby on Rails
  • Nate Wiger
    Nate Wiger commented at 7:40 PM

    This is invalid. Nevermind.

    It turns out an Engine supplied application_helper.rb, which was used instead of the default one.

    Interesting landmine to watch out ...

  • Nate Wiger
    Nate Wiger commented at 2:09 AM

    I'm sorry, I typed that code rather than cut-and-pasting it.

    The helper :all is of course in ApplicationController

    class ApplicationController < ActionControll...
  • Nate Wiger
    Nate Wiger created the ticket at 2:08 AM

    We're running Rails 2.3.2 w/ Mongrel on Mac. On startup, it appears helper :all is ignored in application_controller.rb

    The following does not work:

    class Appl...
Wednesday, April 15 2009
2222 ActiveRecord not using bind vars for association loading? was updated in Ruby on Rails
  • Nate Wiger
    • Tag changed from 2.3.x, activecord, active_record, association, associations, associations_preload, association_preload, preload, preload_associaitons, preload_associations to 2.3.x, activecord, active_record, association
    • Assigned user cleared.
    by Nate Wiger at 6:48 PM

    That doesn't sound exactly right.

    There are many methods within the AR code that separate out the SQL strings from the "bind" values, explicitly so that SQL inj...