SupeRails
Vložit
- čas přidán 31. 03. 2024
- Since Rails 7 you can not scaffold tables in the index view any more. Instead you have a list of cards. Here's how you can bring back tables to your scaffolds.
DHH hates this one simple trick!
Episode source code: github.com/corsego/164-scaffo...
Based on this blogpost: blog.corsego.com/custom-scaff...
Resources:
- / why_did_rails_7_kill_s...
- / scaffold_index_no_long...
- discuss.rubyonrails.org/t/bac...
- stackoverflow.com/questions/7...
- github.com/rails/rails/pull/4...
- github.com/rails/rails/blob/e...
I admire how you are able to get information quickly and get to understand the in and out of the framework ❤.
Neat! Thank you, Ярославе!
Very cool!
Lol at "DHH hates this one simple trick!"
Thanks. Good job. I like your video.
thanks Yaro!
Waaay better.