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.

Timothy Jones's latest activity

Friday, November 12 2010
2815 nested models: build should directly assign the parent was updated in Ruby on Rails
  • Timothy Jones
    Timothy Jones commented at 5:15 AM

    This bug is not resolved in the 2.x branch (at least as of 2.3.10).

Wednesday, June 02 2010
4707 accepts_nested_attributes_for '_delete' feature broken in Rails 2.3.8 was updated in Ruby on Rails
  • Timothy Jones
    Timothy Jones commented at 9:14 PM
    1. There was no deprecation warning in 2.3.5 that I ever saw.

    2. The documentation still says "delete", not "destroy".

    3. Something like this should have been in t...

Thursday, February 11 2010
1429 Add singular version of named_scope that returns first object was updated in Ruby on Rails
  • Timothy Jones
    Timothy Jones commented at 6:07 PM

    Yes, that would work and is not drastically uglier than what I proposed.

Wednesday, February 10 2010
1429 Add singular version of named_scope that returns first object was updated in Ruby on Rails
  • Timothy Jones
    Timothy Jones commented at 8:05 PM

    Ok, I take that back, now realizing that attribute-based finders do accept general find() options. But the whole point of named_scopes is syntactic sugar, right...

  • Timothy Jones
    Timothy Jones commented at 7:54 PM

    In this case my query is more complicated than the attribute-based finders support AFAIK (specifically it requires a join).

  • Timothy Jones
    Timothy Jones commented at 6:49 PM

    Sometimes the result set contains exactly one (or at most one) record, or I just one one random record and really don't care which it is, so order isn't necessa...

  • Timothy Jones
    Timothy Jones commented at 5:35 PM

    Anyone care to create a plugin/gem for this, since many of us think it a good idea but it didn't meet Pratik's personal taste?

Thursday, February 04 2010
3457 ActionController::Caching::Sweeper controller instance is not thread safe was updated in Ruby on Rails
Thursday, February 12 2009
1955 :disable_with option to submit_tag() doesn't work with IE was created in Ruby on Rails
  • Timothy Jones
    Timothy Jones created the ticket at 10:28 PM

    The implementation of this option resets the input button's type attribute to hidden. IE doesn't allow the type of an tag to be changed dynamically, and throws...

Thursday, November 27 2008
1475 Deprecation warning for ActionMailer::Base.register_template_extension sugges... was updated in Ruby on Rails
  • Timothy Jones
    Timothy Jones commented at 3:28 AM

    Not in Rails 2.2.2:

    undefined method register_template_extension' for ActionView::Base:Class (NoMethodError)