rails-devise-roles icon indicating copy to clipboard operation
rails-devise-roles copied to clipboard

Rails 5.0 starter app with Devise and simple role-based authorization.

Results 8 rails-devise-roles issues
Sort by recently updated
recently updated
newest added

Error is: ``` createuser: error: could not connect to database postgres: could not connect to server: No such file or directory Is the server running locally and accepting connections on...

After creating the app using rails compose using all defaults to get a simple blog, I changed my role via the console to admin, logged in and clicked on admin....

Specify SQLite3 1.3.6 to avoid version conflicts when generating new apps

Is there a command that is supposed to generate admin dashboard views ? I am currently able to view the admin dashboard view but I cannot find the corresponding file...

See [the Devise changelog].(https://github.com/plataformatec/devise/blob/88724e10adaf9ffd1d8dbfbaadda2b9d40de756a/CHANGELOG.md) Rails Composer encounters this error when the rails-devise example app and its confirmable module are chosen: /Users/tom/.rvm/gems/ruby-2.3.3@rails426/gems/activemodel-4.2.6/lib/active_model/attribute_methods.rb:433:in \`method_missing' /Users/tom/Sites/mashweb.rails426-email-confirmable/app/services/create_admin_service.rb:6:in `block in call' /Users/tom/.rvm/gems/ruby-2.3.3@rails426/gems/activerecord-4.2.6/lib/active_record/core.rb:283:in 'initialize' /Users/tom/.rvm/gems/ruby-2.3.3@rails426/gems/devise-4.2.0/lib/devise/models/confirmable.rb:63:in 'initialize'

I signed in as First User, Then I clicked user link and got "Access Denied". What is wrong? How to fix it?

I don't know what could be the problem? I am using rails composer tools for user authentication and authorization. all went well until I did rails generate controller. I can...

https://devcenter.heroku.com/articles/rails-unicorn