That's the design. You will need to access 'assignments' instead of '@assignments' for this to work.