i have my constants initialized in environment.rb like this :
Rails::Initializer.run do |config|
...
MAX_BID = 10
end
i would like to use this constant in my models and views,what is the correct syntax? if a use it a model its says
NameError: uninitialized constant User::MAX_BID
i understand that it is looking for the constant inside the model , how can i tell explicitly that this constant is in the environment? thanks