lib/oauth/models/consumers/service_loader.rb in oauth-plugin-0.4.0.pre2 vs lib/oauth/models/consumers/service_loader.rb in oauth-plugin-0.4.0.pre3

- old
+ new

@@ -8,9 +8,10 @@ if defined? ConsumerToken && defined? OAUTH_CREDENTIALS OAUTH_CREDENTIALS.each do |key, value| class_name=value[:class_name]||"#{key.to_s.classify}Token" unless Object.const_defined?(class_name.to_sym) if File.exists?(File.join(File.dirname(__FILE__), "services","#{key.to_s}_token.rb")) + Rails.logger.info File.join(File.dirname(__FILE__), "services","#{key.to_s}_token") require File.join(File.dirname(__FILE__), "services","#{key.to_s}_token") else begin # Let Rails auto-load from the models folder eval class_name \ No newline at end of file