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...

How to Migrate attr_encrypted to Rails 7 Encryption Discussion

2
General
Thank you Chris, really nice :)
MartyLShaw replied

Graphql on Rails

7
Rails
Hi Chris! Could you please publish a lesson or guide about using Graphql with Rails? Thanks!
Danny Garcia replied

Syncing Domain Expiration Discussion

0
General

Base62 Decoding Short Codes Discussion

5
General
Intresting, I had the same requirement so I created this gem https://github.com/xiaohui-zhangxh/xencoder , it can encode/decode interger to BaseX and prevent it to be decoded without seed

How do you setup email in your application and link it to a record

0
General
Hey Chris. I have been trying to look online but haven't been successful in finding out the following. Say you made a CRM application in Rails and setup a pop3/imap email in the app. How would y...
Tabish Iqbal posted

creating new rails app error

9
General
Hi i am creating new app with command rails new myapp then i am getting this error but unable to find how to resolve this i tried installing tzinfo, tzinfo-data and updating bundle but still proble...
formalexclusive replied

Nested Comment Threads in Rails - Part 1 Discussion

36
General
Greate episode! If I should get this episode a couple of years ago, that may should saved my life jajaja! So, this is the same logic you are using here in your post and epdisode comments?

Realtime Nested Comments: Part 3 Discussion

32
General
Very cool. I imagine a real-time comment feed like this will make a website feel come alive. One issue I’d love to see addressed in a follow up video is the page kinda moving around as you’re rea...

Test my application

0
Testing
Other developers to test my application rubygem kit compact web app that lets you build, publish, verify, and manage Ruby gems from a single no‑code frontend — with CI triggering and subscriptio...
Ndivhuwo Justice Mamidza posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.