PinnedNick FrancisciinBetter ProgrammingDevise Auth Setup in Rails 7Integrating Devise Auth with Rails 7 has some undocumented twists. Learn about them here or use the included template to bypass them5 min read·Jan 9, 2022--6--6
Nick FrancisciinTowards DevThe best index scheme for polymorphic associations in PostgresIf you want a fast lookup on a database foreign-key, you index it. But when your key has an ID and a type, which should we index?6 min read·Feb 6, 2023----
Nick FrancisciWhy you, a software engineer, should sell pet drugs on the internet with me18 months ago, I left my job at Amazon Pharmacy to help start an online pet pharmacy. It was a great decision. Would you like to join us?6 min read·Aug 25, 2022----
Nick FrancisciinBetter ProgrammingRuby Tip: How to Finish a Method After an Interrupt, Before ExitingA look at the flawed approach and the better solution8 min read·Apr 7, 2022----
Nick FrancisciThe Big Tech DialectLeverage the best words to move that needle up and to the right!4 min read·Feb 28, 2022----
Nick FrancisciinBetter ProgrammingShow and Hide Elements With Rails 7’s StimulusWithout thinking about Javascript, know to annotate elements2 min read·Jan 27, 2022--1--1
Nick FrancisciinBetter ProgrammingUsing “Belongs_to” to Write Better Rails Tests With (or Without) AssociationsBelongs_to requires an association by default and that’s good, but painful for testing. Here’s how to write great tests regardless4 min read·Jan 19, 2022----
Nick FrancisciSwitching Character Control in Unity: Part II, ImplementationYou need help. You’re building a game that requires a player to switch between characters. Here’s how you do it.4 min read·Jan 15, 2022----
Nick FrancisciSwitching Character Control in Unity: Part I, DesignYou need help. You’re building a game that requires a player to switch between characters. Here’s how you do it.4 min read·Jan 15, 2022----