
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

Test Driven Development Basics Discussion
4
General
I really like that you come at it fairly 'bare bones'... as in, no Rspec / FactoryBot / Fixtures / Cucumber / Faker / shoulda-matchers /guard etc etc. I recall when learning for the first time, i...
Marina Angeli replied

Cloud9 Rails Console display makes it unusable
2
General
Hello,
I am using Cloud9 for a Rails project and everything works fine except the Rails Console.
The display get messed up because of the autocomplete popup moves the active line around the scree...
chuckblake replied

Bundler default gem dependency error Discussion
0
General

Dependency Inversion Principle Discussion
11
General
Thank you for these quality episodes. We definitely want to see more episodes like this. It would be nice to see them how they are applied to real-world projects. How to create the folder structure...
Rafael de Paula replied

Rails for Beginners Part 21: Reset Password Token Mailer Discussion
10
General
Need rails 6.1.0 and above to access `user.signed_id` in case somene is having issues with that

Notifications for ActionText User Mentions Discussion
5
General
Great tutorial as always chris.
In your repo, you have some code for a video embed custom Are you making a tutororial about that?
It would be great to figure out how to add things like a link ...
Kristian Gerardsson replied

How to Test Validations in Rails Discussion
1
General
Where do you think test factories come in here? A RatingFactory could make sure that the object instance we're using for tests is valid without us having to care how it's achieved.

Basic Authentication and RSS Feeds Discussion
11
General
Is this functionality on the current gorails.com site? I'm not seeing it.Edit, had to enter the url manually: https://gorails.com/episode...

How to build a Custom Rack Middleware for Rails with Railties Discussion
0
General

How To Maintain A Rails Gem: Becoming Maintainer of the Sequenced Gem Discussion
2
General
Nice work Chris, very interesting. Thanks for flying at altitude and avoiding the rabbit holes too
Shairyar replied

Debugging with Caller Discussion
1
General
Excellent episode! I have been using this method with the whoop gem and it's been extremely valuable to know which line of code called the `whoop` method.

Rails for Beginners Part 9: URL Helpers and link_to Discussion
7
General
It's there an easy way to mark current page in navigation?
Thy replied

ActiveRecord Explain Discussion
2
General
Love your vids..
KamiI ZieIiński replied

How to use CodeMirror 6 with Ruby on Rails Discussion
1
General
Any reason why you're passing the initial value to set for the editor with Stimulus values instead of something like...
new EditorView({
doc: this.inputTarget.value
...
})
Holger Quick replied

Rails for Beginners Part 30: Tweet Validations Discussion
8
General
Working these videos late, I failed to realize my timezone is different from the rails default. You can set your time zone in `config/application.rb`.
For example:
`config.time_zone = "Eastern Ti...
Peter replied

How to use "ensure" in Ruby Discussion
3
General
Having GoRails sprinkled with some savory dishes like this one would be extremely useful in my opinion. 👍
Sahil replied