The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
How to use the Ruby 2.6 JIT
Ruby 2.6 was just released and includes a new experimental just-in-time (JIT) compiler. Here’s a quick screencast to learn How to use the Ruby 2.6 JIT.
Ruby in AWS Lambda with PostgreSQL / Nokogiri
Running Ruby-based Lambda functions with binary dependencies can be a bit tricky, so I wrote something to document how I got this working smoothly. [more inside]
Why RSpec users should care about Rails system tests
RSpec has had feature tests for a long time, so what’s the big deal with Rails system tests? https://rossta.net/blog/why-rails-system-tests-matter.html
Programming Crypto Collectibiles Step-by-Step Guide. Let's start w/ CryptoKitties...
I’ve started a new (free online) book on github titled “Programming Crypto Collectibiles Step-by-Step Book / Guide”. Let’s start with CryptoKitties & Copycats. Inside Unique Bits & Bytes on the Blockchain…
Tests as Must Have for Complex Projects
Development in its pure form is not only writing code, but also a number of manipulations that are necessary for its correct and timely work. Testing in development takes the lion’s share of both time and resources, but proper testing will bring only time savings and the best result for the client. Read More.
Function composition >> Ruby
Last week Proc#« and Proc#» got merged into Ruby 2.6. This opens the door for function composition. Here’s my opinion as to why this is a great leap forward for Ruby and what needs to improve. Read more
Rails 5 API + JWT Setup : Easy familiar way with Devise
Supercharge your next application with a solid setup of Rails 5 API & Devise JWT authentication: [more inside]
Using to_enum with methods that take a block
This post describes how to turn methods that use blocks into enumerators using the to_enum method and why this would be useful. https://rossta.net/blog/everything-is-enumerated.html
2018 - A Year of Ruby Conferences & Camps ++ 2019 - What's Upcoming?
Hello, you can find all ruby conferences & camps from around the world of the year 2018 @ https://planetruby.github.io/calendar/2018 What was your favorite? Any highlights? ++ For the upcoming year 2019 you can find all ruby conferences & camps @ https://planetruby.github.io/calendar/2019 What’re looking forward too? Any recommendations?
2018: Review of a year o blogging about Ruby
2018 was my first year as a tech blogger. [more inside]
Setting up Ruby on Rails Development Environment on Mojave 10.14.2
Sometimes we have to configure a new development machine, whether it is for ourselves or a friend. We often find that there are some little pieces of our environment that we have forgotten about or have neglected to document. This is my documentation for a ready-to-work development environment for Ruby on Rails. [more inside]
Ruby Quiz - Challenge #9 - Tally Up the Standings Table for English Premier League
It’s Friday. Ruby Quiz time! Join us. Let’s keep going with a new Ruby Quiz every fortnight. Ruby Quiz - Challenge #9 - Tally Up / Calculate the Standings Table for the English Premier League 2018/19 Season - And the Winner is… Liverpool? Manchester City? Send your code snippets to ruby-talk. Happy data wrangling and keeping scores with ruby.
Ruby 2.6
Christmas is around the corner, but I couldn’t wait and I have already been trying the new Ruby release! Ruby 2.6, apart from efficient improvements, which include the initial implementation of a just-in-time compiler, brings us many new cool features (including my Array#union and Array#difference methods). Taking advance of the cold outside, let’s discover some of them! [more inside]
The Three Ghosts of FizzBuzz: A Christmas Story
A Christmas-y journey to three different programming paradigms, all using Ruby. [more inside]
Maily v0.8.2 release
A new version of Maily (https://github.com/markets/maily) v0.8.2 has been published. Mainly, includes fixes for incompatibilities with last mail gem (released last month and internal Rails dep), which causes HTML emails renders always as text. So if you are using that mail version, please upgrade.
Ruby 2.6 JIT - Progress and Future
Over 10 months, Ruby’s JIT has evolved for the following focuses: Performance Portability Stability Security Let me show you what we’ve achieved for each of them in Ruby 2.6.
base32-alphabets gem v1.0 Update - encode/decode bits & bytes in 5bit groups (2^5=32)
Encode / decode (big) numbers in 5-bit groups (2^5=32) with Kai, Crockford or Electrologica notation / alphabet with the updated base32-alphabets library / gem. Happy bits & bytes slicing with ruby (or deciphering the CryptoKitties genome / genes / 240-bit integer number). Cheers. Prost.
What are Value Objects and benefits of using them
Value object is an immutable object without any history or distinct identity. It is represented and compared by value (combination of its attributes). Value objects are very handy for several reasons. This post explores them: [more inside]
Elixir vs. Ruby and Phoenix vs. Rails: What to Choose and Why
Now a new programming language called Elixir and its the most popular Phoenix framework have been discussed by web developers for a couple of years. The most favorite topics are Elixir vs. Ruby and Phoenix vs. Rails because Elixir has caused the greatest interest in the community of Ruby developers. [more inside]
MiniMagick Gem: How to Transform Images Using Ruby
Do you work with any kind of images in your Ruby application? Then there is a good chance you’ll want to change these images in one way or another. In this new article you’ll learn how: https://www.rubyguides.com/2018/12/minimagick-gem/
101: Law of Demeter
In this blog note, we will explain what is the Law of Demeter, when is it broken and how to avoid breaking it by making the architecture of application better. Read more…
Mastering data structures in Ruby — Recap
Writing this series has been lots of fun, and based on feedback, I decided to write this post to provide an index (so posts can be bookmarked), and to tell you what this series was all about and what you can learn from it. So, with no further ado, let’s dive in. Mastering data structures in Ruby — Recap