Omar

Joined

260 Experience
2 Lessons Completed
0 Questions Solved

Activity

Posted in No value provided for option '--orm' Error

I did:
rails generate model order orderable:references{polymorphic} name:string
And I get "No value provided for option '--orm'

I run:
rails generate resource order orderable:references{polymorphic} name:string
And I get And I get "No value provided for option '--resource-controller'

In both case scenarios I tried byadding --orm=active_record and enclosing parameters in "name:string" but does not work neither.

Does anyone had the same problem?

Posted in No value provided for option '--orm' Error

Question:
I tried to set up a polymorphic model and got the following error:

no value provided for option '--orm'

I'm using Rails 7 and postgresql
I tried most probably solutions I found and reviewed my config file but no luck

Does anyone had a similar issue related to this error or can give me a insight to resolve it?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.