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.

Roger's latest activity

Friday, June 20 2008
249 better coloration on error messages was updated in Ruby on Rails
  • Roger
    Roger commented at 7:22 PM

    I almost wonder if it wouldn't be even more helpful to include more with the error messages. Like an inspection of the controller's local variables. My thoug...

Saturday, May 24 2008
249 better coloration on error messages was updated in Ruby on Rails
  • Roger
    Roger commented at 12:20 AM

    v4 combine all commits into a single commit, add better colors. This is a nice patch for being able to instantly see which line your code erred on.

Friday, May 23 2008
249 better coloration on error messages was updated in Ruby on Rails
  • Roger
    Roger commented at 11:40 PM

    v3 takes out an extra line I had added in there by mistake

  • Roger
    Roger commented at 11:35 PM

    This version of the patch [v2] now adds coloration for the line on which the error occurred.

  • Roger
    Roger commented at 11:01 PM

    to test this patch apply, then add a syntax error to a view, and go to that view. It should have a red filename now [dark red].

  • Roger
    Roger created the ticket at 10:53 PM

    this patch makes it so that on rails' code based error messages, the filename is shown in red, so that people can identify more easily which file they need to ...

246 more verbose warning on boot failure was updated in Ruby on Rails
  • Roger
    Roger commented at 11:00 PM

    here's the same patch using the approved git style patch instead of git diff.

    To test this patch apply, then go to boot.rb and add

    require 'nonexisting' with...

  • Roger
    Roger created the ticket at 6:45 PM

    It would be helpful for at least a few people [myself included] if, when rails encounters a LoadError loading rubygems, it outputs what the error was.

    In my i...

87 Dependencies shouldn't swallow errors from required files. was updated in Ruby on Rails
  • Roger
    Roger commented at 6:01 PM

    I believe it happened to me if there was an error in a plugin loading. Like a syntax error in one of the files. The 'real' error message was never output.

    I...

Wednesday, May 21 2008
229 raise_on_type_mismatch : expected User, got User was updated in Ruby on Rails
  • Roger
    Roger commented at 5:05 PM

    I wonder if it couldn't use something like

    if is_a?(klass) or is_a?(eval(klass)) # only use the eval as a backup...

    -R