Best Ruby & Ruby on Rails Resources
I wanted to compile an ultimate list of Ruby resources, books, courses, people to follow, etc... This list contains resources I have used…
READ MOREI wanted to compile an ultimate list of Ruby resources, books, courses, people to follow, etc... This list contains resources I have used…
READ MOREIn Ruby we can use the match method which belongs to the String class to both check a string for a regular expression match but also to…
READ MOREWhat is actually happening under the covers in Ruby when you ask if a variable is nil? It turns out that it's way simpler than you may think…
READ MOREControllers can get out of control. Their job should generally be quite simple. In an MVC framework such as Rails, they should have the job…
READ MORETypically in Rails apps we use rake tasks as a way to interact with our application through the command line. We're all familiar with…
READ MOREIn this article we are going to look at method_missing and respond_to_missing? in order to see what they do and how they can be used. We…
READ MOREI'm working with an API which requires a phone number to be in the format 555-555-5555. As much as you want your users to enter it in that…
READ MOREWhat is a Stack? A Stack is an abstract data type in programming which has a variety of uses. The basic premise of a Stack is that you can…
READ MOREToday we're going to explore a Ruby implementation of the Weighted Quick Union & Quick Find algorithm. This is an algorithm used to find if…
READ MORERace conditions A race condition or race hazard is the behavior of an electronic, software or other system where the output is dependent on…
READ MOREThis article is the counterpart to one I wrote on Recursion in Elixir . What is recursion? Recursion in computer science is a method where…
READ MOREIntro... learning Elixir This is my first post in the new Elixir category I've set up on my site. I'm new to Elixir and functional…
READ MOREThe challenge Write a program that outputs all possibilities to put + or - or nothing between the numbers 1, 2, ..., 9 (in this order) such…
READ MOREHow to ensure your values are unique It's often the case that you want to ensure that you've got uniqueness in your data. You only want an…
READ MOREAs a way to better understand how Ruby works, I started to dive into how object hierarchies work in the language. We're going to be covering…
READ MOREMy problems today Today I was trying to write a test for a method, and I was expecting certain behaviour that I definitely wasn't getting…
READ MORECan you do this integration? Is what I was asked. Oh no... it's in SOAP? Instantly all the time I spent working with SOAP APIs in PHP…
READ MOREWhat is method_missing? method_missing is a method that ruby gives you access inside of your objects a way to handle situations when you…
READ MORECreating Methods In this post I'll be discussing another aspect of metaprogramming in Ruby. The ability to create methods dynamically…
READ MOREWhat is metaprogramming? You might have heard the term metaprogramming before, but what is it and what does it have to do with Ruby? To…
READ MOREOverview I've been in Colombia for the last month visiting family, and last week I had the opportunity to hang out with the Medellin.rb…
READ MOREWhat is a Struct? A Struct in Ruby is one of the built-in classes which basically acts a little like a normal custom user-created class, but…
READ MORESituation Maybe you originally wrote some code for a Rails project that you're trying to use in another framework, in an automation script…
READ MOREThe basics of Rack Taken from the Rack website : Rack provides a minimal interface between webservers supporting Ruby and Ruby frameworks…
READ MOREWhat are tree structures used for? Tree structures are needed any time you want to insert a hierarchy into your data. It's when you want to…
READ MOREHi, Leigh, are you busy? The website is no longer responding... can you investigate? A phone call nobody really likes to receive on a…
READ MORERuby's Collect method Ruby's collect method is part of the Enumerable mixin; a mixin which provides very useful and powerful methods for…
READ MOREWhat is the Tap method? Ruby's tap method allows you to "tap into" a method chain, modify an object and receive that same object as the…
READ MOREWhat is an Enumerable? Enumerable is a Ruby mixin/module which provides a large set of functionality to collection classes. You already know…
READ MOREWhy does this site have I18n? It's a good question because my content is only available in English (perhaps I should write some articles in…
READ MORE