How to make a variable constant in ruby so that the value remains fixed throughout and cannot be altered at any cost
please checkout this http://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Variables_and_Constants#Constants
First off, repeated posting doesn't get you answers any faster - it just demonstrates full-on n00bishness.
To answer your actual question, there isn't any way to make a value that is truly un-alterable. See this post for more info:
If you're depending on a programming language to defend you against programmers, you need to fire the programmers...
--Matt Jones