Refactoring with the Null Object Pattern Discussion
22
General
One thing to watch out for with NullObjects is Relations. Rails recently introduced a Relation#none method which will help in these cases. Imagine a Post has_many Comments, you'd want to create a N...
Sergio Márquez replied
How To Setup Vagrant For Rails Development Discussion
8
General
Nice guide. A few weeks ago I tried following it but ran into a few problems with chef recipes but now it worked =)Only two small problems: 1 - My "bundler" gem was not installed by vagrant, everyt...
Young Jung replied
Advanced Caching with User Permissions and Authorization Discussion
25
General
A great episode again Chris! I wish you had released this one a week earlier though :). It would have made my life way easier. Could you tell me if there is any advantage of using meta tag like &...
Alexa Skill with Rails Discussion
1
General
Really enjoyed it :) I wonder if we can do something like this with Siri
Ryan Caldwell replied
How to use Devise with Hotwire & Turbo.js Discussion
81
General
Hey Chris - If we are still using Webpacker, we just need to change data-turbolinks-track to data-turbo-track in our layout files? In your episode repo, you still have it as turbolinks.
<%= st...
How to Test OmniAuth with Rails Discussion
0
General
Format erb files on save?
1
General
I haven't worked with erb in a while, and now I'm getting back to it. I use Vim as my editor (https://github.com/joshukraine/dotfiles), and I also use [coc.nvim](https://github.com/neoclide/coc.nvi...
Kevin Brinkschulte replied
Turbo Confirm Modals with Confirmation Text in Rails Discussion
0
General
HTTP Server in Ruby from Scratch Discussion
4
General
This is very inspiring! Thanks for this course :)
rowposse replied
Atomic Updates And Performance with ActiveRecord Transactions Discussion
2
General
Love it
ctw replied
What is the best way to learn React JS?
5
General
What is the best way to learn React JS?
Dave White replied
Setup Ubuntu 22.04 Jammy Jellyfish Discussion
0
General
Serializing Attributes with Custom Coders Discussion
0
General
Chris, would you build Simple_Discussion differently today using Rails 7 and Hotwire?
2
General
I'm curious to hear how Chris would approach building simple_discussion if he had to start from scratch using Ruby 3.2, Rails 7 and Hotwire. Cheers! -Dan H
DanInBC replied
Solved
Solving FizzBuzz in Ruby Discussion
16
General
Love this episode Chris.Would love to see more.
Dylan replied
Testing File Uploads in Rails with Shrine Discussion
2
General
This is great! Can we add system tests too? How can we write a system test to create photo and update photos?
Charalampos Aristomenopoulos replied
How to write Controller & Integration Tests in Rails Discussion
8
General
Hi Chris great job! What is the difference of the integration test with the controller test
Building has_one from has_many Associations Discussion
7
General
Great tip! I use something similar for designating the thumbnail-image of a gallery of images. Something along these lines:
```ruby
class Gallery
has_many :images
has_one :thumbnail, -> { w...
David Aldridge replied
Something has changed with Passenger that has left the guides unusuables
1
General
It is the fifth time I try from scratch the deployment and have had deployed previously without any major problem. Think is, I don't know if it because now default repositories submit passenger 6, ...
Ashley replied
Adding Exceptions To Recurring Events Discussion
4
General
thank you Chris!
spacerobotTR replied