[道] RoRメモ(その16)と同環境でactive adminの作業メモ。 その16のうち、項番8以降の部分で実施したことをメモしておく。 ■deviseの初期化 test005> bundle exec ruby script\rails g devise:install 出力される作業1~3を実施(Herokuでの作業ではないため4除外) これは[道] RoRメモ(その16)の「deviseのセットアップ」を参照。 ■deviseユーザの準備 test005> bundle exec ruby script\rails g devise user test005> bundle exec rake db:migrate ■roleほか、DBテーブル/足場の準備 test005> bundle exec ruby script\rails g scaffold roles id:int
![[道] RoRメモ(その20)](https://cdn-ak-scissors.b.st-hatena.com/image/square/665b24f75b827df75ecf796375541d66cca24cd0/height=288;version=1;width=512/https%3A%2F%2Fblog-imgs-35.fc2.com%2F2%2Fk%2Fr%2F2kr%2Fnao.jpg)