Delegated Types - Rails in Focus

Поділитися
Вставка
  • Опубліковано 19 лис 2024

КОМЕНТАРІ • 24

  • @_tonygaeta
    @_tonygaeta 2 місяці тому +12

    This how you win new adopters of RoR. Videos like this! Keep them coming!

  • @treydugas806
    @treydugas806 2 місяці тому +12

    Sometimes I wish people would wake up and realize how awesome Rails is! Don't get how it's not more mainstream/popular than other web frameworks out there.

  • @hamzasabljakovic6577
    @hamzasabljakovic6577 2 місяці тому +9

    Thanks for sharing! One feature I find particularly useful when working with seeds is the rails db:seed:replant command. This command truncates all tables in the database, so you don't have to manually write destroy_all statements at the beginning of your seed file (3:12).

  • @oli2016
    @oli2016 2 місяці тому +6

    Great to have delegated types explained that way. I've re-read the docs quite a few times, but it all seems a lot easier now

  • @FranciscoQuintero
    @FranciscoQuintero 2 місяці тому +8

    Awesome. Great the official rails org is pushing for this content.
    I don't personally like polimorphic assocs but good to know this is available to me.

  • @DamaxThomas
    @DamaxThomas 2 місяці тому

    Finally, I understand delegated types! Thanks!

  • @Sekalet
    @Sekalet 2 місяці тому

    Remarkable content, it feels like a highlight of the latest Rails docs and it got me reading the docs for clarity😋😎

  • @davidlyons24
    @davidlyons24 2 місяці тому

    That's great! Just now I'm dealing with a lot of polymorphic associations, I'll give a try! TY!

  • @_unknown_guy
    @_unknown_guy Місяць тому

    We have our own version of this in production for 10-12 years now :D

  • @OGSoundFX
    @OGSoundFX 2 місяці тому

    Amazing! I have plenty of polymorphic relations in my app, I can definitely see the use of delegated types 🙌

  • @railsmagicmike
    @railsmagicmike 2 місяці тому

    YASS! More videos like that please! 😆

  •  2 місяці тому

    I used them recently to create a paginated and chronologically ordered newsfeed of different types of content. Something that's normally quite difficult, but with Delegated Types it's a breeze.

  • @helcioandre9232
    @helcioandre9232 2 місяці тому +1

    Nice video, easy to understand 😊

  • @doryan08
    @doryan08 2 місяці тому

    Great video! I liked how you explained it. One observation the microphone sounds like you are talking through a metal can or something maybe it can be improved but the rest of the video is perfect!

    • @andrewf6690
      @andrewf6690 2 місяці тому +1

      yeah, I had to read the transcript to fill in some gaps due to audio quality. I still listened to every word of the vid since it is great content. But nicer audio next time will help engagement.

  • @nikhilghadi2865
    @nikhilghadi2865 2 місяці тому +1

    Can we implement this with by just creating a scope in post model?

  • @dencam
    @dencam 2 місяці тому

    Great news!

  • @ZecaBrisado
    @ZecaBrisado 2 місяці тому

    Nice!!!

  • @Devxcuba
    @Devxcuba 2 місяці тому +1

    🎉

  • @ChhaihongSRUN
    @ChhaihongSRUN 2 місяці тому

    ❤🎉 👏🏼

  • @amani_art
    @amani_art 2 місяці тому +1

    Rails Rules 🎉

  • @naltispace
    @naltispace 2 місяці тому

    nice 😻

  • @haroldpepete
    @haroldpepete 2 місяці тому

    that's looks like polymorphic in steroid, i didn't know this feature, thanks