Ruby on Rails Thursday, January 4, 2018

Shame on me, lol. Thank you folks. Really appreciate your help

Em quarta-feira, 3 de janeiro de 2018 12:25:09 UTC-2, radhames brito escreveu:
You have `partida.away` that returns a string, string does not have the method `color1` I think you want to do, `partida.color1`. You error is that you have `partida.away.color1`, its the same as saying `'Colorado Rockies'.color1` which makes no sense.

On Tue, Jan 2, 2018 at 6:24 PM, André Luiz Abdalla Silveira <andrel...@gmail.com> wrote:


Hi folks, Happy new year

I'm having problems buillding my views, can you help me? I want every team to be printed with different colors, and so I created a migration to include these fields

--
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 an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2cb07abc-3978-4d60-987f-a44c4b3544bc%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
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 an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/25159d2f-06e4-41cb-85b7-44983cf10bd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment