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.

Jason King's latest activity

Wednesday, April 20 2011
5442 Model.has_many_through_association.find(id) returns a read-only record was updated in Ruby on Rails
  • Jason King
    Jason King commented at 9:20 PM

    Actually, the last comment from Jon says that (a) it's already fixed in master (ie. 3.1), and (b) it's too complicated to fix it in 3.0

Wednesday, November 24 2010
2104 script/console execs irb, causes double process-launch and limits other impls was updated in Ruby on Rails
  • Jason King
    Jason King commented at 8:27 PM

    I haven't really begun digging around in Rails3 yet, but I'm pretty sure your benchmarks should be including config/application.rb not config/boot.rb. I think y...

Wednesday, November 17 2010
5442 Model.has_many_through_association.find(id) returns a read-only record was updated in Ruby on Rails
  • Jason King
    Jason King commented at 6:34 PM

    You can work around it declaratively too:

    has_many :foos, :through => :bars, :readonly => false
    
  • Jason King
    Jason King commented at 6:31 PM

    Still exists in 3.0.3

Friday, November 12 2010
5884 Rendering a partial with an array as its :object should not render as :collec... was updated in Ruby on Rails
  • Jason King
    Jason King commented at 7:02 PM

    This is fixed in HEAD, this is actually a dupe of #5746

  • Jason King
    Jason King commented at 6:48 PM

    I just ran into this myself, thinking here is that this should be fixed, but is low priority? Or is this new behavior intended?

Saturday, February 27 2010
4067 require dependency for active_support/core_ext/string/inflections was updated in Ruby on Rails
  • Jason King
    Jason King commented at 12:18 AM
  • Jason King
    Jason King created the ticket at 12:17 AM

    The following code fails:

    require 'active_support/core_ext/string/inflections'
    "foo_bar".titleize
    

    With:

    NameError: uninitialized constant String::ActiveSuppo...