万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    rake rails_admin:installの時のメッセージメモ

    rake rails_admin:install
               -  Hello, RailsAdmin installer will help you set things up!
               -  I need to work with Devise, let's look at a few things first:
               -  Checking for a current installation of devise...
               -  Found it!
               -  Looks like you've already installed it, good!
               ?  Where do you want to mount rails_admin? Press <enter> for [admin] >
            gsub  config/routes.rb
           route  mount RailsAdmin::Engine => '/admin', :as => 'rails_admin'
               -  And you already set it up, good! We just need to know about your user model name...
               -  We found 'user' (should be one of 'user', 'admin', etc.)
               ?  Correct Devise model name if needed. Press <enter> for [user] >
               -  Ok, Devise looks already set up with user model name 'user':
               -  Now you'll need an initializer...
          create  config/initializers/rails_admin.rb
               -  Adding a migration...
          create  db/migrate/20131104073520_create_rails_admin_histories_table.rb
               -  Job's done: migrate, start your server and visit '/admin'!
               -  Hello, RailsAdmin installer will help you set things up!
               -  I need to work with Devise, let's look at a few things first:
               -  Checking for a current installation of devise...
               -  Found it!
               -  Looks like you've already installed it, good!
               ?  Where do you want to mount rails_admin? Press <enter> for [admin] >
            gsub  config/routes.rb
           route  mount RailsAdmin::Engine => '/admin', :as => 'rails_admin'
               -  And you already set it up, good! We just need to know about your user model name...
               -  We found 'user' (should be one of 'user', 'admin', etc.)
               ?  Correct Devise model name if needed. Press <enter> for [user] >
               -  Ok, Devise looks already set up with user model name 'user':
               -  Now you'll need an initializer...
               -  You already have a config file. You're updating, heh? I'm generating a new 'rails_admin.rb.example' that you can review.
          create  config/initializers/rails_admin.rb.example
               -  current_user_method found and updated with 'current_user'
            gsub  config/initializers/rails_admin.rb
               -  Adding a migration...
               -  Another migration is already named create_rails_admin_histories_table: /Users/shinriyo/rails_app/helloworld/db/migrate/20131104073520_create_rails_admin_histories_table.rb
               -  Job's done: migrate, start your server and visit '/admin'!