Re: [Rails] Problem on the view

2018-01-04 Thread André Luiz Abdalla Silveira
r 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: > >> >> <https://lh3.

[Rails] Problem on the view

2018-01-02 Thread André Luiz Abdalla Silveira

[Rails] Problem on the view

2018-01-02 Thread André Luiz Abdalla Silveira
Happy new year to all of you My view has a problem: I want different instances to be shown with different colors, so every instance has 3 fields related to colors (color1, color2, and font) on its database. I have already run the 'rake db:migrate' command so these fields are guaranteed to exist

[Rails] Re: MLB app

2017-12-25 Thread André Luiz Abdalla Silveira
y to go through on learning Rails, but on groups like these, my learning goes faster Again, thank you, Hassan and Radhames Em sábado, 23 de dezembro de 2017 06:03:24 UTC-2, André Luiz Abdalla Silveira escreveu: > > Guys, I'm making a baseball league application, and I'm facing som

[Rails] MLB app

2017-12-23 Thread André Luiz Abdalla Silveira
Guys, I'm making a baseball league application, and I'm facing some challenges. Biggest of them is trying to make a match simulation method (I didn't think a view was necessary for it). This method is in matches_controller.rb, but again, there isn't any view for that. How do you think I should