Adam Pallozzi (@adampallozzi) 's Twitter Profile
Adam Pallozzi

@adampallozzi

Building sleephq.com. Father and husband. Sometimes guitarist. Always learning. ❤️ Ruby on Rails

ID: 1465806836

linkhttps://sleephq.com calendar_today28-05-2013 22:14:45

974 Tweet

602 Followers

287 Following

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

I got excited that the latest Devise release works with Turbo and updated our login forms...and broke our OAuth flows 😥 Seems the recommended approach is still just disable Turbo to get around the CORS issue. In totally unrelated news, I need to add a system test for our OAuth!

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

If your app is an oAuth provider, after a login you may be redirecting back out to a different domain. A Turbo request with throw a CORS error and the user will be stuck on your login screen. Keep Turbo for your regular logins and only disable it for oAuth with this:

If your app is an oAuth provider, after a login you may be redirecting back out to a different domain. A Turbo request with throw a CORS error and the user will be stuck on your login screen.
Keep Turbo for your regular logins and only disable it for oAuth with this:
Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

Got sent to a reasonably believable phishing website today. Their downfall? Not a single link on the site works. They have the phishing form that I assume works, but even the links to the companies socials don’t work. Grade: F - lacking attention to detail.

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

Working on Bullet Train always presents different challenges. Today I created a test suite that generates new models and runs scaffolding to build out a working chunk of an application!

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

MacOS Ventura is cool but it's also probably the buggiest MacOS I've installed for a long time. I've been having issues with Spotlight and browsers opening too many new windows since I upgraded yesterday.

Andrew Mason (@andrewmcodes) 's Twitter Profile Photo

If Ruby has millions of developers, I am one of them. If Ruby has ten developers, I am one of them. If Ruby has only one developer, that is me. If Ruby has no developers, that means I am no longer on this earth. If the world is against Ruby, I am against the world.

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

I’ve never understood people who can come in so hot on a free product. We get it sometimes with people on the free SleepHQ plan. First class response from Taylor Otwell here.

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

Being in Aus we’re not effected by #svb run. But I really feel for all those who are. Esp small businesses. So stressful to lose access to your cash! Going forward the advice should be to spread your cash between a few banks no matter where you are or how stable you think your

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

Today's Rails and Postgres tip...don't forget to add an index when your table has 43M rows... And maybe don't deploy right at the end of the day when you're about to walk away from your computer for 14 hours 🙈

Today's Rails and Postgres tip...don't forget to add an index when your table has 43M rows...
And maybe don't deploy right at the end of the day when you're about to walk away from your computer for 14 hours 🙈
Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

Using ActiveStorage to upload large files in chunks improves performance and reliability and gets around Cloudflare's 100MB size limit. Just make sure you add indexes to your tables!

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

I’ve seen so many tweets about Marco Roth‘s talk from #RailsWorld! I can’t wait to watch it as soon as the video is out. But I’m excited just from the photos of his slides I’ve seen!

Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

Another Turbo Native app is coming to the App Store soon! Our SleepHQ app got approved on the very first submission to Apple. We put a ton of work into it, but couldn't have done it without Joe Masilotti's help and all his excellent content on Turbo Native.

Another Turbo Native app is coming to the App Store soon! Our SleepHQ app got approved on the very first submission to Apple. We put a ton of work into it, but couldn't have done it without <a href="/joemasilotti/">Joe Masilotti</a>'s help and all his excellent content on Turbo Native.
Adam Pallozzi (@adampallozzi) 's Twitter Profile Photo

I just tried out the “browse for me” feature where it creates a custom web page based on your search and it’s an absolute game changer. Congrats to the whole team. The app looks incredible!