SupeRails

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...

Пікірлер: 7

  • @ledockol
    @ledockolАй бұрын

    Neat! Thank you, Ярославе!

  • @ernestadonu9110
    @ernestadonu9110Ай бұрын

    I admire how you are able to get information quickly and get to understand the in and out of the framework ❤.

  • @mikopiko
    @mikopikoАй бұрын

    Very cool!

  • @doathing6397
    @doathing639729 күн бұрын

    Lol at "DHH hates this one simple trick!"

  • @tevoj
    @tevojАй бұрын

    Waaay better.

  • @yaroslavbozhak9107
    @yaroslavbozhak9107Ай бұрын

    Thanks. Good job. I like your video.

  • @SupeRails

    @SupeRails

    Ай бұрын

    thanks Yaro!