Questions tagged as 'devise'

0
answers

How to activate email in Heroku for Devise to reset password

Hello, someone has experience parameterizing rails for the production environment (heroku)? I am trying to send mails with Devise to reset the users password when it is required. I found an article that suggests the change of 2 parameters: - c...
asked by 12.10.2018 / 17:59
1
answer

Error creating user with devise from another controller

I want my admin to be able to create users of different roles, something that my normal view of registration does not do, but the default validation of devise gives me an error before it enters the page. my admin controller is: admin_co...
asked by 29.08.2017 / 06:26
1
answer

Problem when trying to register with gem devise

I get the following error when I try to register with a user, fill in the fields and give the sign up and one:    LoadError in Devise :: SessionsController # create       can not load such a file - bcrypt_ext. I have already tried to uni...
asked by 10.05.2018 / 18:35
1
answer

Failure / Error: expect (page) .to have_content Capybara does not check page content

Hi, I created my test with capybara and rspec. This is my test require 'rails_helper' RSpec.feature "Users", type: :feature do context "crear nuevo usuario" do scenario "creacion exitosa" do user= FactoryBot.create(:user, :super_u...
asked by 03.04.2018 / 17:23
1
answer

how to show an error message in the devise login, rails

Devise puts their respective errors in all their views, except in the login when a user enters your data incorrectly. just redirected me to the same view, without showing an error message     
asked by 02.03.2018 / 20:57
0
answers

Problem with accepts_nested_attributes devise rails 5

I am implementing a user registry with Devise 4.3.0 in Rails 5.1.3. Each user belongs to a Community and if the name of the community is provided in the registry a new community must be created next to the user. The models: class User <...
asked by 07.02.2018 / 12:22
1
answer

Create Roles for Users with Devise

I have an application in Ruby on Rails, I use the gem devise to authenticate my users but I have to assign roles to those users (Main Adm., Article Manager and User). I would like to have routes and views for each user. They could tell me how...
asked by 19.11.2017 / 05:39
1
answer

Create users with devise from another Rails 5 controller

I am using devise for user authentication and I am trying to create view admin that can create users from that view. Things to know: I am using the ApplicationHelper to be able to login from the home instead of using the default login....
asked by 26.08.2017 / 23:21