Groups
Groups
Sign in
Groups
Groups
Ruby on Rails: Talk
Conversations
About
Send feedback
Help
How do you access environment specific variables?
0 views
Skip to first unread message
chalkers
unread,
Jun 13, 2008, 7:10:30 AM
6/13/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
6/13/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I restarted the server and worked :S sorry guys!
Reply all
Reply to author
Forward
0 new messages