Structure Guidance - Multi Tenancy Authentication / Authorization

19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
Chris Oliver replied

Feature Guidance - Linked Posts

3
General
Hey Fellow GoRailers, I have a feature that I'm implementing and some guidance would be well appreciated. It's linked posts: every time a posts gets updated, a link is placed on the original repor...
Rory Walker replied
Solved

Announcing the GoRails Forum

4
General
Hey everyone! Today I am releasing the GoRails forum. This is the place you can turn when you need advice for how to design a feature or refactor your code. I'll be answering questions here and di...
Chris Oliver replied

valid with Context Discussion

0
General

Realtime Domain Updates with Turbo Refreshes & Morph Discussion

0
General

Ruby Scripts & IRB Discussion

15
General
Good job Collin! Quick notes: - Ruby has to already be installed to do everything in the video so maybe a link to the Install Ruby and Rails Guide if folks need help with that (https://gorails.co...
Chamika Udayanga replied

Recurring Domain Expiration Syncing Discussion

6
General
Hi Chris, I followed your video and at 6:22, I couldn't see the Turbo::Streams and Domain::SyncJob (top 2 jobs). I could see the Domain::SyncAllJob (3rd one). Inside my /domains listing page, the...
Eric Chua replied

Components with Phlex in Rails Discussion

9
General
I feel like components in Ruby are super duper handy for arguments and other complex helper methods. Phlex takes it a step further with the HTML helper methods so you don't even really have to leav...
Lee Stetson replied

Sending Emails In Production With Mailpace Discussion

0
General

Setup Ubuntu 14.04 Trusty Tahr Discussion

0
General

Authentication Generator and Registration Discussion

0
General
are there any generators for jwt or token based for sperate frontend
v-d-k posted

Deploying our Rails Blog to Production Discussion

15
General
Hello Chris, thank you very much for you do to help us... I'm trying to deploy the blog but when building it on render I'm getting an error... Your RubyGems version (3.0.3.1) has a bug that preven...

how do i create two users at the the same time with two different session? P.S I am trying to create a game where two players are created at once being of same class(Player)

1
Rails
I am trying to create a game where two players are created at once being of same class(Player).
Leroy Diaz replied

Parsing Ruby with Prism Discussion

1
General
Mono sound only to left ear really annoys me :D
Baris Ozmen replied

Ecommerce multi-step checkout with guest accounts

11
Rails
Hello, I've been thinking about the best approach for implementing a checkout scenario in a custom ecommerce site I've been developing and wanted to see if anyone here had advice to share. We're n...
sabrinacollinsss581 replied

Rails new with TailwindCSS Discussion

0
General
can you explain in detail that why you didn't use bin/dev? I couldn't get your point

Calendar with Recurring Events Error Message - undefined method `has_key?' for "null":String

1
Rails
Hi I'm trying to follow Chris's Recurring events tutorial and I'm coming across this error message...NoMethodError in EventsController#indexundefined method `has_key?' for "null":StringExtracted so...

How do I generate SEO Friendly URL's for filter combinations in Rails?

6
General
I have a site where the user can apply a combination of multiple filters. To improve the SEO on the site I would like to have the URL in a human-readable format when filters are applied. I would ...

Rails 7.1 Authentication From Scratch - Test Helpers

2
Testing
I've implemented the Rails authentication in my 7.1 app but was wondering how to go about stubbing the `current_user` or `session` in my RSpec Request specs. I'm normally used to have a Devise or...
Russell Beckwith replied

How do I test the order of elements on a rails app page with Rspec / Capybara?

3
Testing
I have a 'Team' index page and I just want to TDD the ordering of the elements on page. My instructions are to validate they are showing most recently created first. I know how to do the actual i...
Russell Beckwith replied