Bom dia,
Sou nova no mundo do Rails, e não sei como excluir uma tabela do Rails. Como posso fazer?
Desde já agradeço.
Abraço.
Bom dia,
Sou nova no mundo do Rails, e não sei como excluir uma tabela do Rails. Como posso fazer?
Desde já agradeço.
Abraço.
english, man, english : )
there are many ways. read the rails guides. one way is using drop_table. but the rails way is to do a revert, since you should have already created a migration for it in the first place.
kind regards --botp
Sadly, I do not speak Portuguese. The Rails Guide you should read is Active Record Migrations — Ruby on Rails Guides -- hopefully there is a .pt version.
(Google translate: Infelizmente, eu não falam Português. O Rails Guia você deve ler é Active Record Migrations — Ruby on Rails Guides - espero que há uma versão .pt.)
Obrigada! Ajudou ![]()
sexta-feira, 19 de Agosto de 2016 às 12:22:24 UTC-3, Tamara Selau escreveu: