Deploy Rails guide confusion
2
Rails
Hi,
I'm deploying my Rails app, using this website's Deploy Rails guide.
Something is not really clear, at the end of the guide, under the section 'Adding The Nginx Host' it says:
"Open up /...
Anthony Candaele replied
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
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
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
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...
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
Test some simple javascript with Minitest and Capybara
1
Testing
I'm seeking assistance on testing JavaScript that executes on the response page after a POST request.
So I have something like this
```ruby
class YourControllerTest < ActionDispatch::Integrati...
Russell Beckwith replied
Rich Text Blog Posts with ActionText Discussion
19
General
Hi Chris, thanks for the video. I was wondering how do I truncate the text on the index.html page? I only want to show 130 characters of the content (previously body).
<%= truncate(blog_post.c...
Pat Fitzner replied
Authenticating Blog Admin Pages Discussion
19
General
Hi,
Is it necessary to add @blog_post behind the edit_blog_post_path in the last part of the video or can that be left out as well? <%= link_to "Edit", edit_blog_post_path if user_signed_in? %>
Watched the video- One Time payments with Pay and Stripe- (embedded), Form never loads....
4
Rails
HAS anyone been able to get STRIPE EMBEDDED PAYMENTS working?
I followed Collin's course to the T, but when I get to the point where the stripe form is supposed to be inserted into my DIV on the Ap...