Skip to content

No error when trying to generate model outside the project directory #54358

@salhafoudh

Description

@salhafoudh

I am a beginner in Ruby on Rails. I created a new Rails project using rails new. After that, I tried to generate a model, but instead of an error message, I only received the usage information for the rails new command. There was no error message indicating that I needed to be in the project directory.
It would be very nice to see such an error :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions