I\'m trying to add two extra config options to my application.rb so I can read them out in controllers.
# Extra
config.twitter.key = \'foo\'
config.twitter.s
A small update to the widely accepted answer here : Accessing config from application.rb in Controller (Rails 3)
The methods inside the module TwitterConfig should be class methods (or module methods if you prefer it that way). They can't be instance methods.
Sorry to put this in an answer, but I could not find a way to comment on that answer.