Stupid Question - Need to get a field from table...

Ideally something like this would be great:

<%=h @shirt.approved_colors.color_id.name %>

Any ideas? I don't know why my brain is shot today. Hate it.

-Tony