-
-
Save wikimatze/b6162d50612e7ccabf3ee806dbaa5767 to your computer and use it in GitHub Desktop.
Revisions
-
wikimatze revised this gist
May 10, 2018 . 1 changed file with 12 additions and 14 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 @@ -1,20 +1,18 @@ project :test => :rspec, :orm => :activerecord generate 'model', 'account username:string password:string' generate 'model', 'post title:string body:text' generate 'controller', 'posts get:index get:new post:new' generate 'controller', 'users get:index' generate 'migration', 'AddEmailToAccount email:string' require_dependencies 'nokogiri' git :init git :add, "." git :commit, "-m 'initial commit'" inject_into_file 'app/models/post.rb','#Hello', :after => "end\n" rake 'ar:create ar:migrate' initializer :test, '# Example' git :add, '.' git :commit, "- m 'second commit'" -
nesquena revised this gist
Apr 6, 2010 . 1 changed file with 1 addition and 0 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 @@ -1,4 +1,5 @@ project :test => :shoulda, :orm => :activerecord generate :model, "account username:string password:string" generate :model, "post title:string body:text" generate :controller, "posts get:index get:new post:new" generate :migration, "AddEmailToAccount email:string" -
nesquena revised this gist
Apr 5, 2010 . 1 changed file with 1 addition 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 @@ -1,7 +1,7 @@ project :test => :shoulda, :orm => :activerecord generate :model, "post title:string body:text" generate :controller, "posts get:index get:new post:new" generate :migration, "AddEmailToAccount email:string" require_dependencies 'nokogiri' git :init -
nesquena created this gist
Apr 5, 2010 .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,19 @@ project :test => :shoulda, :orm => :activerecord generate :model, "post title:string body:text" generate :controller, "posts get:index get:new post:new" generate :migration, "AddEmailToUser email:string" require_dependencies 'nokogiri' git :init git :add, "." git :commit, "initial commit" inject_into_file "app/models/post.rb","#Hello", :after => "end\n" rake "ar:create ar:migrate" initializer :test, "# Example" app :testapp do generate :controller, "users get:index" end git :add, "." git :commit, "second commit"