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

Sunday, July 25 2010
5191 resource/resources inside namespace generates wrong routes was updated in Ruby on Rails
  • gucki
    gucki commented at 12:48 PM

    Ok, the bug seems to happen even without namespace:

    Test::Application.routes.draw do |map|
      resources :as
      map.resources :bs
    end
    
           GET    /as(.:format...
  • gucki
    gucki commented at 12:39 PM

    And just for completeness, the same bug is present with resourceS inside namespace:

                 GET    /my/texts(.:format)          {:controller=>"my/texts", ...
  • gucki
    • Tag changed from regression, router to rails3 routes, regression, router
    by gucki at 12:36 PM

    Nicer display of thew generated routes:

                 GET    /my/text(.:format)      {:action=>"show", :controller=>"my/texts"}
                 POST   /my/text(.:f...
  • gucki
    gucki created the ticket at 12:34 PM

    Using latest rails3 edge and the following routes.rb:

    Rails.application.routes.draw do |map|
      namespace(:my) do
        resource :text
      end
    
      map.namespace(:a) ...
Sunday, July 18 2010
4807 ERROR Encoding::UndefinedConversionError: "\xC3" from ASCII-8BIT to UTF-8 was updated in Ruby on Rails
  • gucki
    gucki commented at 8:54 AM
    1. Patch by Kouhei Sutou works perfect for me with latest rails 3 edge.
Monday, June 14 2010
4857 Router in Rails 3 doesn't use inflections properly *really* was updated in Ruby on Rails
  • gucki
    gucki commented at 1:54 PM

    Thanks for the hint. It seems that "dm-paperclip" is causing the troubles as it's working fine without this gem. I'll report the bug there, so this ticket can b...

  • gucki
    • Tag changed from rails3 beta4 inflections to rails3 beta4 inflections
    by gucki at 12:27 PM

    When I change the names to their singular form, the routes are correct. But I guess that's not the intended behavior?

    Test::Application.routes.draw do |map|
      ...
  • gucki
    • Tag set to rails3 beta4 inflections
    by gucki at 12:12 PM

    I'm using the latest beta4, created a brand new project using "rails new test" and hitting the same error as described in https://rails.lighthouseapp.com/proje...

  • gucki
    gucki created the ticket at 12:08 PM

    Sry for the bad formatting, here we go again:

    
    Test::Application.routes.draw do |map|
      resources :blogs
      resources :books
    end
    
    
    ####
    
             GET    /blogs(...
4704 Router in Rails 3 doesn't use inflections properly was updated in Ruby on Rails