Created
September 20, 2010 05:49
-
-
Save lusis/587474 to your computer and use it in GitHub Desktop.
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 characters
padrino g model account name:string surname:string email:string crypted_password:string salt:string role:string -r . | |
=> Located unlocked Gemfile for development | |
apply orms/activerecord | |
skip app/models/account.rb | |
create db/migrate/001_create_accounts.rb | |
padrino rake ar:migrate | |
=> Executing Rake ar:migrate ... | |
== CreateAccounts: migrating ================================================= | |
-- create_table("accounts", {}) | |
-> 0.0028s | |
== CreateAccounts: migrated (0.0035s) ======================================== | |
padrino rake seed | |
=> Executing Rake seed ... | |
Which email do you want use for loggin into admin? [email protected] | |
Tell me the password to use: testpassword | |
================================================================= | |
Account has been successfully created, now you can login with: | |
================================================================= | |
email: [email protected] | |
password: testpassword | |
================================================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment