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.

gucki's latest activity

Thursday, September 23 2010
5690 [] should be escaped in urls was created in Ruby on Rails
  • gucki
    gucki created the ticket at 4:19 PM

    using rails3 and html5, user_path(:hash => {:a => 1}) outputs "/users?has[a]=1". this causes w3c validator errors, because [] (and possibly a few more special c...

Wednesday, September 22 2010
4444 Can no longer rescue_from ActionController::RoutingError was updated in Ruby on Rails
  • gucki
    gucki commented at 2:51 PM

    Please ignore my previous comment, it does not work that way. Seems rails had some routes cached, so it seemed to work initially.

  • gucki
    gucki commented at 2:34 PM

    The easiest way for me was to add this very last route:

    match ''=> lambda { |env| raise ActionController::RoutingError, env["PATH_INFO"] }

5683 better route managment was created in Ruby on Rails
  • gucki
    gucki created the ticket at 2:39 PM
    1. Priorities
      Rails should have a way to order routes. One idea is to allow specifying priorities, ex. resources :teams, :priority => 100.

    2. Remove routes
      Rails ...

Wednesday, August 25 2010
5252 ActiveModel Naming should take care of anonymous classes was updated in Ruby on Rails
  • gucki
    gucki commented at 2:48 PM

    So here's the patch to make ActiveModel::Translation#lookup_ancestors ignore anonymous classes. Would be nice if it'd be included in 3.0 final. :)
    http://githu...

5249 active_record does not follow active_model specs for #to_key was updated in Ruby on Rails
  • gucki
    gucki commented at 2:40 PM

    Santiago, it seems you only changed the doc of #to_key, not the implementation. Or am I missing something? :)

Sunday, August 15 2010
5383 AS dependencies resolver broken: not missing constant error was created in Ruby on Rails
  • gucki
    gucki created the ticket at 2:23 PM
    controllers/manage/cars_controller.rb
    # encoding: utf-8
    class Manage::CarsController < ApplicationController
      def index
        Car.new
      end
    end
    
    models/manage/c...
Saturday, August 14 2010
5249 active_record does not follow active_model specs for #to_key was updated in Ruby on Rails
  • gucki
    gucki commented at 8:54 AM

    Hi Santiago, thanks for getting on this. However I still think the patch should be the other way round.

    1. When an object is destroyed only the record in the db ...

Tuesday, August 10 2010
5252 ActiveModel Naming should take care of anonymous classes was updated in Ruby on Rails
  • gucki
    gucki commented at 8:31 AM

    Well, I guess the core team has to decide. So please, could any of the core team members let us know where to patch? I'll then provide the tested patch asap :)

    ...

Monday, August 09 2010
5252 ActiveModel Naming should take care of anonymous classes was updated in Ruby on Rails
  • gucki
    gucki commented at 5:15 PM

    You mean lookup_ancestors should always remove anonymous classes from its result? I guess also anonymous ancestors might be used somewhere and so should be incl...