Created
August 27, 2012 19:47
-
-
Save andywenk/3491706 to your computer and use it in GitHub Desktop.
create active_admin_example Rails application
This file contains 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
rails new active_admin_example | |
rake db:create | |
rails g controller products index | |
rails g model product name:string description:text price:float | |
rails g model user first_name:string last_name:string | |
rails g model order user_id:integer | |
rails g model order_item order_id:integer product_id:integer quantity:integer | |
rake db:migrate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment