Shopify/offsite_payments — pull request #99 by semaperepelitsa (2014-12-16 13:29:36+00:00)
Title: Fix load error if active_support/core_ext was not loaded before.

ActiveUtils requires some ActiveSupport core extensions in its main file, namely class_attribute. Your library requires specific files of ActiveUtils directly. This way you get an error:

```
active_utils-2.2.3/lib/active_utils/common/post_data.rb:5:in `': undefined method `class_attribute' for ActiveMerchant::PostData:Class (NoMethodError)
```

You can reproduce the error by loading just "offsite_payments" in a clean environment. This error does not occur in your tests because you explicitly require "action_controller" & "action_view" which in turn load these active_support core extensions.

You should also consider removing the explicit require of all ActiveUtils files since they are already set up as autoload in "active_utils" file, unless you have a reason to avoid autoload.