Skip to main content
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...

Gravatar
Checking for expired documents and sending email reminders
Rails • Asked by Stephen Sizer
Hi, I've got a system where users upload documents with expiry dates. I want to send the user an email reminder 1 month and 1 week before expiration to remind them to upload a new document. Wha...

Gravatar
How do I design a multi-tenacy Data Model for a ROR Whitelabel App
General • Asked by James Williams
Hey Rails community, I am at a bit of an impasse. I'm new to ROR. I have been working on an ideal for a white label App utilizing metaprogramming. I started to design the data model and have bee...

Gravatar
Episodes on Chef and Capistrano ?
General • Asked by Pardha
Is there any videos on using Chef and Capistrano to deploy and manage our Rails applications ? Thanks -

Gravatar
Using migrations to migrate data from one table into another
Rails • Asked by Shairyar Baig
I have two models user and account linked with each other as following ``` account.rb belongs_to :user user.rb has_many :accounts ``` I want to move the data from column ```name ``` in...

Gravatar
Stripe connect managed accounts
Rails Solved • Asked by josh edgar
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 ...

Gravatar
Error message is displayed One to one relationship with Ruby on Rails
Rails • Asked by prabu
Hi Everone, i am trying to create one to one relationship with ruby on rails5. 1. I ahve created the Dubject model in the below format class Subject < ApplicationRecord has_one :page ...

Gravatar
Install a custom loader with webpacker gem
Javascript • Asked by Abhinav Mathur
I am trying to use a Vue.js based material design framework called [Vuetify](https://vuetifyjs.com/) with Rails 5 and the webpacker gem. The styles for this framework are created with the [Stylus](...

Gravatar
Shrine vs. Carrierwave
Gems / Libraries • Asked by Ohad Dahan
I noticed in the screencasts that the first one is on Carrierwave , but later on they're on all Shrine. I really like https://github.com/diogob/carrierwave-postgresql (not sure if it supports Shri...

Gravatar
Nested has many through... Or is there a better way?
Rails • Asked by Stephen Sizer
Hi I have 2 models Tender and Group shown below. For a Tender you can add Contractors (contractor_details) and you can also add Groups (groups). Groups also contain contractor_details. This i...

Gravatar
Problem with deletion and recreation of same association
Rails Solved • Asked by Rohan Mayya
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...

Gravatar
Rails app configuration on production server
Rails • Asked by Aqib hameed
I want deploying Rails 5 app using Nginx, Unicorn, Postgres and Capistrano on centos 7.so which guide is best ???

Gravatar
Why to purchase the stripe course or Showing Off Game Nanny
Showcase • Asked by Scott Johnson
tldr; No question here, just a show case. I recently purchased [Chris' Stripe course](https://courses.gorails.com/payments-with-stripe-and-rails-master-class) and used it as a baseline for the e...

Gravatar
How do drag and drop builders work?
Rails Solved • Asked by josh edgar
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 ca...

Gravatar
How does Chris open NERDTree by default when he runs "mvim ." ?
Tips • Asked by Liam Elliott
When I open a directory with mvim, I don't seem to be getting nerdtree. Instead, I get the regular directory buffer that is styled like nerdtree. When I open a file from this regular tree view, it ...

Gravatar
Layout for Devise with scoped route
Rails • Asked by Nick McNeany
Hey Everyone, I'm trying to use a custom layout for my `devise/registrations#edit` view. I'm using a scoped route. ``` devise_scope :member do get "/members/:id/settings" => "devise/registr...

Gravatar
Jquery destroy seems to fire twice.
Rails • Asked by Simon P
Hi I get the confirm msgbox "are you sure" twice and have to OK it twice: <td><%= button_to 'Remove', line_item, method: :delete, data: {confirm: 'Are you sure?'} %> </td> In controller: ...

Gravatar
Are there any up to date tutorials for jquery-sortable?
Gems / Libraries Solved • Asked by Christopher Stewart
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? ...

Gravatar
Recommended Gems - share them here :)
Gems / Libraries • Asked by Ohad Dahan
Most of my recommendations are performance oritented but I'll be happy to hear about Gems that can help in other domains. 1. PGHero https://github.com/ankane/pghero , great to keep track of your...

Gravatar
Optimizing Queries in Service Objects
Ruby Solved • Asked by Jacob Warren
I'm currently building an app and using namespaced service objects containing a single call method in each class. Below is an actual method (I'm aware the ABC size is too large, I'm wanting to g...