Ruby Threads Explained: A Simple Guide to Multithreading (Part 1)
Learn Ruby threads from the ground up with simple examples. Understand how multithreading works in CRuby, why the GVL exists, and when to use threads effectively.
Learn Ruby threads from the ground up with simple examples. Understand how multithreading works in CRuby, why the GVL exists, and when to use threads effectively.
Rails 8.1 now allows marking associations as deprecated, helping developers safely identify and remove unused relationships with configurable warnings
Ruby 3.4 introduces the `it` parameter for single-argument blocks, offering a more readable alternative to numbered parameters.
Ruby 3.4 starts the transition to frozen string literals by default. Here's what changes, why you should care, and how to prepare your Rails app.
Rails 8 introduces a `comparable` option for serialized attributes, preventing unnecessary database writes when serialized data representations change but the content remains the same.
Rails 8 now allows defining multiple rate limits within a single controller using named configurations. Learn how to implement granular rate limiting strategies for different actions and time periods.
Ruby 3.4 introduces Happy Eyeballs v2, dramatically reducing connection delays for external API calls in Rails applications
Rails 8 adds `Parameters#expect` to prevent parameter manipulation attacks and provide clearer error handling when required parameters are missing or malformed.
Most Rails APIs ignore HTTP caching entirely, missing out on massive performance gains. Learn practical caching strategies that can reduce server load by 90%.
Stop wasting time optimizing code that doesn't matter. Learn how to use the Pareto Principle and profiling tools to find the 20% of your Rails code causing 80% of performance...