Move a Legacy App in Production to a local Development Environment
Yeah, Vagrant is probably what you'd want in this case. Docker is more for you to containerize your app so it could run anywhere, not necessarily for mimicking your existing production host. You...Chris Oliver replied • Solved
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
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
How do drag and drop builders work?
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
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
Thanks That Routing page is on my reading list already!!Simon P replied • Solved
Exception/error reporting from live.
Just an FYI, you don't have the use the Heroku addon. You can go straight to bugsnag and set it up yourself if you want. The addons are just there to make it slightly easier to setup.Chris Oliver replied • Solved
Let's Encrypt Error on Hatch
One thing you can try is to run these two commands on your server: ``` sudo apt-get clean sudo apt-get update ```Chris Oliver replied • Solved
How to attach "users" to a tenant/tenants with Rails multi-tenancy/apartment
of course it is Gourav.Tabish Iqbal replied • Solved
Stripe Subscriptions: Duplicate Customers
Minor bits and pieces can get out of date but to be honest, Stripe's documentation is really good and their engineering team is great about helping users fix issues like you've had. I don't think ...Stephen Swann replied • Solved
assign_attributes not working
Subtle one! Good catch. Sometimes I have done virtual attributes on the User (like `"user[card_"+field+"]")`) and other times just directly accessing the param. It doesn't really make a differe...Chris Oliver replied • Solved
How can I use Rails Each Array and In-page search to show/hide div content
Found the correct way that worked, leaving the code below in case anyone else needs help with it. **Index.html.erb** ``` No results ...Omar Khedr replied • Solved
Do I need rails-ujs and jquery_ujs?
@Alexander Kostadinov: yep, same result. you only need `require rails_ujs`, otherwise if you are doing any type of submission from client (for example), an alert will process twice.Robert Motion replied • Solved
Link to a method in my model
Fresh start to a new days and nailed this myself:Simon P replied • Solved
Rails How to link an email form with Sendgrid?
Within your create `@contact.save?` method in your contact controller. You can call `ContactMailer.new_request(@contact.id).deliver_later` The mailer can be easily generated with `rails generate...eelcoj replied • Solved
How do I Export a CSV file where it includes all the nested attributes?
You're a genius! Thank you so much.Steve replied • Solved