Rails Authorization With Pundit

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

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

  • @remloginov
    @remloginov 4 года назад +3

    Thank you for the video :)
    pundit starts at 41:02

  • @SuneilBasuentropy
    @SuneilBasuentropy 8 лет назад +2

    Really helped me understand the RailsApp tutorial, and I got to see TDD working.

  • @amanze
    @amanze 8 лет назад +1

    Hey man, I appreciate this video. I have been learning rspec-testing for a week now, and this video helped me to grasp authorization. Thanks for including testing.

  • @OtherPeoplesComputer
    @OtherPeoplesComputer 8 лет назад +2

    Great tutorial on how to use Pundit!! Would be great to see how you test the controller after you've implemented the Policy!

    • @Соционика23
      @Соционика23 8 лет назад

      people needs to see how the pundit gem works - not the rspec coding during 30 minutes

    • @OtherPeoplesComputer
      @OtherPeoplesComputer 8 лет назад

      +Соционика 2^3 I get that bro. Just saying it would be cool to see how you test the authorization in the controller because the original controller test is going to break once you get pundit working. Not saying anything is wrong with this video.

  • @nerwinchernando
    @nerwinchernando 8 лет назад +1

    Thank you so much for this tutorial! I needed this in my application!

  • @bdc-muzik
    @bdc-muzik 8 лет назад +1

    Great job with this, man. Thanks for making.

  • @utsabsapkota7623
    @utsabsapkota7623 6 лет назад

    Adam Yarger. You are the best :)This is so nice

  • @EnriqueSalceda
    @EnriqueSalceda 8 лет назад +1

    Very nice & clean tutorial. Thank you.

  • @pacesferry
    @pacesferry 9 лет назад +1

    Raw walkthru . Thks !

  • @victoriamielke4593
    @victoriamielke4593 9 лет назад +2

    On users index and show pages I am getting a "wrong number of arguments error," with the notice coming upon the "authorize' line in those methods for index and show in users_controller. I have checked my code against yours at Github and copied it exactly, so I don't know why Pundit is throwing this error.

  • @codecruz
    @codecruz 7 лет назад

    Great video. I used it a lot. What are Pundit scopes? Still confused about that.

  • @zinohu9720
    @zinohu9720 8 лет назад

    This is awesome. Thx for sharing!

  • @santiagomoreira8539
    @santiagomoreira8539 7 лет назад

    Thanks!

  • @ralphshnelvar5032
    @ralphshnelvar5032 7 лет назад

    (Detailed info about my problem can be found at stackoverflow.com/questions/44856528/how-to-trace-a-html-button-non-event-rails-authorization-with-pundit )
    Could someone tell me if they are having the same problem I am ... and maybe tell me how to fix it?
    I'm at 1:02:11 in the video and ...
    Everything seems to be working except (that is all links and "Change role" buttons work:
    The problem: If I click on an email address then info about that user's account is displayed.
    (e.g. localhost:3000/users/2) (This is correct.)
    When I return to localhost:3000/users by clicking the Users button, all the links work but the "Change role" buttons are not responsive. Using Wireshark, I believe no Post is going out.
    Help!