vbaxt

Joined

20 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Introduction to Stimulus Reflex Discussion

JUST CRAZY !

Posted in API Authentication with an OAuth Provider Discussion

I don't know how mutch it will break the logic
but impossible for me to follow exactly the video .
Something is not working as Chris show.
i'm talking about the me.json.jbuilder

ii have the error ⚠️

undefined local variable or method `current_resource_owner' for #<#<Class:0x00007fe41cabc360>:0x00007fe41bda5f28>
Did you mean?  current_user

to solve this ...


json.id current_user.id
json.email current_user.email
json.name current_user.name
json.avatar_url gravatar_image_url(current_user.email, size: 40)    
json.id current_user.id
json.email current_user.email
json.name current_user.name
json.avatar_url gravatar_image_url(current_user.email, size: 40)

and it work ✅ but i think that the futur logic won't work
any advice to help ?

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.