I think there is a missing end in the code snippet. It should be `module Foo; extend ActiveSupport::Concern; end`, unless you want to snip it for brevity.