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.

Andrew White's latest activity

Thursday, August 26 2010
3738 Breaking change in request.path_parameters was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 10:18 AM

    I'm pretty sure that this is intentional as there is symbolized_path_parameters. I suspect the change came about because path_parameters is stored in the rack e...

Wednesday, August 25 2010
5458 Incorrect routing when controller specified for resources - Rails 3.0.0.rc was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    • Importance changed from to Low
    by Andrew White at 9:42 PM

    Using your original routes, here's the output from the current master:

    reward_all_users POST   /account/reward_all(.:format) {:action=>"reward_all", :controlle...
5452 Rails info route appears in rake routes was updated in Ruby on Rails
  • Andrew White
    • Assigned user changed from Andrew White to José Valim
    by Andrew White at 6:33 AM

    Patch to remove it

  • Andrew White
    Andrew White created the ticket at 6:30 AM

    After the recent router changes the /rails/info/properties route now appears in the rake routes output

Tuesday, August 24 2010
5437 RC2: Functional tests fail when they generate a route before calling an action was updated in Ruby on Rails
  • Andrew White
    • Assigned user changed from Andrew White to José Valim
    by Andrew White at 3:14 PM

    Attached patch fixes issue by resetting symbolized path parameters when request is recycled.

5438 RC2 Controller specs - path helpers was updated in Ruby on Rails
  • Andrew White
    • State changed from new to duplicate
    • Importance changed from to Low
    by Andrew White at 2:09 PM

    Duplicate of #5437

5214 In new router, collection doesn't add name of the parent resource was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 1:51 PM

    The concept of nested resources implies ownership by the parent therefore the use case isn't intended to exist, so I'd use whatever alternative method of genera...

5432 User mysql2 taked uninitialized constant Mysql error. was updated in Ruby on Rails
  • Andrew White
    • Milestone cleared.
    • State changed from new to open
    • Assigned user set to Andrew White
    • Importance changed from Low to High
    by Andrew White at 12:49 PM

    The problem is that YAML is treating your password as a integer and the Mysql2 library generates an exception when passed a Fixnum for the password. The db:crea...

  • Andrew White
    • Importance changed from to Low
    by Andrew White at 8:39 AM

    You need to have mysql2 in your Gemfile not mysql - works fine for me in a new app.

5431 Rails 3 RC Routing: resource member routes lack defaults was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 7:43 AM

    Okay, here's a patch to add a default name and action if the string is just alphanumeric.