Install a custom loader with webpacker gem
I am trying to use a Vue.js based material design framework called [Vuetify](https://vuetifyjs.com/) with Rails 5 and the webpacker gem. The styles for this framework are created with the [Stylus](...Abhinav Mathur posted
Stripe connect managed accounts
Ended up removing the stripe_event gem and set up webhooks manually. Was very easy... created a webhooks_controller.rb and new post route ``` begin payload = JSON.parse(request.body.re...josh edgar replied • Solved
Nested has many through... Or is there a better way?
Hi I have 2 models Tender and Group shown below. For a Tender you can add Contractors (contractor_details) and you can also add Groups (groups). Groups also contain contractor_details. This i...Stephen Sizer posted
Problem with deletion and recreation of same association
I didn't understand the problem once you change the iterator. Are you having any issue with `` or anything similar?Ohad Dahan replied • Solved
Shrine vs. Carrierwave
It all boils down to personal preference. If you are comfortable using Carrierwave, continue using that.eelcoj replied
Rails app configuration on production server
I want deploying Rails 5 app using Nginx, Unicorn, Postgres and Capistrano on centos 7.so which guide is best ???Aqib hameed posted
Why to purchase the stripe course or Showing Off Game Nanny
I also watched the course on pluralsight, which I belive is the same content. Really good stuff!jaems replied
Checking for expired documents and sending email reminders
I'm not a fan of cron because it's fragile when worker nodes die. For years now I've been using a delayed_job that runs once a minute. Upon waking up, it has two tasks: 1. Schedule for immediate...inopinatus replied
Layout for Devise with scoped route
Doh, well sometimes that's how it goes until we have more time! Something I forgot to mention in my original post was that the ```registrations_controller.rb``` doesn't need any ```layout``` spe...Jacob Montgomery replied
How do drag and drop builders work?
Jquery destroy seems to fire twice.
I think the issue is that you're destroying `@line_item` but in your `redirect_to` you're using `@line_item.cart_id` , that doesn't seem right. Try to store the URL / id / cart you want to redir...Ohad Dahan 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
Redis on Digital Ocean vs. AWS/ElastiCache
Thanks, Chris. This is what I suspected. Redis on the same machine seems like a good easy solution. And although it would be a nice problem to need to process hundreds of thousands of jobs, realist...Craig DesBrisay replied • Solved
Thanks! I will check it out.Ryan Steen replied
How to write this raw SQL query in Active Record Query Interface
Here's the SQL: ``` select s.name, p.name, count(i.id) as count from items i left join products p on p.id = i.product_id left join stores s on s.id = i.store_id group by p.id, s.id ``` Tha...W.M. posted
How to model and integrate a rails mutliple choice quiz?
I am trying to make a little app where users can sign up, login, and be able to view and interact with questions for educational purposes. I can visualize everything, but I'm having trouble tran...johny kopparapu posted
How do I install UIKit via yarn?
How to do convert this ImageMagick command and parameters into a Ruby code to be used with Carrierwave
Thanks to [Jancko-m](https://github.com/janko-m) at github, he provided the following solution: ``` MiniMagick::Tool::Convert.new do |cmd| convert << "input.png" convert.bordercolor...W.M. replied • Solved
How can I add an avatar using (Carrierwave) to the ActionCable Chatroom Project?
The code that I have below is for the _message.html.erb partial ``` ``` The code below is from chatroom.coffee fi...Darion Wood posted