References
Reference NO 1
http://www.railstips.org/blog/archives/2006/11/18/class-and-instance-variables-in-ruby/
Reference NO 2
http://railsapps.github.io/rails-environment-variables.html
Reference NO 3
http://stackoverflow.com/questions/9396563/why-should-we-avoid-using-class-variables-in-rails
Reference NO 4
http://stackoverflow.com/questions/1575358/class-variables-in-rails-views
Reference NO 5
http://stackoverflow.com/questions/3598785/where-to-put-global-variables-in-rails-3
Reference NO 6
http://www.stephencelis.com/2008/09/06/rails-controllers-views-and-variables.html
Reference NO 7
http://railsguides.net/2013/02/15/how-to-define-environment-variables-in-rails/
Reference NO 8
http://apidock.com/rails/Class/cattr_accessor
No comments:
Post a Comment