Ruby
ActiveRecord でのユーザー認証 参考 http://masa-world.hateblo.jp/entry/2017/05/16/193544 まとめ gemのbcyptをインストールする パスワードを扱うModel にhas_secure_passwordを追記する input要素のname属性をpasswordにする データベースのパスワード…
Rakeでのマイグレーションエラー Rake で マイグレーションを行おうとした時にエラーが発生しました。 StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written fo…