Skip to main content
Condition if devise action view
Gems / Libraries Solved • Asked by Jacob Hedengren
Hi everyone,I am struggeling with finding out how to add a condition to hide my navbar partial if user is currently in one of the devise views. For example if user is currently in devise sessions n...

DEVISE: How do I redirect to a custom message page after user signs up and is required to confirm email address ?
Gems / Libraries • Asked by prithviraj sukale
I want to create a custom page that says "Go confirm your email" after Sign up using Devise

Setup for roles and authorization
Gems / Libraries Solved • Asked by Nick van der Wildt
Hi all! This is my first question for the community. I'm super excited to be here and hope to be answering a few of them myself as well. I'm working on a rails project where people can work o...

Why rails is not using msgpack?
Gems / Libraries • Asked by Anand Padia
I was trying to find a way to get better performance out on our solution and I thought that there is a possibility to ge data rendered in smaller bits than json. My research lead me to this article...

Create a User Profile after saving a Devise User
Gems / Libraries • Asked by Jason Brown
I want to have a user profile instance created in the database which is associated with a newly created devise user. The profile should be created only once and have a user_id associated with the ...

Devise with multiple User Models with single login form
Gems / Libraries • Asked by Francisco Quinones
Hi im trying to have 3 type of devise users but one to have a single login. I need to find a way to make the routes to go to a site/login for all 3 of then. Im not using the 1 User model with 3 ty...

How do i track view count of different div blocks on single page while scrolling without clicking them.
Gems / Libraries • Asked by Malav Desai
I have many cards (div blocks) on my single page application. I want to track view counts when user scroll through this page. Means whenever one card visible on screen or in screen viewport area wh...

Searchick filter with scope
Gems / Libraries Solved • Asked by Christophe Estanol
Has anybody used searchkick with a scoped model? I have an `Article` model with `scope :published, ->{ where(status: "Published") }`. So In my `ArticleController` I did the following: ``` ...

What is the method used today to give permissions with Rails?
Gems / Libraries • Asked by Nicolás Bobb
In many projects created with Rails I see that they do not use any gem to give permissions, for example Gitlab: What method is used...

HTTP, Faraday, Typhoeus or something else?
Gems / Libraries Solved • Asked by Morgan
I have an external JSON API that I need to parse and save and was wondering if anyone had any suggestions on what to use? I found tons of info on building a rails API but very little on consumin...