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

Tuesday, March 10 2009
1723 Eager load of has_one :through with conditions on the :through table fails was updated in Ruby on Rails
  • Pratik
    • Assigned user set to Frederick Cheung
    by Pratik at 12:19 PM
1427 ActionView::Base.default_form_builder was updated in Ruby on Rails
  • Pratik
    • Assigned user set to Pratik
    • State changed from new to incomplete
    by Pratik at 11:58 AM

    Sounds good. Patch please! Also, the old API needs to be deprecated.

    Thanks.

2191 Missing Info for ActiveRecord::Base#find option ':offset' was updated in Ruby on Rails
  • Pratik
    • Assigned user set to Pratik
    • State changed from new to invalid
    by Pratik at 11:57 AM

    This is not really an Active Record issue, but just the way SQL works.

    Thanks.

2183 Avoid infinite recursive validation when validate => true was updated in Ruby on Rails
  • Pratik
    • Assigned user changed from Eloy Duran to Pratik
    • State changed from new to invalid
    by Pratik at 11:35 AM

    I'd usually put :validate => false in one of the models and raise exception from an after_save callback if something didn't validate well and rely on transactio...

1112 "redundant UTF-8 sequence" in String#to_json was updated in Ruby on Rails
  • Pratik
    • State changed from new to stale
    by Pratik at 11:28 AM

    Ok it's really STALE now :)

1598 Preserve XML Attributes with Hash#from_xml and ActiveResource was updated in Ruby on Rails
  • Pratik
    • Assigned user set to Pratik
    • Tag changed from activeresource, format, from_xml, hash, patch, tested, xml to activeresource, format, from_xml, hash, improvement, patch, tested, xml
    by Pratik at 11:27 AM

    Surely like the idea. I think it's better to use options hash for preseve_attributes. Something like :

    
    def from_xml(xml, options = {})
      preserve_attributes...
1244 caches_page does not respect Accept header was updated in Ruby on Rails
  • Pratik
    • Assigned user set to Jeremy Kemper
    • Tag changed from cache, caches_page, caching, format, respond_to to cache, caches_page, caching, format, patch, respond_to
    by Pratik at 11:18 AM
1553 javascript_include_tag throwing nil object error on first load after deploy w... was updated in Ruby on Rails
  • Pratik
    • State changed from new to stale
    by Pratik at 11:07 AM

    Putting on "stale". Please reopen if it's still an issue.

    Thanks.

2190 Add Nokogiri as XmlMini backend was updated in Ruby on Rails
  • Pratik
    • Title changed from [PATCH] Add Nokogiri as XmlMini backend to Add Nokogiri as XmlMini backend
    by Pratik at 12:41 AM
  • Pratik
    • Assigned user set to Jeremy Kemper
    by Pratik at 12:41 AM