2019-04-15から1日間の記事一覧
はじめに ここでは以下の記事を参考にして rolify を使ってみることにする。 Devise CanCanCan rolify Tutorial · RolifyCommunity/rolify Wiki · GitHub https://github.com/RolifyCommunity/rolify 使ってみる ざっくりとアプリを作成する。 rails new rol…
ざっくりとアプリを作成する。 rails new annotate_sample cd annotate_sample scaffold して、モデルを作成しておく。 bin/rails g scaffold User name:string age:integer bin/rails db:migrate Gemfile を編集する。annotate は development 環境のみで使…