Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated rails template.

  • Loading branch information...
commit 7656262897efb1d1ee037f18ec1208c6ee17ccec 1 parent 880aad1
@kanetann authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 rails/template.rb
View
6 rails/template.rb
@@ -72,6 +72,7 @@
# device
run "rails g devise:install"
+run "rails g devise user"
# scaffold
generate(:scaffold, "article title:string content:text")
@@ -79,5 +80,10 @@
# database
run "rake db:migrate"
+run "rake db:migrate RAILS_ENV=test"
generate("factory_girl:model", "article title:string content:text")
+
+# and more
+# add your controller 'before_filter :authenticate_user!' for device helpers.
+
Please sign in to comment.
Something went wrong with that request. Please try again.