adapt namespacing for Rails 4
generator for compatibility