Andrei A

Joined

550 Experience
3 Lessons Completed
0 Questions Solved

Activity

Please note that Microsoft Outlook (and possibly other email clients) will pre-fetch the link and execute a get request and INVALIDATE THE TOKEN prior to the recipient having a chance to click on the link!

I spent some time troubleshooting this issue and I think it is worth mentioning in the video or the video notes. My solution was to add an additional step where the user needs to click on a button and confirm the login action with a POST request.

Another solution is to have the token allow multiple logins but this is much less secure.

https://stackoverflow.com/questions/34346732/do-any-common-email-clients-pre-fetch-links-rather-than-images

I need two separate bundles - one for the Admin section and one for the Public part of the application.

How can I add a second bundle to an ESBuild configuration? The two should have separate lists of stimulus controllers, although some of the stimulus controllers would be shared.

Same for SCSS - I will need two separate compiled CSS files, one for the Admin area, and one for the user-facing layouts.

  • how do you install it with Rails 6.1 and most common use case (webpack setup)
  • is Turbo a drop-in replacement for Turbolinks?
  • what would it take to replace Turbolinks with Turbo in existing (6.0) projects?
  • your thoughts comparing Turbo + Stimulus vs Stimulus Reflex
  • any issues you're noticing, unanswered questions that popped while using it
  • common scenarios where it'd be useful, and common scenarios where it cannot be used

Hopefully these would be also useful to others.

Will the v.1.x html markup continue to work with v.2, or would I need to refactor them?

It is my understanding that the old data-target="controller-name.target-name" and data-action="change->controller-name#action-name" will continue to function but may be deprecated in the future. Am I correct?

Posted in How do I renew my plan at the current discount?

Thank you, Chris

Posted in How do I renew my plan at the current discount?

I upgraded my account at the black friday sale in 2019.

Do I need to cancel and upgrade, or would last year's discount get re-applied at renewal?

Thank you.

Posted in Caching with Etags Discussion

So basically this tells browsers that have already downloaded a copy of this version of this URL - hey, the URL has not changed?

Or this caches the whole page on Rails side and re-sends the Rails' HTML to the browser?

Looks like you need a separate heroku app with shared databases and environment vars.

Considering hatchbox.io + DO over heroku.

If we are to start a business, we'd hope that the platform we are using is reliable and resilient.

I am wondering, is this a one-person small business? If yes, are there protocols in place in case to guarantee operation in the case of something happening to this one person? (Could be an accident, or could be having twins :)

Also, what happens if the subscription to the service is not renewed. Would this cause a disruption?

Thank you.