Written by thoughtbot
29 followers 5 articles/week
Get your codebase ready for React 19

React has come a long way since its debut in 2013, starting as a client-side JavaScript library for building user interfaces. I think back to the days when Create React App was the starting point for a new React project and React was strictly a client-side Javascript library. Times before lifecycle methods were abstracted into Hooks, and before React...

Fri Apr 19, 2024 03:59
Prepare to Fundraise: A new playbook from thoughtbot and Forecastr

What’s the difference between a potential investor saying your early stage idea is “okay, but pass” instead of “I need to get in on that cap table!”? Fundraising is challenging, exciting, time-intensive, and if you’re lucky, the start of your next big phase of work. While investors all have different investing theses, there are a few core elements...

Thu Apr 18, 2024 03:03
DevOps Events and Conferences for 2024

Coming into the second quarter of the year, we have had time to get an idea of where 2024 is heading in the DevOps world. It may be overwhelming for some and exciting for others as we embark on a road with new and emerging technologies. In a fast paced industry, it’s important to keep up to date with what is to come. I am extremely excited to connect...

Wed Apr 17, 2024 03:12
Enum validations and database constraints in Rails 7.1

Rails 7.1 added a validation option for enum, so it’s now straightforward to validate that the value of an enum attribute is an allowed value and, optionally, that the value is not nil in an Active Record model class. This has made user feedback for enum attributes simpler, but it can get tricky when we want to define the enum in the database so we...

Tue Apr 16, 2024 03:23
Faster Tests With Capybara and Request Specs

Here’s a cool trick to improve the performance of your test suite: write more request specs and fewer system specs (yes, you can use them for more than API testing). Rails is very good at CRUD-y stuff, so if you don’t have fancy interactions, request specs are often good enough (and less flaky). But I hear you, Capybara selectors (especially with...

Mon Apr 15, 2024 03:19
Upcoming Talks at Ruby Conferences in Spring and Summer 2024

Upcoming Conference Talks by thoughtbot The year’s already gone by so fast; Since January 2024, thoughtbotters have already attended and presented talks at events like CCOSS and Sin City Ruby 2024. Didn’t make it to these events? Don’t worry, we’ve got more amazing talks lined up for the spring and summer of 2024. Mark...

Fri Apr 12, 2024 03:15

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account