
Why Ember? Discussion
3
General
There's no turbolinks 4 :P
Priko Serto replied

How to use <script> in Rails 7
4
Javascript
How do I display a that holds a url with the .js I want to display. For example, <script src="https://greatsite.com/widgets/awesomescript.js">. I am very new to Rails, been learning for only...
Clay Dennis replied

Bundler's New Ruby Version File Option Discussion
1
General
Quick note, some of the documentation for some Ruby version managers (such as `chruby` which I use) instruct users to store the string literal "ruby-x.x.x" with the version in the `.ruby-version`. ...
Chris Oliver replied

Can NOT watch videos in China !!!
1
General
There are almost no Ruby tutorials in China, I chose this platform to study. But all your videos are on YouTube, Chinese consumers can NOT watch them. Do you have a solution. Thanks.
Chris Oliver replied

Is there any gem to transform pdf files to html?
2
Ruby
i need to convert a pdf file to html or some way to edit an existing pdf

Understand Scope Returns Discussion
4
General
Excellent episode Collin!
Another tip is you could keep the `future_events` scope returning a Relation. And possibly break the sorting out in case it’s used for other queries as your application g...
KRUPA replied

Start development instantly using devcontainers
0
Rails
Hello everyone, I learnt about devcontainers weeks ago and start using them and they are very helpful and easy to use. So, I putted this GitHub repo with a starter devcontainer template to setup an...

Parallel ActiveRecord Queries with load_async in Rails 7 Discussion
2
General
Are there any downsides to using load_async on everything if we know for a fact that we’ll be using the data during the request? It seems like a no-brainer if we can keep db connections in check?

How to add Feature Flags in Rails with the Flipper gem Discussion
1
General
Great episode!
Ketan Patel replied

How to count comments like reddit (infinite nested model) ?
2
Ruby
Hey Chris,
I have an `item` model which gets submitted. With
`has_many :comments, as: :commentable, dependent: :destroy`
then in the `comment` model I have
`belongs_to :commentable, polymorphic...
Solved

Extending Rails (Gently) Discussion
0
General
This was a fun discussion with Kasper, we talked for quite a bit longer but it was edited to make it shorter.
Also, be sure to check out Kasper's Open Source retreat if you want to hear more and ...
Kentastic posted

Best way to relate models on Jumpstart Pro
1
Ruby
Whats the best way to relate models? Im building a real estate app with Jumpstart Pro and would like to add property owners (contact/users) to the a property, so on the show page of a property I ca...
Oliver Sawtell replied

Editing Passwords Discussion
0
General
Hey Chris! Enjoyed the video!
Any issue with using:
...
@password = Password.new(password_params)
if @password.save
current_user.passwords << @password
redirect_to @password
....
In th...
Ann Cascarano posted

Tracking Metrics with Ahoy and Blazer Discussion
20
General
Awesome episode! Thanks Chris!
CF Pro Tools replied