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.

David Morton's latest activity

Tuesday, March 22 2011
6604 log file logs private IP of client home network was created in Ruby on Rails
  • David Morton
    David Morton created the ticket at 1:17 PM

    ON my home network, I have a transparent proxy. I am connecting to a rails server across the Internet. I was surprised to see this in the logs:

    Started GET "/au...

Thursday, November 18 2010
5798 RoutingError when using form_for, nested resources and :as was updated in Ruby on Rails
  • David Morton
    David Morton commented at 4:44 AM

    The reason of this error is that form_for does not know about routes. form_for uses polymorphic_url for generating url, which is based on model names

    I see se...

Monday, September 13 2010
5080 no such file to load test_helper was updated in Ruby on Rails
  • David Morton
    David Morton commented at 2:43 AM

    Why is this invalid? This fails for me too:

    cd test
    ruby unit/user_test.rb 
    <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- tes...
Monday, June 21 2010
4336 Ruby1.9: submitted string form parameters with non-ASCII characters cause enc... was updated in Ruby on Rails
  • David Morton
    David Morton commented at 10:59 PM

    My first attempt at creating a rails 3 project hit this one. @Szymon solution works, if a bit hackish. :)