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

> 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

The problem is exactly as stated in the error message: you've added
attributes to Team but you're trying to access "color1" as an attribute
of a String (the team name).

-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
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+unsubscr...@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/CACmC4yDLAcHwFynQg1odP%3DD%3DSWbjtr0YRBEZcuNeob3DSFQsUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to