News

Rails 7 adds setting for enumerating columns in select statements | BigBinary Blog
Rails 7 has introduced a new setting called enumerate_columns_in_select_statements for enumerating columns in activerecord select query statements by which we can avoid common ActiveRecord::PreparedStatementCacheExpired errors.Rails uses prepared ...

Rails 7 adds disable_joins for associations | BigBinary Blog
Rails 7 introduces disable_joins for database associations to avoid join errors in multi tenant applications where the two tables are located in different database clusters.Rails commonly perform lazy loading while fetching records for better effi...



Ruby Rogues: Encryption and Security in Ruby and Rails ft. Jorge Manrubia - RUBY 520
Jorge Manrubia is a Security developer at BaseCamp. He discusses the encryption features added in Ruby on Rails and explains where they fit into the ecosystem for Hey.com.The panel jumps in to help discover how to help raise the privacy bar for yo...

Less known capability of Ruby's JSON.parse | Arkency Blog
If you ever got annoyed by the fact that JSON.parse returns hash with string keys and prefer hashes with symbols as keys, this post is for you.If you’re a Rails developer, you’re probably familiar with deep_symbolize_keys method in Hash which can ...

What is a "Hash" and How to Build one from Scratch in Ruby
Like a lot of data structures, Ruby provides us with a ready to use class Hash, which we can use by calling Hash.new or using the hash literal {}.Like other data structures, a hash holds a collection of data, but that data is not ordered. Instead,...


Don't mix refactorings with behavior changes - Code with Jason
Probably the biggest reason not to mix refactorings with behavior changes is that it makes it too easy to make a mistake.When you look at the diff between the before and after versions of a piece of code, it’s not always obvious what the implicati...

Video Tutorial: Get Started with RBS in RubyMine | The RubyMine Blog
Hello everyone,In this tutorial, you will learn how to add RBS to your project and get an overview of the main RBS features that RubyMine offers.For more information about this topic, read the section dedicated to RBS in the RubyMine documentation.