Private Class Methods In Ruby

A quick tip to how to difine a class method as private method, I have seen lot of people doing it wrong way. Lets take a quick look on how to define a private instance method in ruby class Dog def poop "Going outside, and will poop :)" end private def bark puts 'woof...

Nominations for Ruby Prize 2016 are Now Open

Nominations for Ruby Prize 2016 are now being accepted for new and outstanding members in the Ruby community. The Ruby Prize is given to recognize the efforts of remarkable activity and achievements in the Ruby Community. The prize will be awarded by the...

Your Golden Ticket to the Chocolate Factory 🍫

Today we’ll be touring the wondrous Ruby on Rails chocolate factory to see how its marvelous candy, consumed by web apps and developers everywhere, is made and tested. Golden tickets in hand? Let’s go! Welcome! 🎩 This Week’s Rails Contributors This week, 26 fabulous...

Ruby 2.1: Profiling Ruby

Ruby 2.1 is shipping with rb_profile_frames(), a new C-api for fetching ruby backtraces. The api performs no allocations and adds minimal cpu overhead making it ideal for profiling, even in production environments. I’ve implemented a sampling callstack profiler...