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.

David Trasbo's latest activity

Sunday, August 01 2010
2174 No way to flush session data to session store immidiately enables race condit... was updated in Ruby on Rails
  • David Trasbo
    • Importance changed from to
    by David Trasbo at 6:39 PM

    The Memcache and cookie stores exists in Rack, ActiveRecord::SessionStore still lives inside Rails. Rails still implements an AbstractStore class, though, that ...

5130 "warning: default 'to_a' will be obsolete" from method_missing in association... was updated in Ruby on Rails
  • David Trasbo
    David Trasbo commented at 3:14 PM

    Greg,

    to_a is not obsoleted by Ruby, that's not what the warning says. As I said that warning can't just be removed because you don't want your logs spammed bec...

  • David Trasbo
    • Assigned user set to Rohit Arondekar
    by David Trasbo at 2:20 PM

    What you're seeing is a warning Rails throws because of some code in an third party gem. The fix should go in that gem - there's a reason Rails throws the warni...

4788 rails_xss breaks when the word raw is used in text was updated in Ruby on Rails
  • David Trasbo
    David Trasbo commented at 2:14 PM

    Duh, Rails 2.3.8. Hard to keep up when the core team releases so many versions at once. :P

  • David Trasbo
    David Trasbo commented at 1:49 PM

    Confirmed on Rails 2.3.9. And the root of the issue almost definitely exists in the mentioned method.

    That regular expression looks kind of naive to me. I might...

2196 JSON encoding breaks when JSON gem is loaded before Active Support was updated in Ruby on Rails
  • David Trasbo
    • Importance changed from to
    by David Trasbo at 2:08 PM

    Works fine on Rails 3.0.0 RC.

    ruby-1.8.7-p299 > require 'rubygems'
     => true 
    ruby-1.8.7-p299 > require 'json'
     => true 
    ruby-1.8.7-p299 > require 'active_suppo...
Wednesday, July 28 2010
4774 [PATCH] Exception.subclasses fails with syntax error was updated in Ruby on Rails
  • David Trasbo
    • Assigned user set to José Valim
    by David Trasbo at 6:42 PM

    +1 from here too. Assigning it to José. Maybe he'll apply it.

4050 table creation with upercase method names for types does not create fields was updated in Ruby on Rails
  • David Trasbo
    • Assigned user set to Ryan Bigg
    by David Trasbo at 6:38 PM

    It doesn't. Not anymore at least. Maybe if you write the command like rails g scaffold foo bar:String but why would you do that?

    This ticket can be closed.

Friday, July 02 2010
3666 MessageVerifier and Rails 2.3.5 with ruby 1.8.7 was updated in Ruby on Rails
  • David Trasbo
    • Assigned user set to Ryan Bigg
    by David Trasbo at 10:46 AM

    I was unable to duplicate this issue on 2.3.8:

    ➜  in ~/code/rails_bugs/message_verifier using ruby-1.8.7-p299 script/console 
    Loading development environment (...
Thursday, July 01 2010
4015 Problem executing simple model#to_json was updated in Ruby on Rails
  • David Trasbo
    David Trasbo commented at 9:58 PM

    Gah, you'll probably notice I tried to change some names above, but looked over a couple of places.