SQL Server has a session-level setting that silently truncates your binary data before it ever reaches Ruby. It defaults to 4KB. Most drivers fix it automatically. tiny_tds does not.
When your workday ends as your teammates’ begins, synchronous communication stops being the default. The solution isn’t more meetings at late hours; it’s learning to anticipate questions before they’re asked.
Encrypting data is easy — querying it isn’t.
Rails’ deterministic encryption makes encrypted fields both searchable and secure.
When we voice our fears, we build trust, courage, and stronger teams.
Sorting columns in custom order in Rails elegantly using inorderof.
Need to catch N+1 queries without adding any extra dependencies to your project?
Strict Loading makes it effortless, but your configurations need to be set up correctly to avoid unexpected behaviors.
With the release of Rails 8, asset management in Rails got faster and simpler with the new asset pipeline, Propshaft, which is not only simpler but also more aligned with modern Rails development needs compared to its predecessor, Sprockets.
The presenter pattern is a handy design approach that sits between your views and models, helping you keep your code organized by handling view-specific logic in a clean and maintainable way.
Let’s explore how to use it you your rails app.
Need to fetch the opposite data for an existing ActiveRecord query? Rails invert_where makes it effortless, but be careful with the side effects.
How to create flexible and maintainable static data for your Rails application using static_association.