Since `@details` will always contain an array with a single stock element, you could instead call `.first` on that array in your controller when you assign this variable -- then you wouldn't need this `each` loop in your view that only ever loops once.