How do i track view count of different div blocks on single page while scrolling without clicking them.
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...Malav Desai posted
What is the method used today to give permissions with Rails?
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...Nicolás Bobb posted
HTTP, Faraday, Typhoeus or something else?
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...Morgan posted • Solved
Carrierwave file extension issue
Take a look at this post as well: https://github.com/carrierwaveuploader/carrierwave/wiki/How-to:-Customize-your-version-file-namesChris Oliver replied
Help configuring Vuetify/stylus on Webpacker
Kieran - did you ever get this sorted out? I just banged my head against the wall for a few days trying to solve it myself. Finally got somewhere. I've put up a github repo with a sample Rails a...davidlbean replied
What is wrong with my stripe configuration?
Thanks! Figaro is pretty simple to use. "too many cooks in the kitchen is always a headache!" I couldn't have said it better.Zanger02 replied
Knock error response in login
Hiyas i want to response if user dont send `auth[email]` or `auth[password]` give the status 400 and return some json give that fields are required or the feedback the user or password is bad i fol...Oscar Miguel Amezcua Estrella posted
ElasticSearch connection refused
In my instance the issue was with localhost not being represented in my hosts file. I adeed the following to it and was able to get past this. ``` 127.0.0.1 localhost 255.255.255.255 ...RJ McCollam replied • Solved
Shrine vs. Carrierwave
It all boils down to personal preference. If you are comfortable using Carrierwave, continue using that.eelcoj replied
Recommended Gems - share them here :)
Most of my recommendations are performance oritented but I'll be happy to hear about Gems that can help in other domains. 1. PGHero https://github.com/ankane/pghero , great to keep track of your...Ohad Dahan posted
Integrating Turbolinks into rails 5 app
Turbolinks has been giving me a world of trouble and there is a lot of randomness with it depending on where I put it in the application.js file. Right now I have this: ``` //= require jquery3...Alex Deering posted
How do I integrate the local_time gem without using the asset pipeline?
If you use the gem, you have to use the asset pipeline for it. This is what I would recommend anwyays. The asset pipeline is perfect for these things. Any reason why you're avoiding using the asset...Chris Oliver replied
Working with FullCalendar in Rails
Hello Cris, Excuse my English. I want to know how (rails v-5) work with FullCalendar and simulate an example ?. I have seen several URLs and GitHub, but they all work differently ... Thank...Mauricio Duran posted
Are there any up to date tutorials for jquery-sortable?
Chris , you're creating an N+1 query with your code by calling `find` inside an iterator. I think the logic can change to calling `Takitem.find( @items )` and than use `Active-Import` gem to to a ...Ohad Dahan replied • Solved
Chartkick doesn't load on Heroku?
nm, found the fix. I had to include the chartkick js tags into the header of my application layouts while including my other js files at the very end of the body, to prevent breaking my wysiwyg edi...Adrian DeGus replied
[Hatch Deployment] - Cannot bundle commonmarker due to cmake
Thanks Chris. Worked perfectly! I forgot that Hatch sends an email with the deploy user's sudo password.Lauro replied • Solved
How does Searchkick/ElasticSearch impact how I should structure my database indexes?
Matias, Did you ever get an answer to this? I've been wondering about the same things recently.Mark Doerr replied
Eager loading with Gem Mailboxer
Hello everyone, I have a User model which act_as_messageable using the Mailboxer gem. In my users#index view, I would like to add a link for each user to the first user conversation Right no...Thomas M posted