sbwoodside
Not a member
sbwoodside's latest activity
Wednesday, September 02 2009
-
sbwoodside commented at 10:39 PMmodule ActiveRecord::Serialization def self.from_xml(xml) the_class = Hash.from_xml(xml).keys.first.singularize.camelize.constantize # singularize ... -
sbwoodside created the ticket at 4:38 AMI 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,...
-
sbwoodside commented at 10:38 PMSlightly related is that current implementation can't deal with arrays. See https://rails.lighthouseapp.com/projects/8994/tickets/3133-activere...
Monday, June 08 2009
-
sbwoodside commented at 3:41 AMWell, 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 commented at 3:21 AMIs 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
-
sbwoodside created the ticket at 5:07 AMLet'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 ...
-
- Assigned user cleared.
Whoops, sorry didn't mean to change responsible. Anyway, since the documentation is correct now, I guess this bug should be closed.
-
- Assigned user set to Pratik
The documentation now says:
http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassM...
You can only use a :through query through a belongs_to or ha...
Monday, December 01 2008
Saturday, October 11 2008
-
sbwoodside commented at 12:18 AMI've opened a new bug #1200 for the mobile issue, since this bug has been marked resolved (and deals with a different issue).