Re: [Rails] Looping and selecting

2018-04-12 Thread kaine wright
Hi thanks for the reply id over looked that completely. what solved this was @output['products'][0]['images'].first -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [Rails] Looping and selecting

2018-04-11 Thread Colin Law
On 10 April 2018 at 16:08, kaine wright wrote: > i have this output from an api call > > @output['products'][0] > => >

[Rails] Looping and selecting

2018-04-10 Thread kaine wright
i have this output from an api call @output['products'][0] =>