News



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.

Business logic in Rails with operators | Petr Hlavicka
Having a thousand lines long controllers and/or models is not the right way to have sustainable applications or developers’ sanity. Let’s look at my solution for business logic in the Rails app.Spoiler alert: yes, I will use PORO… again.Why?Why sh...