Hi,
I have a requirement that I need to create an extension with 2 models. But I don't want the extension name to be the same as any model name.
For example, I wish the extension name is "Shop". It contains 2 models, "Product" and "Customer".
But I can't do it with "refinery:engine" generator. I've tried several way:
With "rails g refinery:engine Product name:string --event Shop --namespace Shop", it tells me the extension with name Shop doesn't exist.
With "rails g refinery:engine Shop", it tells me to specify a name and at least one field.
What I really want, is putting the models, controllers, views under the same namespace. So when I use a model, I don't need to type "Refinery::Products::Product" and "Refinery::Customers::Customer" but "Refinery::Shop::Product" and "Refinery::Shop::Customer". That makes more sense.