expectedbehavior/doc_raptor_gem — comment on commit 9802d176e01ee269d704f4380273b5be7203fc43
File:  line 0
By janxious:

We're not guaranteed to be in rails or an env with active support. We
only wanted this one function, so instead of adding active support as a
dependency we just pulled in the part of it we want.

I generally agree with the strategy the rails guide suggests, but it's
not what we wanted in this case.

solsystems wrote:
> Just out of curiosity, why don't you just cherry-pick this from the active_support gem rather than copying it into yours?
>
> require 'active_support/core_ext/object/blank'
>
> This would grab any updates should they ever come up.
>
> http://guides.rubyonrails.org/active_support_core_extensions.html#cherry-picking-a-definition
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/expectedbehavior/doc_raptor_gem/commit/9802d176e01ee269d704f4380273b5be7203fc43#commitcomment-893615