Displaying 1 result from an estimated 1 matches for "dynamicmethod".
Did you mean:
dynamicmethods
2011 Feb 11
0
rails 3 initialize module, running cucumber
...ot;The error occurred while
evaluating nil.[] (NoMethodError)" on the S3Config.key= line when running
cucumber. Why is it not loading up the module when running cucumber?
module S3Config
mattr_accessor :key
mattr_accessor :sec
end
class ActiveRecord::Base
include S3Config
extend DynamicMethods
end
S3Config.key = AppConfig[''access_key_id'']
S3Config.sec = AppConfig[''secret_access_key'']
ActionMailer::Base.default_url_options[:host]=AppConfig[''base_url'']
--
You received this message because you are subscribed to the Google Groups &quo...