Skip to main content
Gravatar
Embed Youtube video in Rails app
Rails Solved • Asked by Markus
Hello. How is possible to embed an existing video an show it in a page with rails? I followed this guide with yt gem: https://www.sitepoint.com/youtube-api-version-3-rails/ So now I can pos...

Gravatar
Allow lvh.me with my ISP router
General Solved • Asked by Francisco Quinones
Hi, so I got a new ISP and when I try to use the lvh.me I get lvh.me’s server DNS address could not be found. I have no Idea what to setup in the ISP router to let the lvh.me use the correct IP 127...

Gravatar
Anyone with experience using Quilljs?
Javascript Solved • Asked by Stéphane Paquet
Hi, I'm lloking forward using http://quilljs.com in a project and wonder if anyone can share his/her experience with such text editor. Related gems are looking pretty outdated (I'm using Rail...

Gravatar
How do I rename a field on a model without running migrations or altering the database?
Rails Solved • Asked by Jay Killeen
Hi I have a rails app that sits over an existing SQL Server database that I have no control over. Purely read only access to. I have a model like Customer with fields like CustomerCode, Custo...

Gravatar
Bootstrap Modal with Date Picker, what am I doing wrong?
Javascript Solved • Asked by James
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...

Gravatar
Best way to create a report/spam button?
Rails Solved • Asked by Ryan Carter
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....

Gravatar
Searchick filter with scope
Gems / Libraries Solved • Asked by Christophe Estanol
Has anybody used searchkick with a scoped model? I have an `Article` model with `scope :published, ->{ where(status: "Published") }`. So In my `ArticleController` I did the following: ``` qu...

Gravatar
Different Notification Types By Type
Rails Solved • Asked by Steve Quatrani
I am making a notification system and using the great tutorial on here to do it. I am going to have a few different channels that a notification can be sent out with: email, web push, text message,...

Gravatar
How do I resolve this error with Stripe checkout on wizard page via wicked gem?
Rails Solved • Asked by Robert Hopman
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 ...

Gravatar
How to send Webhook?
Rails Solved • Asked by Andre Zimpel
I'm building a content management service which needs to send a webhook everytime the user saves a record. What's a best practice to send webhooks in a rails app? A LOT of tutorials are about re...

Gravatar
ElasticSearch connection refused
Gems / Libraries Solved • Asked by Mason Donley
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...

Gravatar
How do I install bootstrap-v4 via yarn?
CSS Solved • Asked by Drilon Buzuku
Hey Guys, I tried to install bootstrap4 via yarn. And I tried it like this: 1. yarn add [email protected] 2. rails webpacker:compile 3. add the line: import 'bootstrap/dist/css/boots...

Gravatar
Cross-platform rich text editing
General Solved • Asked by Nino Rosella
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...

Gravatar
add index to nested forms
Rails Solved • Asked by stan X
Hi guys. currently struggling to retrieve child index reference in nested forms. I have my main form: <%= form_for(resource, as: resource_name, url: registration_path(resource_name), htm...

Gravatar
API params validation in Rails app
Rails Solved • Asked by Alex Musayev
Hey guys! I'm wondering, what could be a good and scalable way to validate if API request is well formed, before processing it. Rails has strong params for that, but I have a case when an API en...

Gravatar
How do I create an attendance form for student attendance?
General Solved • Asked by Ernesto Gutierrez
I've been racking my brain and just need to ask for help on the creating this function in my app. **Scope:** simple app for non-profit for tracking student attendance What I've done: * created...

Gravatar
Best Rails error monitoring software ?
General Solved • Asked by Pardha
Hi , I am working on a legacy application. I would like to add error monitoring tool for this application. It uses delayed job and other gems. I think Airbreak is the good one. Plese let...

Gravatar
Hatch - Deployment - Server monitoring
Servers Solved • Asked by Sanjay Nair
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 instanc...

Gravatar
Move a Legacy App in Production to a local Development Environment
Rails Solved • Asked by Travis Smith
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...

Gravatar
How Do I Create an App Where Each User Has A Separate Table
Databases Solved • Asked by Vikram Sharma
Hi, I want to create a web app which is a simple HR SaaS. Each user/company which registers will have get a separate table to upload list of employees. In terms of autorization a user/company ca...