Intro To Editing Comments With Stimulus In Rails 7 | Ruby On Rails For Beginners Part 4

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024

Комментарии • 29

  • @Deanin
    @Deanin  2 года назад +7

    This Ruby is a clue to a hint in the video about what the next topic might be in this series. If you figure it out, let me know.
    Want to start from episode 1? ruclips.net/video/TlgSp2XPCY4/видео.html

  • @dencam
    @dencam 2 года назад +7

    Thanks man.
    After many attempts to kickstart my programming journey.
    I can finally say Ruby on Rails is clicking well in me.

    • @Deanin
      @Deanin  2 года назад

      Really happy to hear this. Just promise to use your power for good. 🙂

  • @kurtm9744
    @kurtm9744 2 года назад +7

    I love Ruby on Rails ❤️

  • @nmead33
    @nmead33 2 года назад +2

    I wasn't getting any console outputs from the Stimulus Controller. I think if you don't use the 'rails g stimulus controllerName' command and just manually copy/make a controller, you will need to manually update the manifest with 'rails stimulus:manifest:update'. Whatever it 'touches', fixed the issue for me.
    Thanks for the great content! I learn so much from watching, not just rails, but vscode shortcuts, new/better/different extensions, etc.

  • @marcusl16
    @marcusl16 2 года назад +3

    Hi on 27:52 we can use submit_label passing by the params to our form like this: (model: [post, comment], submit_label: submit_label) changing the button of the form like you did: and sending on show post and in the comment partial the submit_label param as you did it... I'm really learning so much thank you for bring it all this wonderfull stuff to learn.
    PD: I pass the test.

  • @mybabyarchive2104
    @mybabyarchive2104 2 года назад +1

    The best modern tutorial

  • @ThierrySourb
    @ThierrySourb 10 месяцев назад

    super helpful tutorial! Thank you!

  • @stephanedavy4857
    @stephanedavy4857 Год назад +1

    Hi Deanin, thx you for your videos, my problem is, the clicking button not activate the editor form why ?

  • @yanyang6141
    @yanyang6141 2 года назад +2

    this really help

  • @omokehindeigbekoyi9194
    @omokehindeigbekoyi9194 2 года назад +2

    At 14:43 my rails application has just application.js in the javascript folder. Is this a problem or can I still continue with the video?

    • @omokehindeigbekoyi9194
      @omokehindeigbekoyi9194 2 года назад +1

      I found out this might be a problem associated with creating the project on windows. Can I copy the content of the application folder to my project and expect it to work fine?

  • @AbmAsadullah
    @AbmAsadullah 2 года назад +3

    Great!

  • @zhongyangwang248
    @zhongyangwang248 2 года назад +2

    Hi Deanin, many thanks for the guide. But I have a question that why the application.js doesn't work. When I write some code in application.js, the function doesn't work. How can I fix it? And another question is that in the previous rails version when I create a controller, rails will create CSS and JS files automatically. But rails 7 not. So I need to create a CSS file for each folder in view myself?
    Many thanks.

  • @jouzou3709
    @jouzou3709 2 года назад +2

    Hey Dean, After I finish Part 3 and commit it to GitHub, Then I continued with Part 4. i faced a bug, My database comment logs are displayed on the website, specifically at the bottom of the comment, and include the id, post id, created_id, and so on. to fix this? Any clues? (sorry for bad grammar)

  • @Justinallenmarsh
    @Justinallenmarsh 2 года назад +3

    The edit action still shows an edit button while you are in the edit screen. This should turn into a back button.

    • @Deanin
      @Deanin  2 года назад +1

      Good point, I'll fix that in Wednesdays video

  • @Mikevets
    @Mikevets 6 месяцев назад

    so now, how to validate comment blank/not blank?

  • @DevBishwasBh
    @DevBishwasBh 2 года назад +1

    Why replying a new comment scrolls the page so weirdly?

  • @MayankAgnihotri123
    @MayankAgnihotri123 2 года назад +1

    I cannot setup stimulus for rails 7