(rdb:1) Customer.find(:all, :conditions => ["#{Address.table_name}.name_given = 'kdFJf6J6Mdx'"], :include => [:address, :shipping_address] ) [] (rdb:1) Customer.find(:all, :conditions => ["#{Address.table_name}.name_given = 'kdFJf6J6Mdx'"], :include => [:shipping_address, :address] ) [#<Customer id: 81, ...SNIP... >]
No comments:
Post a Comment