Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
rails generate model FooTable name:string rails generate model foo_table name:string
哪一个是正确的方法?
您可以使用其中任何一个,它们是等效的。两者都FooTable使用名为foo_tables.
FooTable
foo_tables