Closed JonathanFrias closed 6 years ago
Thank you for the effort! I need to look closer to this in order to merge.
But I’m for sure don’t want to use postgre as this is additional dependency which needs to be installed in order to follow article steps. That’s why I used sqlite3
Hey, I doubt this PR is what you want. It was a programming exercise, but if you want to use it, feel free!
Install steps
$ bundle install
config/database.yml
$ rails db:create
$ rails db:migrate
$ rails db:seed
$ rails s
admin@freaksidea.com
/123456
,member@freaksidea.com
/123456
Las tres roles que tenemos:
El diseno es dos classes de ability para cancan. Uno para API, y el otro para activeadmin. Por eso:
el formulario aquí es muy sencillo.