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...
4
posts

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...
8
posts

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...
1
post

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...
12
posts

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...
1
post

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: ``` ...
11
posts

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: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/Gemfile What method is used...
1
post

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...
1
post

Carrierwave file extension issue
Gems / Libraries • Asked by Thomas Bush
Carrierwave is converting and uploading image files with proper extensions to S3, but storing all in db as .png extension when accessing the `.url` method for versions. The file name and secure ...
5
posts

Tutorials on recommendation engines
Gems / Libraries • Asked by TL
Hi Chris, I searched for videos on recommendation itens but couldn't find any. We run a real estate website and would love to provide similarities recommendations (like "users that viewed thi...
4
posts

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.