Skip to main content
Fallback
How do I return a scope that I think includes a select?
Rails Solved • Asked by Clint Baker
Hello, I have a Model called Orgchart and it contains a position. In the users table there is an orgchart_id for each user. I have a select box on a form and I want to fill it with all the pos...
3
posts

Fallback
impossible to start my project with RoR v 4.2.10
Rails Solved • Asked by kara
help me to statr my first projet with RoR. on installation rails v4.2.10 ( *impossible for my to install the last version => v.5.x*) before create my project with command : `rails new inspiro...
1
post

Fallback
Passenger vs Puma
Servers Solved • Asked by Matt Walston
I notice that there seems to be a preference for Passenger over Puma in your screencasts and hatchbox.io. Can you elaborate? I was curious about HTTP/2, multithreading, performance, etc.
4
posts

Fallback
Got error message when I install Capistrano, stuck at deployment for two days.
Servers Solved • Asked by xiazhaoyang
I spent 2 days followed "Deploy Ruby On Rails onUbuntu 18.04 Bionic Beaver" , tried to deploy my rails project, now i'm out of my mind! I have repeated whole process for more than 4 times, always ...
24
posts

Fallback
Go Rails' Stripe lesson and strong params
Rails Solved • Asked by Mark M.
Hello, I recently watched the [Go Rails Stripe tutorial](https://gorails.com/episodes/stripe). In it, Chris creates subscriptions like this: ```rb def create_subscription customer = # set...
3
posts

Fallback
How to prevent access to a group if user isn't a member?
Rails Solved • Asked by Alan Reid
Hi all, I have user groups setup on my app using the code below... ``` class User < ActiveRecord::Base has_many :user_groups has_many :groups, through: :user_groups end class Gro...
5
posts

Fallback
How is the Front End of GoRails Built?
General Solved • Asked by Steve Polito
The new site is screaming fast. I notice that there's no page refresh on almost all requests. Is this View? React? Something else? I'm curious to know how this is done.
4
posts

Fallback
rails generate devise:install hangs
Rails Solved • Asked by Felender Hlungwani
I ran into this issue today whilst I was trying to deploy jumpstart template into **my Rails 5.2.1 App** When I ran rails generate devise:install nothing happened. No errors, no output – nothi...
3
posts

Fallback
How do I switch from 1 database to 1 database per client?
Databases Solved • Asked by John van Arkelen
I have a multi-tenancy app where everything is stored in 1 Postgres database. All models have a account_id, so the data a customer can see is based on his account_id. This works perfect, but due to...
7
posts

Fallback
Current_account selection
General Solved • Asked by Stan X
Hi Guys, In the app I am building, my users have several accounts (though account_users). For each account they can create, view, update... articles I would like to have a global selector at t...
4
posts

Fallback
Format of created_at for date range using Searchkick
Rails Solved • Asked by RJ McCollam
I am using searchkick to build out a searchform that has a couple different parts to it and searches across multiple models. I am specifically trying to get a date range setup so the user can searc...
15
posts

Fallback
ActiveStorage trix image before record exist.
Rails Solved • Asked by alogach
Hi, I have a Concept model with description string field. Concept `has_many_attached :images`, I use them to store images that I dragged into trix wysiwyg. Everything works great if Concept a...
4
posts

Fallback
"Controller action should call one model method..." (?)
Rails Solved • Asked by Nelson
***Controller action should call one model method other than an initial find or new*** *This inspection warns if a controller action contains more than one model method call, after the initial .fi...
2
posts

Fallback
Rails changing HTML tag possiton (?)
General Solved • Asked by Nelson
Im using AdminLTE 2 to build a small dashboard and everything was working nicely until I started adding links to the controllers on my sidebar. On first loading the dashboard everything works as...
2
posts

Fallback
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...
4
posts

Fallback
Search Filters/Report Generator
Rails Solved • Asked by RJ McCollam
I am working on a project for a client that consists of a primary jobs model that has a number of forms (other models) within it. I am needing to build out search functionality that searches thr...
4
posts

Fallback
Is a working version of Stripe Payment Master Course available?
General Solved • Asked by kwiksource
I have bought this course a few days ago and is still struggling to get it to work. This course video is good but seems to be quite outdated. Does anyone have a working copy of the course (espe...
5
posts

Fallback
Video transcoding
General Solved • Asked by Nilanga
Hi there! Can you add video trancoding episode for production ready, I mean API base
1
post

Fallback
Update Devise Migration File and Run rails db:migrate - Nothing Happens.
Gems / Libraries Solved • Asked by Nick McNeany
Hey everyone, Quick question (I hope). I have an application with Devise's out-of-the-box initial set-up. Later, I realized I wanted to include the Trackable functionality so I included it in my...
3
posts

Fallback
Is it viable to use Vue + Rails to make a Progressive Web App (PWA)?
Javascript Solved • Asked by soranomics
I need a web + mobile app on PostgreSQL that has offline functionality so I decided on making a PWA. There seems to be only 2 frameworks for making PWAs: Angular and Vue. So I decided to use...
2
posts

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.