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.

Simon Hafner's latest activity

Monday, June 07 2010
3765 Missing shallow routes in new router DSL was updated in Ruby on Rails
  • Simon Hafner
    Simon Hafner commented at 9:41 AM

    By REST theory, every resource should have an unique URL. Probably generate short helpers that create the same long URL? There are a bunch of URL shorteners out...

Tuesday, June 01 2010
4683 ASCII-8BIT and UTF-8 in hell was updated in Ruby on Rails
  • Simon Hafner
    Simon Hafner commented at 12:48 PM

    If you do an eval, put the RUBY_VERSION =~ /1.9/ somewhere outside the eval'd string.

4725 [PATCH] Allow ActiveModel attribute names with spaces and other characters was updated in Ruby on Rails
  • Simon Hafner
    Simon Hafner commented at 10:58 AM

    Why don't remove the String eval part as you're using define_method instead of def?

Wednesday, April 28 2010
4028 FileStore#delete_matched shouldn't error on missing dir was updated in Ruby on Rails
  • Simon Hafner
    Simon Hafner commented at 6:19 PM

    -1 Don't use Exception handling for flow control (you might also catch too much with SystemCallError).