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.

Pratik's latest activity

Monday, January 19 2009
1254 [PATCH] Array support to update_counters was updated in Ruby on Rails
  • Pratik
    • Tag changed from 2.2, activerecord, counters, counter_cache to 2.2, activerecord, counters, counter_cache, patch
    • Milestone cleared.
    • Assigned user set to Pratik
    by Pratik at 8:12 PM
1302 Using the highlight helper on text with html shouldn't highlight text inside ... was updated in Ruby on Rails
  • Pratik
    • Milestone cleared.
    • Assigned user set to Pratik
    • Title changed from [PATCH] Using the highlight helper on text with html shouldn't highlight text inside html attributes to Using the highlight helper on text with html shouldn't highlight text inside html attributes
    by Pratik at 8:10 PM
1297 Making ActiveRecord #merge_joins strip whitespace was updated in Ruby on Rails
  • Pratik
    • Milestone cleared.
    • Assigned user set to Pratik
    • Title changed from [PATCH] making ActiveRecord #merge_joins strip whitespace to Making ActiveRecord #merge_joins strip whitespace
    by Pratik at 8:09 PM
1307 BufferedLogger should support message formatting. was updated in Ruby on Rails
  • Pratik
    • Milestone cleared.
    • Assigned user set to Pratik
    • Title changed from [PATCH] BufferedLogger should support message formatting. to BufferedLogger should support message formatting.
    by Pratik at 8:09 PM
1241 NaN inputs to ActionView's NumberHelper methods will become 0.0 in order to s... was updated in Ruby on Rails
  • Pratik
    • State changed from new to wontfix
    • Assigned user set to Pratik
    by Pratik at 8:07 PM

    I don't think NaN should be normalized as 0 as it could hide real errors/code smells too.

1255 time.end_of_day not entirely accurate was updated in Ruby on Rails
  • Pratik
    • Assigned user set to Geoff Buesing
    by Pratik at 2:11 AM
Sunday, January 18 2009
1546 InstanceTag#to_label_tag should use human_attribute_name was updated in Ruby on Rails
  • Pratik
    • State changed from new to duplicate
    by Pratik at 9:48 PM
1634 number_to_human_size helper: fix/introduce pluralization, add 'format' property was updated in Ruby on Rails
  • Pratik
    • Milestone cleared.
    by Pratik at 9:19 PM
1225 button_to shows wrong method was updated in Ruby on Rails
  • Pratik
    • State changed from new to invalid
    by Pratik at 9:01 PM

    Works for me. Please submit a failing test if it's still an issue.

    Thanks.

1765 AR::Base#all(:order => '') => invalid SQL was updated in Ruby on Rails
  • Pratik
    Pratik commented at 6:06 PM
    
    order_string = bigger_computation
    order_string = nil if order_string.blank? 
    cond_string = big computation 
    join_string = biggest computation
    
    Venue.all(:...