Create command line application with Ruby available via Homebrew
Building command-line application Our goal is to build a get_joke application that will render a random joke about Chuck Norris. The command […]
Building command-line application Our goal is to build a get_joke application that will render a random joke about Chuck Norris. The command […]
DSL’s around youBefore diving into the technical aspects of building DSL in Ruby, let’s explore more examples for domain-specific languages […]
Demo At the end of the article, we will have fully working simple chat. Creating example application Our application will […]
Gemfile is a well-known file even for not experienced Ruby developers. While for most people, it’s evident that the purpose […]
Enum is a shortcut for the enumerated type, a data type consisting of a set of values. Rails provides enums […]
Especially in larger legacy Rails applications, it’s harder to make a meaningful refactoring without changing a lot of code. If […]
Checking for presence I would risk writing that the most popular Rails’ methods are present? and blank?. Along with .presence, they are used to […]
Bootstrapping a Rails application can be a tedious task. It requires several steps, such as generating a Rails skeleton, creating […]
This article is a quick tip for anyone working with APIs in a Rails application and parsing the data without […]
The config-way of setting variables You can see this code in almost every Ruby gem that utilizes initializers to set […]