You've declared that post_type has_many miscs, so i.miscs is an array, not a single object.
You either want has_one instead of has_many, or you are wanting to loop through the i.miscs array to sum up the qty? It's hard to tell from your example.
Jeff softiesonrails.com