Rails andaime sem visualizações
rails g resource Foo bar:text
# rails g resource <ModelName> <field_name>:<field_type>
Mateusz Drewniak
rails g resource Foo bar:text
# rails g resource <ModelName> <field_name>:<field_type>