How do I resolve this error with Stripe checkout on wizard page via wicked gem?

4
Rails
Right now I get this error message when the submit.html.erb loads: **Cannot charge a customer that has no active card.** I want to understand how I can improve my controller. The goal is to not ha...
Robert Hopman replied
Solved

ElasticSearch connection refused

3
Gems / Libraries
I am going through the ElasticSearch with searchkick video and I have installed ElasticSearch on my ubuntu box as well as installed searckick and added searckick to my model. Everytime I try to re...
RJ McCollam replied
Solved

Cross-platform rich text editing

2
General
I'm building a note-taking Rails 5 app that will be a web app and will also act as a backend for OSX and Windows apps in the future. One of the key features is the rich editing of text - bold, ital...
Nino Rosella replied
Solved

Best way to create a report/spam button?

2
Rails
Just looking for ideas on the best way to create a report or spam button/link on posts and comments. And do you typically have that notification sent to an in program inbox to an admin email, etc....
Ryan Carter replied
Solved

Hatch - Deployment - Server monitoring

2
Servers
Hello I recently switched my Rails deployment to Hatch and have been a happy customer. I would like to check if Hatch provides server monitoring for the nginx/passenger ? I have few more instance...
Sanjay Nair replied
Solved

Bootstrap Modal with Date Picker, what am I doing wrong?

8
Javascript
I have a Rails 5.1 app with bootstrap 4. I have bootstrap-datepicker throughout my application and it works perfectly or at least as expected. However whenever I try to use it within a modal it w...
jaems replied
Solved

Move a Legacy App in Production to a local Development Environment

6
Rails
I'm working with a legacy Rails app (Ruby 1.9.2 and Rails 3.2.8). The app only exists in production. There isn't a development environmnt or repo I can use to setup my dev environment. I'm on an OS...
Chris Oliver replied
Solved

Stripe connect managed accounts

1
Rails
I'm trying to add webhooks to stripe using stripe connect and managed accounts https://stripe.com/docs/connect/webhooks I'm using the stripe_events plugin and have followed your stripe webhooks vi...
josh edgar replied
Solved

Problem with deletion and recreation of same association

5
Rails
I have a user model created through devise, a stock model (generated through a scaffold) so I can create a stocks database with my own custom prices, and a UserStock model to establish an associati...
Ohad Dahan replied
Solved

How do drag and drop builders work?

3
Rails
So many website builders, form builders etc are comming to market. How do these actually work and is it possible to build something like this in rails? I'm assuming you drag an element onto a canv...
josh edgar replied
Solved

Redis on Digital Ocean vs. AWS/ElastiCache

2
Servers
I'm running a Rails app on AWS Elastic Beanstalk / EC2 which also uses ElastiCache / Redis to run background jobs with Sidekiq. If I'm not mistaken, ElastiCache is a completely separate service tha...
Craig DesBrisay replied
Solved

How to do convert this ImageMagick command and parameters into a Ruby code to be used with Carrierwave

1
Rails
Basically I am asking how to do this: `convert input.png -bordercolor white -border 1 -set option:distort:viewport "%[fx:max(w,h)]x%[fx:max(w,h)]-%[fx:max((h-w)/2,0)]-%[fx:max((w-h)/2,0)]" -virtua...
W.M. replied
Solved

Let's Encrypt Error on Hatch

2
General
I keep getting this error when trying to add Let's Encrypt using Hatch. Im not sure how to debug it. Any thoughts? ``` Uploaded /etc/nginx/snippets/letsencrypt.conf Uploaded /etc/nginx/snippets...
Chris Oliver replied
Solved

How to attach "users" to a tenant/tenants with Rails multi-tenancy/apartment

11
Rails
Hey guys, Have been watching some great videos on multi-tenancy with Rails but one thing I can't quite get my head around. If a `User` remains global, what is the best strategy for giving them ac...
Tabish Iqbal replied
Solved

Stripe Subscriptions: Duplicate Customers

14
Rails
Hey Eeveryone, I'm creating a subscription site using Stripe v3. For the most part everything is working fine, but I noticed in my Stripe Customer dashboard there are duplicate customers (for all ...
Stephen Swann replied
Solved

assign_attributes not working

2
Rails
I just signed up for Payments with Stripe and Rails Master Class and am loving it...can't walk away from it; learning a ton! Having an issue though and was hoping someone could lend a hand. I am f...
Chris Oliver replied
Solved

Disaster recover plan?!

9
Servers
Hello, So I'm deploying my first Rails app built for a customer – 🎉 – to production in couple of days – I'm using Hatch – and I'm not sure what kind of setup/plan I should have for "disater recove...
Gary Traffanstedt replied
Solved

How can I use Rails Each Array and In-page search to show/hide div content

2
Rails
I'm trying to set up a simple search bar to show/hide content in my rails app. Specifically, trying to allow someone to search for a specific user via username in my chatroom which are being shown ...
Omar Khedr replied
Solved

Do I need rails-ujs and jquery_ujs?

4
Javascript
I'm bulding a rails 5.1.x app so no jQuery, but I'm usining Bootstrap so I added it in. I was adding in `//= require jquery` and `//= require jquery_ujs`, then noticed that rails 5.1 now ships wit...
Robert Motion replied
Solved

Link to a method in my model

1
Rails
Hi I have a method called Search(search) in my model which is called from my controller. This works fine when I enter a search term in an input box in my view. What I now want to do is create a ...
Simon P replied
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.