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.

There was a problem

You must be a member of this account.

sbwoodside's latest activity

Wednesday, September 02 2009
3133 ActiveRecord::Serialization class method from_xml handles arrays and singleto... was updated in Ruby on Rails
  • sbwoodside
    sbwoodside commented at 10:39 PM
      module ActiveRecord::Serialization
        def self.from_xml(xml)
          the_class = Hash.from_xml(xml).keys.first.singularize.camelize.constantize # singularize ...
  • sbwoodside
    sbwoodside created the ticket at 4:38 AM

    I wanted a from_xml method for ActiveRecord that would be able to import data from XML that contained an array of objects as well as just a single object. Also,...

1598 Preserve XML Attributes with Hash#from_xml and ActiveResource was updated in Ruby on Rails
Monday, June 08 2009
2719 has_many :through should work if the join model uses has_one relationship was updated in Ruby on Rails
  • sbwoodside
    sbwoodside commented at 3:41 AM

    Well, this seems to work as a hackish work-around and relatively efficient if most of your posts have a photo. I'm not really an SQL guru so if someone could po...

  • sbwoodside
    sbwoodside commented at 3:21 AM

    Is it not permissible to have a bug open on this as something to fix at some point? The workaround is not something I would like to do.

Tuesday, May 26 2009
2719 has_many :through should work if the join model uses has_one relationship was created in Ruby on Rails
  • sbwoodside
    sbwoodside created the ticket at 5:07 AM

    Let's say you have User has_many Posts, and each Post has_one Photo. If you try to set a has_many :photos, :through :posts and then access user.photos you will ...

1149 Invalid has_one :through source_reflection macros was updated in Ruby on Rails
Monday, December 01 2008
1200 "IP spoofing attack" breaks with some proxies was updated in Ruby on Rails
Saturday, October 11 2008
322 Don't return 500 if Client-IP and X-Forwarded-For agree. was updated in Ruby on Rails
  • sbwoodside
    sbwoodside commented at 12:18 AM

    I've opened a new bug #1200 for the mobile issue, since this bug has been marked resolved (and deals with a different issue).