-
-
Save jmarcosJava/7cd9a2e5bb257dcfa7ecccccf5fa1665 to your computer and use it in GitHub Desktop.
Revisions
-
Godoy revised this gist
Dec 18, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,7 @@ $ rake db:rollback $ rake db:migrate VERSION=0 #defaz todas as migrations, deixa o banco "limpo" $ rake db:migrate:reset #reseta todo o banco, perdendo todos os registros, e já executa novamente as todas as migrations $ bundle exec rake assets:clobber(Removes all compiled assets) $ bundle exec rake assets:precompile (Precompiled assets again) -
Godoy revised this gist
Apr 13, 2013 . No changes.There are no files selected for viewing
-
Godoy revised this gist
Apr 13, 2013 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,4 +7,6 @@ $ rails destroy model Noticia $ rake db:migrate $ rake db:rollback $ rake db:migrate VERSION=0 #defaz todas as migrations, deixa o banco "limpo" $ rake db:migrate:reset #reseta todo o banco, perdendo todos os registros, e já executa novamente as todas as migrations -
Godoy revised this gist
Feb 25, 2013 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,4 @@ $ rails destroy model Noticia $ rake db:migrate $ rake db:rollback $ rake db:migrate VERSION=0 #volta para o inicio dos tempos -
Godoy revised this gist
Feb 25, 2013 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,4 +7,7 @@ $ rails destroy model Noticia $ rake db:migrate $ rake db:rollback $ rake db:migrate VERSION=0 #volta para o inicio dos tempos #reset postgree database in heroku $ heroku pg:reset DATABASE -
Godoy created this gist
Jan 15, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ $ rails generate controller Noticias titulo $ rails destroy controller Noticias titulo $ rails generate model Noticia titulo:string $ rails destroy model Noticia $ rake db:migrate $ rake db:rollback $ rake db:migrate VERSION=0 #volta para o inicio dos tempos