That doesn't work. I was under the impression that if the ActiveRecord class name wasn't obvious that it needed to be specified. In fact, if I take that out, I get errors about Addresses::ShipToAddress not being a defined constant when trying transaction.ship_to_address.
Maybe I need so specify the :class to be Adddresses::ShipToAddress? But that doesn't make a whole lot of sense to me because that, specifically, is derivable from "has_one :ship_to_address" and I don't understand what the syntax would be anyway. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

