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.
Dockerizing a Rails application
I published a new tutorial for Dockerizing a Rails application. [more inside]
Messages on Rails Part 2: Kafka
In the first part of this series, we were exploring some potential options for communication between services – what their advantages and disadvantages are, why HTTP API is not necessarily the best possible choice and suggesting that asynchronous messaging might be a better solution, using, e.g. RabbitMQ and Kafka. Let’s focus this time entirely on the latter. [more inside]
Stop using views: frontend components architecture for Ruby on Rails
component_party gem that allows us to organize our Rails frontend code in components and keep our css, view models and templates organized by domain. [more inside]
(Secure) Ruby to Liquidity (w/ ReasonML Syntax) (Source-to-Source) Cheat Sheet
Hello, I’ve put together a cheat sheet / white paper that lets you compare “pragmatic” (Secure) Ruby to “functional” Liquidity (w/ ReasonML Syntax) / Michelson side-by-side with a Counter, Vote and Minimial Viable Token contract example. Happy crypto (contract) programming with ruby. Cheers. Prost.
JsonapiErrorsHandler - A new way of catching API exceptions in ruby
Recently we came with a new little gem for ruby API applications and I decided to come with an article about it. [more inside]
Using LDAP to Login and Logout Users in Rails apps
How to use LDAP to login and logout a user using OmniAuth and LDAP. We will also see how to search for a user and test LDAP server connectivity. Read more: Using LDAP to Login and Logout Users in Rails apps
Creating a chat application from scratch with Rails and WebSockets
I’ve just published a tutorial for creating a chat application with Rails and WebSockets from scratch.
What's New in Rails 6.0: The rails db:system:change command
Changing the database adapter for a Rails app has always been an annoying, manual change to make. Rails 6.0 introduces the “rails db:system:change” command to make this easier using all the built-in generators for database.yml and more. See how to use the rails db:system:change command
Processing a CSV file in batch with Sidekiq
How to upload a CSV file with over 10 thousand rows of data without causing any time out in the app. [more inside]
The State of Bool in Ruby - Everything You Never Wanted to Know
Hello, for the Vienna.rb April meetup I’ve put together talk notes on: The State of Bool in Ruby - Everything Your Never Wanted to Know . The contents reads: Trivia Quiz - The States of Bool ++ Bool Basics / Classes, Classes, Classes // Truthy and Falsy - (Almost) Everything is True // The state of built-in bool conversions - to_s, to_i, to_b, to_bool and so on. Happy coding in ruby with (or without) Bool. Cheers. Prost.
Why Use Ruby on Rails for Your Startup: Top 10 Reasons
Why use Ruby on Rails for your business project? Read this article and discover the top 10 reasons why Ruby on Rails is the best choice for your startup: [more inside]
CanCanCan 3.0 released 🎉
The most used and appreciated authorization framework for Ruby On Rails receives a major upgrade and comes with some great, new features, like attribute-level permissions.
Action Policy 0.3.0 released
The new action_policy gem release adds universal scopes support, debugging utilities, instrumentation and i18n integration. [more inside]
Application Dependencies: When and Why You Should Upgrade
I recently participated in upgrading Rails framework and learned a few things, if I knew them, it would save me some time. This article is not about upgrading Rails, but it can help you plan your upgrades better.
Active Storage meets GraphQL: Direct Uploads
Vladimir Dementyev in his article explains how to swap the REST part of Active Storage in Rails 6 for GraphQL mutations when dealing with direct uploads. A missing documentation for Rails/GraphQL applications dealing with user files.
faastRuby announces intent to open source its platform to help accelerate serverless
Today @ RedisConf faastRuby announced its intent to open source its entire platform. Here’s a link to our press release: [more inside]
Ruby's Creed
I wrote down some thoughts on Ruby’s evolution (from a purely syntactic perspective) and how they fit (or don’t fit) its creed to “optimize for happiness”.
Monitoring Puma web server with Prometheus and Grafana
Easy monitoring Puma web server with the help of yabeda-puma-plugin gem, the new one of the Yabeda monitoring framework. Checkout out the gem source code.
Announcing a Headless Chrome driver for Capybara!
Announcing the capybara-headless_chrome gem. This Capybara driver wraps up all the nitty-gritty Selenium configuration details, and also provides support for downloading files. We’ve been running test suites from dozens of projects with it ever since PhantomJS was declared EOL, and we think its ready to share with a larger audience. [more inside]
Legacy Rails: Silently Judging You
How can we judge the quality of Rails applications? Are they in good shape? Should we upgrade them to a more recent version of Rails? Should we re-write them? Here is a process that works for us: [more inside]
Ruby Conferences 'n' Camps in 2019 Update - What's Upcoming in April? What's News?
Hello, I’ve updated the Ruby Conferences ‘n’ Camps in 2019 - What’s Upcoming? Calendar page @ Planet Ruby. What’s News? Added Deccan RubyConf (in August in Pune, Maharashtra, India), RubyConf Colombia (in September in Medellín, Colombia), and more. Happy meeting up with rubyists in 2019. Cheers. Prost. PS: Do you have a favorite conference? Let’s give a shout-out to EuRuKo 2019 (in June in Rotterdam, the Netherlands).