复数类的实现,这个程序的主要功能就是实现复数的相加等操作。
The plural types of implementation, this procedure is to achieve the main function of the additive, such as the plural operation.
Ruby on Rails强化了类是单数而表是复数的概念,这减少了程序员的工作量。
Ruby on Rails enforces the notion that classes are singular, and tables are plural. This reduces the amount of work programmers need to do.
注意:类名区分大小写,并且模型名是单数,控制器名是复数。
Remember they are case sensitive and model names must be singular (controllers must be plural).
应用推荐