Ruby SOLID principles
Design your classes with the best OOP practices I’m sure you heard about SOLID principles at least one time. It’s […]
Design your classes with the best OOP practices I’m sure you heard about SOLID principles at least one time. It’s […]
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 […]
It seems that writing Sidekiq’s workers it’s quite an effortless task. Still, during my eight-year journey with this great library, […]
In simple words, web scraping is a process of pulling information from a given website when no other way, like […]
Transactions are an essential part of the Rails framework. Even if you are not using them directly, Rails is doing […]
Basic usageEmployee = Struct.new(:first_name, :last_name)employee = Employee.new(“John”, “Doe”)employee.first_name # => “John”employee.last_name # => “Doe”As you can see, it behaves like […]
Use Rails magic to speed up developmentEnum is a shortcut for the enumerated term, which means a set of named […]