Skip to content

Update creando_una_migracion.step #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sites/es/introduccion-a-rails/creando_una_migracion.step
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ steps {


step {
console "rails generate scaffold tema titulo:string descripcion:text"
console "rails generate scaffold topic titulo:string descripcion:text"
message <<-MARKDOWN
* `generate scaffold` le dice a Rails que realice todo lo necesario para ponerse en marcha con temas.
* `tema` le dice a Rails el nombre del nuevo modelo.
* `topic` le dice a Rails el nombre del nuevo modelo.
* `titulo:string` dice que los temas tienen un título, el cual es una cadena.
* `descripcion:text` dice que los temas tienen una descripción, que es de tipo texto. (Nosotros también estamos confundidos con la diferencia entre estos dos tipos.)
MARKDOWN
Expand Down