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.
+Соционика 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.
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.
(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!
Thank you for the video :)
pundit starts at 41:02
Really helped me understand the RailsApp tutorial, and I got to see TDD working.
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.
Great tutorial on how to use Pundit!! Would be great to see how you test the controller after you've implemented the Policy!
people needs to see how the pundit gem works - not the rspec coding during 30 minutes
+Соционика 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.
Thank you so much for this tutorial! I needed this in my application!
Great job with this, man. Thanks for making.
Adam Yarger. You are the best :)This is so nice
Very nice & clean tutorial. Thank you.
Raw walkthru . Thks !
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.
Great video. I used it a lot. What are Pundit scopes? Still confused about that.
This is awesome. Thx for sharing!
Thanks!
(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!