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.
International Ruby Conferences Fall 2018
Every quarter, we publish an article about Ruby conferences worth visiting. This fall isn’t an exception:
Codemy.net V2 and is Rails still Relevant? - Lab Report [006]
We walk you through the new Codemy.net site and discuss the controversial topic of is Ruby on Rails still relevant in 2018?
Closures in Ruby: Blocks, Procs and Lambdas
In Ruby Magic we love to dive into the magic behind the things we use every day to understand how they work. In this edition, we’ll explore the differences between blocks, procs and lambdas.
Complicode! A needlessly complicated code generator!
Complicode (pun intended) it’s an implementation of the “algorithm” to generate control codes for invoices inside the Bolivian national tax service. Read more
Standardize Rails log output
Cast logs into uniform format for a centralized log management tool [MORE INSIDE]
Ruby and Emacs Tip: Advanced Pry Integration
Seamlessly integrate Pry into Emacs. Read more
Finding the right level of DRY for your RSpec test suite
From shared contexts to let blocks, we have lots of options for DRYing out our tests in the RSpec world. But how far do we take it? Read more
[Screencast] Rails Presenters
Separating view logic from bloated models can help maintain the model in the long run. https://www.driftingruby.com/episodes/rails-presenters
Rails Console Magic Tricks
Some tricks to improve your performance with Ruby console. The 2nd one is my preferred one. Read more
New additions to my favorite Ruby community resources
It’s been a while, and I have a few new favorite Ruby resources to share with you!
Symbol in Ruby
In the article, we’re going to explore the following topics:
The 1-week-old ruby.social Mastodon instance already has 500 users
Looking for a nicer or more focused alternative to Twitter? Come join us on the Mastodon ruby.social instance. It got 500 users in a week of existence. Read more
StimulusJS with Rails Action Cable and a bit of Sidekiq
Short demo on how to setup actioncable using stimulusjs outside the rails asset pipeline/sprockets area:
Here's what happened at the EuRuKo 2018 conference,
The 35th Ruby conference took place in Vienna, Austria. I’ve summarized my highlights of the 2-day conference in two blog posts, including video recordings of the talks: https://blog.phusion.nl/2018/08/31/euruko-ruby-conference-day-1/ & https://blog.phusion.nl/2018/08/31/euruko-ruby-conference-day-2/
101: Advanced OOP structure in Ruby
In this blog post we will focus on solving a simple task: Read more
GraphQL pagination in Rails.
If you are trying to learn how to use GraphQL, there are some basic tips about implementing pagination: .
Statics: Base class and modules for static models.
Statics it’s a simple gem developed using mostly the dry-rb gems and it helps you have “static” models that get their data from YAML files. Read more
MiniI18n - New release with Localization support
I just released a new version (v0.5.0) of MiniI18n gem with localization support for dates, time and numbers. Read more
Private and protected in Ruby
As a Ruby method is — behind the scene — a message handler associated with a block of instructions that returns an object, the private and protected policies are strongly correlated with the Ruby message concept.. SEE MORE
Rails… Still?!?!
At the Amsterdam Ruby meetup, Chris Salzberg has us metaprogramming and PJ Hagerty explores a number of Ruby and Rails frameworks:
Build a collaborative playlist over WhatsApp with Rails, Twilio, and Spotify
The WhatsApp API is new, but you can play around with it using Twilio. As an example, here’s how to build a collaborative playlist using Rails and the Spotify and WhatsApp APIs.
active_storage + silent logs
if you using active storage you may already seen lot’s of the noise in logs from ActiveStorage about sending files. Read more
Ruby on Rails and Node.js compared
Node.js+Express.js or Ruby on Rails? A comparison of two of the most popular choices in the development community. Ruby on Rails and Node.js compared