Refactoring with the Null Object Pattern Discussion
A really cool video Chris thanks!
Sergio Márquez repliedA really cool video Chris thanks!
Sergio Márquez repliedSame question.
Young Jung repliedI'm only half way done with the video, but this is such an awesome project idea! Would definitely love to see more content like this. Thanks Chris :)
Ryan Caldwell repliedI use HTML Beautifier, within vim you can make map with ':!htmlbeautifier %'
Kevin Brinkschulte repliedVery interesting lesson.
rowposse repliedsally.transfer(bob, 10000), it is not rollback! why? class Account < ApplicationRecord validates :balance, numericality:{ greater_than: 0} def withdraw(amount) update(balance: balan...
ctw repliedPass one course and search for projects, practice is the best teacher
Dave White repliedJust curious - would you consider simple_discussion to be RESTFUL in the classic Rails sense? I wasn't able to use the gem as I use Tailwind for my app, and it would be too much work to change all ...
DanInBC replied • SolvedI realise this is an old video but for anyone having an issue with line #19 "if str.blank?" I used str.nil? and it works
Dylan repliedHey Chris! Great work as always! It's not that is hard to be honest, but I think it would be great and mostly helpful to have in the description of the video any previous related episode to this on...
Charalampos Aristomenopoulos repliedAnd since the enum has created scopes for `billing` and `shipping`, you can DRY those associations up a little with: ``` has_one :billing_address, -> { merge(Address.billing) }, class_name: "A...
David Aldridge repliedIt is possible that the Passenger version you are using is not compatible with the version of Ruby you are using. Try updating both Passenger and Ruby to the latest versions and then redeploying yo...
Ashley replied