Learn about hash value omission in Ruby, their benefits, examples, and implementation guidelines for more concise code
Learn how to use the new Ruby syntax and write beautiful code.
You will discover the new syntax added from Ruby 2.7 to Ruby 3.3 and practical examples of using them in a Ruby on Rails application.
Learn about hash value omission in Ruby, their benefits, examples, and implementation guidelines for more concise code
Explore refactoring Rails transaction blocks with the endless method. Pros and cons, examples from Maybe and Mastodon, and community feedback
Quick introduction to the endless method in Ruby, exploring use cases and potential impacts on code structure
Compare `Data.define`, `Struct`, `OpenStruct` in Ruby: object creation and accessing attributes
Explore the evolution of Ruby's endless method syntax: its origins, proposals, and the innovative solution for concise, single-expression methods
Discover Ruby syntax evolving since 2.7
Discover Ruby 3.3's `it` default block param warning, its impact on RSpec, and how to fix potential conflicts. Learn more in my video or article.
While preparing my article for the series that I started about Open Source Ruby, I found an example of code that I think could benefit from using the endless method. Here is a v...
Practical ideas about how to stay up to date with the newest Ruby and Rails features while also working on your projects.
A bit of (personal) history I learned Ruby, I think, around 2007, and back then, it was a language pushing boundaries for me. Before encountering Ruby, I worked with Java, C/C++...
This is primarily a response to a Reddit comment but I have encountered this line of pushback against short-hand syntax multiple times. Thus I think it is good to write it down ...