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.

Andrew White's latest activity

Monday, March 28 2011
6509 table_name not find in activerecord 3.0.5 sqlite3 was updated in Ruby on Rails
  • Andrew White
    • State changed from new to duplicate
    • Importance changed from to Low
    by Andrew White at 9:44 PM

    Duplicate of #6479.

6638 Autogenerated fixture ids too long for some MySQL integer types was updated in Ruby on Rails
  • Andrew White
    • Importance changed from to Low
    by Andrew White at 9:33 PM

    Wouldn't it be easier just to convert the columns to INT? What's the justification for keeping them as SMALLINT - performance difference would be next to nothin...

Sunday, March 27 2011
6635 url_for not matching route was updated in Ruby on Rails
  • Andrew White
    • State changed from new to needs-more-info
    • Importance changed from to Low
    by Andrew White at 10:20 PM

    Works fine here - are you passing :article_id and :id to the url helper / url_for ?

6594 Not routing to correct non-default controller was updated in Ruby on Rails
  • Andrew White
    • State changed from needs-more-info to invalid
    by Andrew White at 6:12 PM

    Okay, thanks for the update.

Friday, March 25 2011
6617 rails 3.0.5 problem with csrf_meta_tag was updated in Ruby on Rails
  • Andrew White
    • State changed from needs-more-info to invalid
    by Andrew White at 9:28 AM
6621 explicit callback cancellation instead of implicit based on return value was updated in Ruby on Rails
  • Andrew White
    • State changed from new to wontfix
    • Importance changed from to Low
    by Andrew White at 7:12 AM

    Sorry, changing this behaviour would break loads of applications.

Thursday, March 24 2011
6609 update_attribute is annoying, what about a bang method? was updated in Ruby on Rails
  • Andrew White
    • State changed from new to wontfix
    • Importance changed from to Low
    by Andrew White at 7:45 PM

    The consensus seems to be that it seems more like a shortcut for updates_attributes!, e.g:

      def foo!(value)
        update_attributes!(:foo => value)
      end
    

    Thank...

6617 rails 3.0.5 problem with csrf_meta_tag was updated in Ruby on Rails
6612 Nil HTTP user agent breaks route constraints on user_agent was updated in Ruby on Rails
  • Andrew White
    • State changed from new to open
    • Milestone set to 3.0.6
    • Assigned user set to Andrew White
    • Importance changed from to Low
    by Andrew White at 1:23 PM
6608 Generated sql for has_many :through relation wrong when used with STI was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 11:59 AM

    Using your models it would be like this:

    class First < ActiveRecord::Base
      has_many :tags
      has_many :seconds, :through => :tags
    end
    
    class Second < ActiveRec...