“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it. Currently working for InPay...”

Rob Lacey
Senior Software Engineer, UK

grab Ruby Objects by object_id

Are you ever frustrated that you cannot just grab objects in the console to see what the hell they are and what methods you can call on them?

2.2.3 :001 > ArticlesController
#<ActiveSupport::Callbacks::Callback:0x007fdb1e58a010>
70289541845000
#<ActiveSupport::Callbacks::Callback:0x007fdb1e3104d8>
70289540547180
#<ActiveSupport::Callbacks::Callback:0x007fdb1ed30058>
70289545855020
#<ActiveSupport::Callbacks::Callback:0x007fdb1e30b708>
70289540537220
=> ArticlesController 
2.2.3 :002 > ObjectSpace._id2ref(70289541845000)
GPK of the Day Evil EDDIE