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.

Ivan Ukhov's latest activity

Friday, November 12 2010
5958 Collection rendering with superfluous database queries was updated in Ruby on Rails
  • Ivan Ukhov
    Ivan Ukhov commented at 3:25 PM

    Sorry, I'm really not good at writing test cases, to my shame I haven't even written one. I just want you to know about the problem. Please don't put it aside, ...

  • Ivan Ukhov
    Ivan Ukhov created the ticket at 10:16 AM

    When passing some Relation to render :collection => ..., it produces two queries. One for counting (SELECT COUNT) and another for fetching (just SELECT). For ex...

Monday, April 12 2010
3836 ruby 1.9 buffered logger -> encoding errors was updated in Ruby on Rails
  • Ivan Ukhov
    Ivan Ukhov commented at 12:40 AM

    I have the same problem, when SQL query contains UTF-8 characters, so my patch looks like this:

    module ActiveSupport
      class BufferedLogger
        def add(severit...
Wednesday, April 07 2010
2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1 was updated in Ruby on Rails
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
Monday, February 22 2010
3349 [PATCH] re-enable send_file(path, :stream => true) was updated in Ruby on Rails
  • Ivan Ukhov
    Ivan Ukhov commented at 11:31 PM

    Still an issue in beta1 (

4038 JavaScript and CSS caching result is not in UTF-8 was created in Ruby on Rails
  • Ivan Ukhov
    Ivan Ukhov created the ticket at 11:22 PM

    javascript_include_tag 'one', 'two', 'three', :cache => 'all'

    Suppose all three JS files are in UTF-8. The result file is written in latin1, and if I have for e...

Friday, December 11 2009
3560 accepts_nested_attributes_for with :touch => ture cause ActiveRecord::StaleOb... was updated in Ruby on Rails
  • Ivan Ukhov
    Ivan Ukhov commented at 8:53 PM

    Yes, the patch really touches always. In my case I don't use :touch => true at all, that's why I haven't implement this option. And about testing, to my shame, ...

  • Ivan Ukhov
    Ivan Ukhov commented at 8:18 AM

    Here is my patch. This is also useful for fragment caching with cach-keys based on timestamps (<% cache @record do %> <% end %>). When fragments include informa...