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.

Nathan Wilmes's latest activity

Thursday, May 08 2008
148 ActionMailer URL generation uses host/port from request was created in Ruby on Rails
  • Nathan Wilmes
    Nathan Wilmes created the ticket at 8:34 PM

    ActionMailer relies on the UrlWriter module to generate all of the URLs needed for links. Because UrlWriter doesn't know anything about the current request, i...

Wednesday, May 07 2008
135 Make ActiveRecord errors support full sentence messages was created in Ruby on Rails
  • Nathan Wilmes
    Nathan Wilmes created the ticket at 7:50 PM

    Current Rails is extremely strict about what an attribute-specific error message looks like. A human-readable attribute name is always the first word(s) of th...

128 Additional MySQL-specific helper methods was created in Ruby on Rails
  • Nathan Wilmes
    Nathan Wilmes created the ticket at 2:08 AM

    This patch includes the methods alter_charset, add_foreign_key_constraint, drop_foreign_key_constraint, and grant_access.

Tuesday, May 06 2008
10 Immediate flash values not accessible in tests was updated in Ruby on Rails
  • Nathan Wilmes
    Nathan Wilmes commented at 6:57 PM

    We took a slightly different approach to the same sorts of problems in ticket 121. Our goal with assert_showing_flash was to confirm that the app uses flash v...

117 Add assert_not_valid to model assertions was updated in Ruby on Rails
  • Nathan Wilmes
    Nathan Wilmes commented at 6:23 PM

    No good reason... I've just started using git, so I'm still working out how to do some of these kinds of operations.

  • Nathan Wilmes
    Nathan Wilmes commented at 5:38 PM

    Ok, here's the updated patch that makes additional parameters optional.

  • Nathan Wilmes
    Nathan Wilmes commented at 12:20 AM

    1. assert_not_valid opposes assert_valid more closely.. we were attempting to mimic the naming convention of assert_not_equal/assert_equal.

    2. I've thought a...

121 Add assert_showing_flash was updated in Ruby on Rails
  • Nathan Wilmes
    Nathan Wilmes commented at 6:19 PM

    Updating attachment

  • Nathan Wilmes
    Nathan Wilmes created the ticket at 2:12 AM

    This assertion is designed to help people test their use of flash and flash.now - and will give sensible errors if they use the wrong one.

    Flash.now in partic...

119 Add basic assertions to core_ext was created in Ruby on Rails
  • Nathan Wilmes
    Nathan Wilmes created the ticket at 12:54 AM

    The following patch defines a bunch of convenience assertions for general testing purposes. We've got assert_contains, assert_does_not_contain, assert_empty, ...