How do you access environment specific variables?

0 views
Skip to first unread message

chalkers

unread,
Jun 13, 2008, 7:10:30 AM6/13/08
to Ruby on Rails: Talk
The documents seem a little out of date on the wiki

http://wiki.rubyonrails.org/rails/pages/EnvironmentFiles
http://wiki.rubyonrails.org/rails/pages/HowtoAddYourOwnConfigInfo

I am trying to set a value for development for sandboxing using a
merchant facility

#environments/production
MERCHANT_ID = "123"

How do I access this in controllers etc?

Thanks

Chalkers

chalkers

unread,
Jun 13, 2008, 7:15:19 AM6/13/08
to Ruby on Rails: Talk
I restarted the server and worked :S sorry guys!

Reply all
Reply to author
Forward
0 new messages