
Go Rails' Stripe lesson and strong params
3
Rails
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 custo...
Brian Carpenter replied
Solved

Recommended Gems - share them here :)
0
Gems / Libraries
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 d...
Ohad Dahan posted

Multi tenant best strategy
5
Gems / Libraries
Hi,
I'm creating a multi tenant application using the apartment gem based on the video about multitenant here in gorails.
The model I choose was the Account instead of Users so I can have several...
Giancarlo Corzo replied
Solved

Issue when adding Confirmable in Devise - [ArgumentError - wrong number of arguments (given 0, expected 1)]
0
Rails
I've been setting up Devise Confirmable for my development environment Rails 5.1.7 app.
My initializers/devise.rb looks like:
Devise.setup do |config|
require 'devise/orm/active_record'...

Setup for roles and authorization
7
Gems / Libraries
Hi all!
This is my first question for the community. I'm super excited to be here and hope to be answering a few of them myself as well.
I'm working on a rails project where people can work on a ...
Jacob Montgomery replied
Solved

Row-level Multitenancy with ActsAsTenant Discussion
8
General
Of all the multi tenancy methods you have used, which one do you think is the best. I know it depends, but I need your opinion, which one would your mind start thinking of?
bradley replied

How to prevent access to a group if user isn't a member?
4
Rails
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 Group < A...
Alan Reid replied
Solved

Authorization With CanCanCan Discussion
23
General
Curious why CanCan and not an actively maintained project like Pundit?
Someone replied

Devise Secret Key was not set automatically
5
Gems / Libraries
Hi everyone,Strange problem appeared today. I am using Ruby 2.5.1 and Rails 2.5.0.rc2. When installing devise and pushing to heroku I got an error saying that the devise secret key was not set even...
Ariff Munshi replied

Upload Progress with Refile Javascript Discussion
32
General
Hello Chris, is there a good gem to build a progress bar? (for example, show % complete based on how many episodes you've watched)
Nikola Okonesh replied

Devise Filter chain halted as :require_no_authentication rendered or redirected
14
Gems / Libraries
I have an app with Rails 3.2.20 and Devise 2.1.2 (Yes I know it's old) and there are random occasions where a user will trigger a URL i.e. `site.com/calls` and I will receive an error in the `produ...
shakycode replied

when use carrierwave to upload mutiple images in one product , the active_admin edit one product page error.
0
Gems / Libraries
I want to add or upload multiple images in one product, but after I implement this , the active_admin edit product page error.
in products_controller.rb, permit the images , which type is json `...
Larry Qu posted

Rails & Vue.js Trello Clone - Part 1 Discussion
34
General
Glad you decided to do this :)
don mclamb replied

Nesting resources & controllers best practice
3
General
Hi all,
I'm relatively new to rails so apologies if this is a very basic concept / been asked before, I've had a look around and can't really find any best practices for when to use nested control...
Chris Oliver replied
Solved

Rails Application Templates Discussion
38
General
Hello,Im gettingCould not find "Procfile" in any of your source paths. Your current source paths are:
/Users/my_user/Documents/dev/my_app/https:/raw.githubusercontent.com/excid3/jumpstart/masterUsi...
Mpumelelo replied

Add Profile page for users
3
Rails
Hello,
Before i begin with my question, i would like to introduce myself. So i was introduced to ruby on rails via a friend around a couple of months back, when i decided to enroll myself with one...
shakycode replied
Solved

Hotwire missing template on form submission
6
Gems / Libraries
Hi Chris/extended go-rails community :)
I have been playing around with the new turbo rails and trying to implement a turbo stream for my login form submission errors. I am wondering if anyone el...
Jake Smith replied

Devise User with separate Profile
3
Gems / Libraries
Hi,
i am using Devise and i want to a separate profile for each user with additional informations like address, phone, mobile, ...
After Signup, the user should be forced to fill out his profile.
...
Pat James replied

Single Devise User Model or Multiple Devise Models?
8
Gems / Libraries
Hi all,
I am planning to create an application that will have several types of users with a couple shared fields and many unrelated fields. What would be my best option?
After doing some research...
Francisco Quinones replied
Solved

How to use jQuery & jQueryUI with Esbuild Discussion
16
General
If we're not using jQueryUI or any library that depends on jQuery, then are these lines enough by themselves?
window.jQuery = jquery;
window.$ = jquery;
Alex replied