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.

Daniel Guettler's latest activity

Tuesday, May 26 2009
2652 multipart form upload: mongrel memory consumption was updated in Ruby on Rails
  • Daniel Guettler
    Daniel Guettler commented at 4:23 AM

    This ticket should be closed! RewindableInput has been removed in this commit: github.com/rails/rails/commit/61a14569379974564a98b229ab595dfec18d2059 which solv...

2712 has_one and after_create association bug was updated in Ruby on Rails
  • Daniel Guettler
    Daniel Guettler commented at 4:01 AM

    Ok, this is a rather engineered example in my view. You probably want to either have accepts_nested_attributes OR a manual create_after.
    Anyway so here what's h...

Monday, May 25 2009
2709 find_each doesn't respect default_scope was updated in Ruby on Rails
  • Daniel Guettler
    Daniel Guettler commented at 4:58 PM

    find_each is calling find_in_batches which doesn't support any order option but uses table_name.primary_key for the order statement.
    From the doc:

          # It's...
1458 Namespaced resources fail in production when controllers are not namespaced was updated in Ruby on Rails
  • Daniel Guettler
    Daniel Guettler commented at 4:33 PM

    Ah sorry wrong markup:

      map.namespace(:time) do |time|
        time.resources :tags, :namespace => ''
      end
    
  • Daniel Guettler
    Daniel Guettler commented at 4:32 PM

    @Thomas, you need to reset the namespace not the controller in your nested resource so it should look like this otherwise it will assume you have a Time::TagsCo...

2712 has_one and after_create association bug was updated in Ruby on Rails
Saturday, May 16 2009
2652 multipart form upload: mongrel memory consumption was updated in Ruby on Rails
  • Daniel Guettler
    Daniel Guettler commented at 2:01 AM

    Ah forgot to tell you how to remove it. Under config/initializers/ add a file containing (or use an existing one):

    ActionController::Dispatcher.middleware.dele...
  • Daniel Guettler
    Daniel Guettler commented at 1:57 AM

    I tracked this down to this commit:

    {{{

    1adc1496f9152c893e1f08abcb1e5e7272829899 is first bad commit
    commit 1adc1496f9152c893e1f08abcb1e5e7272829899
    Author: Jos...

Tuesday, March 17 2009
2267 Generated migration for namespaced model prefixes table name was updated in Ruby on Rails
  • Daniel Guettler
    Daniel Guettler commented at 1:25 PM

    Actually this is what I would expect to happen. At least I'm using it this way successfully now since quite some time.

Thursday, February 26 2009
1920 named_scope fails when accessed through a class method over an association was updated in Ruby on Rails
  • Daniel Guettler
    Daniel Guettler commented at 5:58 AM

    Ah actually this bug is already resolved in couple other tickets. E.g. #1960