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.

Stephen Touset's latest activity

Thursday, February 03 2011
3974 Having both ActiveRecord::Base#each and #find_each possibly unnecessary was updated in Ruby on Rails
  • Stephen Touset
    • State changed from stale to open
    by Stephen Touset at 4:35 AM

    This issue is still alive and relevant. ActiveRecord::Base#each is effectively useless in its current state, and would be somewhat useful if it fetched records ...

Tuesday, August 24 2010
5446 HTML5 forbids the size attribute on input fields was updated in Ruby on Rails
  • Stephen Touset
    Stephen Touset commented at 5:05 PM

    After a rereading of the spec, this bug is more complicated than I originally thought. The size attribute is not gone entirely, but applies to only specific fie...

  • Stephen Touset
    Stephen Touset commented at 4:35 PM

    I should add, more than that, options["size"] is set to options["maxlength"] in to_input_field_tag, and this should be removed as well.

  • Stephen Touset
    Stephen Touset created the ticket at 4:30 PM

    #5084 removed the size attribute from file_field input tags, but the bug actually extends to any and all input elements. The size attribute has been removed as ...

Tuesday, May 25 2010
3974 Having both ActiveRecord::Base#each and #find_each possibly unnecessary was updated in Ruby on Rails
  • Stephen Touset
    Stephen Touset commented at 2:57 PM

    For what it's worth, you may be confusing #find_each and #find_in_batches. The former obeys #each's calling convention (no required params, yields each object i...

  • Stephen Touset
    Stephen Touset commented at 2:56 PM

    ActiveRecord::Base#find_each does iterate over every single record in the model, with the same calling conventions as #each. The difference being that, behind t...

Tuesday, February 16 2010
3974 Having both ActiveRecord::Base#each and #find_each possibly unnecessary was created in Ruby on Rails
  • Stephen Touset
    Stephen Touset created the ticket at 11:01 PM

    I was reading the ActiveRecord 3 query interface documentation, and there are two methods to enumerate over ActiveRecord models: #each, and #find_each, with the...

Sunday, March 15 2009
2110 StringInquirer not required in railties was updated in Ruby on Rails
  • Stephen Touset
    Stephen Touset commented at 8:36 PM

    The problem occurs in code in the Rails::Initializer block.

    
    RAILS_GEM_VERSION = '2.3.1' unless defined? RAILS_GEM_VERSION
    require File.join(File.dirname(__F...
Thursday, March 12 2009
2110 StringInquirer not required in railties was updated in Ruby on Rails
Sunday, March 01 2009
2110 StringInquirer not required in railties was updated in Ruby on Rails