Require active_support explicitly #6

merged 1 commit into from Oct 10, 2012


None yet
2 participants

jamesBrennan commented Sep 27, 2012

I was getting an "uninitialized constant SafeAttributes::ActiveSupport" error when attempting to use safe_attributes outside of a rails project. Adding require 'active_support' fixes the issue.

I did not write a test because I'm unsure of how to effectively recreate the issue with a spec.

@bjones bjones merged commit a6777c0 into bjones:master Oct 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment