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.

There was a problem

You must be a member of this account.

nikz's latest activity

Thursday, August 07 2008
423 Date.at_end_of_week is unpredictable was updated in Ruby on Rails
  • nikz
    • Tag set to activesupport, bug, core_ext, date
    by nikz at 10:46 AM

    Hey there,

    This should be easy enough to override if you'd like the week to end on Saturday.

    In Ruby core, Sunday is "wday" 0, and Saturday is wday "6".

    I'm ...

Tuesday, August 05 2008
183 strange link_to behavior on links to controllers in modules was updated in Ruby on Rails
  • nikz
    nikz commented at 12:40 PM

    Actually, upon further investigation, that method isn't called anywhere! (nowhere I can grep for, anyways).

    Regardless, the REAL (slim shady) relevant sectio...

  • nikz
    • Tag set to helper
    by nikz at 12:33 PM

    Hey Amol,

    The relevant code is in /actionpack/lib/action_controller/routing.rb on line 348:

          # Returns a controller path for a new +controller+ based on...
343 assume_migrated_upto_version doesn't work with non-standard migrations path was updated in Ruby on Rails
  • nikz
    • Tag set to activerecord
    by nikz at 12:02 PM

    Hey there!

    This looks fairly easy to fix but (just out of interest):

    • Is there a reason you're using a non-standard migrations path?
    • How are you using the n...
747 Don't load every migration all the time was updated in Ruby on Rails
  • nikz
    nikz commented at 4:53 AM

    Added a patch with both commits squashed together :)

Sunday, August 03 2008
747 Don't load every migration all the time was updated in Ruby on Rails
  • nikz
    nikz commented at 5:16 AM

    Added a new patch that uses MigrationProxy rather than MigrationStub, and just delegates to a load method.

Saturday, August 02 2008
747 Don't load every migration all the time was created in Ruby on Rails
  • nikz
    nikz created the ticket at 6:45 AM

    Sometimes you reference Models in early migrations that have been renamed by the time you get to later versions.

    This means your migrations will die with ugly...

Sunday, July 27 2008
712 Added the ability to have a polymorphic in a conditions hash was updated in Ruby on Rails
Thursday, July 17 2008
446 Make timestamped migrations optional was updated in Ruby on Rails
  • nikz
    nikz commented at 2:42 AM

    Uploaded a diff that flips the default and adds docs, so us luddites can have our numbers back ;)

    Now you kids get off my dang lawn!

Wednesday, July 16 2008
631 Move Migration UTC Timestamps Inside File was created in Ruby on Rails
  • nikz
    nikz created the ticket at 12:51 PM

    This is a patch-in-progress to move the UTC timestamps into migration files, rather than having them as part of the filename.

    It was discussed on the core lis...