-
Rails has provided methods like find_by, find_or_initialize_by, and find_or_create_by to fetch, initialize, and create record respectivley, based on th.
Read more -
Leverage softPwn on the Raspberry Pi to control a mutli-colored LED with Ruby hexadecimal primitives, and some bitwise operations.The RGB LED I'm worki.
Read more -
An exploration of File Locking mechanisms and their pitfalls on Linux in Ruby.On a recent automation spree I produced a couple of hundred lines of ruby.
Read more -
How hashes have changed in the last few versions of Rails, and how you can handle them to minimize the pain of your next upgrade.Ruby hashes are wonder.
Read more -
I’ll give you the short version here: Ruby parses your code. It turns it into an Abstract Syntax Tree, which is just a tree-data-structure version of t.
Read more