Displaying 1 result from an estimated 1 matches for "color_points".
2011 Aug 28
6
Class Variable
Hi everyone,
I have a question about class variable in Rails:
I have a class Point that contains an class variable
@@color_points="green"
In a first web Page I want to set up this variable, hence i do
Point.color_points = "green" then i test it using puts
Point.color_points ( = green, it works,yes!)
Then i have a link_to instruction that points to another web page.
On this one (the other one), I just want...