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

Rails How to link an email form with Sendgrid?

0
Rails
I was able to create a contact form that when a user clicks submit - its send an email (which i get in my yahoo inbox). I would like to now have that email be sent via sendgrid so that I can anal...
Solved

Hatch / Updates

1
Servers
Are you going to manage the updates of the core components (vs gems) like Postgres / Redis etc ... ?
Chris Oliver replied
Solved

Rails5 + JQuery progress bar not functioning

1
Javascript
Implementing a JQuery progress bar so when you scroll down it should show a green bar across the top. When I start scrolling the progress bar does not appear. I use inspect element on the bar div c...
Neil Patel replied
Solved

Using will_paginate and .limit(x) together.

6
Rails
Hi It appears that will_paginate and .limit(x) will not work together. So this didn't work: (I am trying to get 150 most recent records and paginate them) @articles = Article.where.not(site_i...
Simon P replied
Solved

Are there any up to date tutorials for jquery-sortable?

8
Gems / Libraries
I've built a todo list that consists of lists and tasks. I am looking to use sortable to allow someone to move items around and between lists. Can anyone recommend any resources on how to do this? ...
Ohad Dahan replied
Solved

How do I prepopulate table data for a new registered user?

2
Rails
I'm wondering how would one go about prepopulating certain data table for a new user? Let's say I have a table with posts and a table with likes, and when new a user registers I'd like to make it s...
Alex R replied
Solved

Want to stay up-to-date with Ruby on Rails?

Join 89,237+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.