We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a unique problem where my Repo/Entity is called indie as in an Indie artist. The infer_factory_name(name) method https://github.com/rom-rb/rom-factory/blob/v0.6.0/lib/rom/factory/factories.rb#L203 tries looking for the Indy factory which does not exist.
infer_factory_name(name)
The text was updated successfully, but these errors were encountered:
You are not alone. I'm having same issue in v0.9.0
Sorry, something went wrong.
Please provide a reproduction script
+1 Have same problem Simple workaround - create alias from required factory:
FactoryBot.define(:store_products) do |f| f.title { fake(:device, :model_name) } f.description { fake(:lorem, :paragraph) } f.timestamps end FactoryBot.define(store_product: :store_products) do |f| end FactoryBot.define(:store_product_prices) do |f| f.description { fake(:lorem, :paragraph) } f.association(:product) f.timestamps end
No branches or pull requests
I have a unique problem where my Repo/Entity is called indie as in an Indie artist. The
infer_factory_name(name)
method https://github.com/rom-rb/rom-factory/blob/v0.6.0/lib/rom/factory/factories.rb#L203 tries looking for the Indy factory which does not exist.The text was updated successfully, but these errors were encountered: