Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added code climate

  • Loading branch information...
commit 812f313f808158f7d8e046a4b81558bac1db3c8e 1 parent ddad3c6
Chim Kan authored
2  README.md
View
@@ -1,5 +1,7 @@
# SimpleLogin
+[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/designium/simple-login)
+
simple_login creates a basic and simple login system for Rails 3 apps. It is based on Railscasts Authentication from Scratch videos.
# Demo
4 lib/rails/generators/simple_login/simple_login_generator.rb
View
@@ -35,7 +35,7 @@ def insert_routes
end
def create_user
- generate("model", "users email:string password_digest:string auth_token:string password_reset_token:string password_reset_sent_at:datetime")
+ generate("model", "user email:string password_digest:string auth_token:string password_reset_token:string password_reset_sent_at:datetime")
rake("db:migrate")
end
@@ -46,4 +46,4 @@ def add_gems
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.