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.

Manfred Stienstra's latest activity

Friday, May 29 2009
2736 Add magic encoding comment to generated files was created in Ruby on Rails
  • Manfred Stienstra
    Manfred Stienstra created the ticket at 8:53 AM

    I thought it might be a good idea to prepend all generated templates with the magic encoding comment to make people aware of this feature.

    References: http://g...

Tuesday, May 26 2009
950 AttributeDecorator, a new take on aggregation. was updated in Ruby on Rails
  • Manfred Stienstra
    • Milestone cleared.
    by Manfred Stienstra at 11:33 AM

    I've been working on this again as part of a new application. I've been abstracting some of the composed, formatted and decorated attribute accessors. Now I bas...

Wednesday, May 13 2009
2188 Encoding error in Ruby1.9 for templates was updated in Ruby on Rails
  • Manfred Stienstra
    Manfred Stienstra commented at 4:46 PM

    Also, the utf_8_encoding patch assumes that everyone will want to use UTF-8 in their templates, this might not be the case.

Monday, May 11 2009
2591 Passing in Fixnum to First/Last Finders was updated in Ruby on Rails
  • Manfred Stienstra
    Manfred Stienstra commented at 1:10 PM

    Hey guys, please don't just comment with just +1, it doesn't really help, it only annoys active developers who get assigned to the patch and they stop watching ...

Saturday, April 11 2009
2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1 was updated in Ruby on Rails
  • Manfred Stienstra
    Manfred Stienstra commented at 9:52 PM

    Ah, right. I'll try to think of a way to access the proxy in Ruby 1.9.

  • Manfred Stienstra
    Manfred Stienstra commented at 2:13 PM

    Instead of

    
    nvalue = ActiveSupport::Multibyte::Chars.new(value)
    condition_params = [nvalue.downcase]
    

    You can just do

    
    condition_params  = [value.mb_chars...
Thursday, April 09 2009
2371 Default scope with :conditions => "a string" was updated in Ruby on Rails
  • Manfred Stienstra
    • State changed from new to open
    by Manfred Stienstra at 8:22 PM

    I'll include this in with "the big scopes rewrite".

Tuesday, April 07 2009
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails
  • Manfred Stienstra
    • Tag changed from 2.3.2, activerecord, bug, calculations, patch, regression, scope, tested, verified to 2.3.2, activerecord, bug, calculations, patch, regression, scope
    • Assigned user set to Pratik
    • State changed from incomplete to open
    by Manfred Stienstra at 12:54 PM

    Peter, did you check if there are other methods like count that might have the same problem with the :select query parameter?

    For other people watching this tic...

Friday, April 03 2009
2411 Tests for Rails::InfoController and Rails::Info was created in Ruby on Rails
  • Manfred Stienstra
    Manfred Stienstra created the ticket at 6:32 PM

    Attached is a patch that adds some tests which were accidentally forgotten in the middleware info commit. In the process I also refactored the InfoController t...

Thursday, April 02 2009
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails