Gaurav Keswani
Joined
3,530 Experience
35 Lessons Completed
0 Questions Solved
Activity
Posted in Find By Short Code Discussion
Doesn't this still use the set_link
code path at the end of the episode? We should be getting rid of that and adding
@link = Link.find(params[:id])
under the show
method?
When would you recommend someone to use Render vs Hatchbox with something like Digital Ocean?
A great thing to call out when using default_scopes is to talk about how they interfere with model initialization. Learnt this the hard way 😁