stephane.cedroni
Joined 12/12/2016
stephane.cedroni said over 7 years ago on DRY up your Javascript :

Hi, is there a reason you use both $document('ready') and 'turbolinks:load' listeners? As far as I know 'turbolinks:load' should be called on initial page load as well, making $document('ready') redundant.


stephane.cedroni said over 7 years ago on Rails API - Authentication with JWT :

Thanks for the interesting video Dave. JWT tokens provided by the Knock gem have a default expiration of 1 day, and it would not be a very good user experience to ask login/password that often on expiration. Have you tried or can you think of a way to refresh tokens client-side to improve the UX?