Skip to content

Commit

Permalink
Merge pull request #3 from paulhammond/activesupport
Browse files Browse the repository at this point in the history
Only load needed ActiveSupport extensions
  • Loading branch information
jweiss committed May 20, 2011
2 parents bd3ab94 + 27705ca commit 597779f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/happening.rb
Expand Up @@ -5,7 +5,10 @@

require 'active_support'
unless {}.respond_to?(:assert_valid_keys)
require 'active_support/core_ext'
require 'active_support/core_ext/hash/keys.rb'
end
unless {}.respond_to?(:blank?)
require 'active_support/core_ext/object/blank.rb'
end

require File.dirname(__FILE__) + '/happening/log'
Expand Down

0 comments on commit 597779f

Please sign in to comment.