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.
Mastering Concurrency in Ruby
There are multiple ways to handle concurrency: multi-process, multi-threading and event-driven. Each of these have their uses, pros and cons. In this article, you’ll learn how they differ and when to use which.
Handling bounces, FBLs and List-Unsubscribes
An intro on handling email complaints with your email delivery infrastructure.
Removing a particular middleware from Sinatra based Ruby application
A quick how to on removing a particular middleware from Sinatra app rack stack: Removing a particular middleware from Sinatra based Ruby application
How to Evaluate a Rails Project in 10 Simple Steps
It will come a time when you will have to decide whether to maintain a Rails project or not. [more inside]
RubyFlow Contributor Conduct
It’s rare for a RubyFlow contributor to deliberately violate our unwritten conventions and make others feel unwelcome, but it’s time to start formalizing what those conventions are and be transparent that we do things to keep the site as clean and welcoming to as many people as possible :-) [more inside]
Learn how to answer questions by browsing Rails source code
We will use a concrete example by looking at How To Get A List Of All Currently Registered MIME Types With Rails
Torba gem managing frontend dependencies
Torba is a Ruby gem that I discovered recently. It allows you to easily define your frontend assets in a rails project. Sick of all those JS package managers, asset gems and bower/bower-rails? Try Torba!
Refactoring of CreateSend: part 1
I wrote a post where I refactor a class from an open-source Ruby library. On the first glance, the code looked good, but as I dived in, I found lots of stuff to improve. http://rubyclarity.com/2016/03/createsend-refactoring-part-1/
Virtual Attributes in Rails 5
The sixteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn all about Virtual Attributes in Rails 5
Flipflop, improved feature toggles
Flipflop lets you declare and manage feature flags in your Rails application. An improved version of Flip.
Rails 5 ActiveRecord where, find_by, or, not and Eager Loading
The fifteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn all about Rails 5 ActiveRecord where, find_by, or, not and Eager Loading
Parallel processing in Rails
During my last work on commercial project I came up with idea to create ThreadsPad gem for parallel processing. For instance, you have a huge csv file with hundred lines and you need to parse it. To make it faster you can devide parsing process into a few workers…. Here is more details about it
Trending Ruby Repos in Asia
See http://trending.rubyasia.com. Explore Ruby Repositories with at least 20 stars in Asia. Open Sourced under https://github.com/jollygoodcode/data.rubyasia.com.
qcloud-cos-sdk published
I just publish qcloud-cos-sdk, a Ruby SDK for qcloud cos. If you use qcloud cos in your Ruby project. I think it will help you. learn more https://github.com/zlx/qcloud-cos-sdk
Performing Calculations on Models in Rails 5
The fourteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn about Performing Calculations on Models in Rails 5.
Hunting down a slow Rails request
See how we used Skylight.io to track down a slow Rails request.
Debug Ruby/Rails in Visual Studio Code (a perfect RubyMine alternative)
VS Code allows users to extend its functionality for grammar, intellisense, or even debugging, so I wrote this extension called vscode-ruby to bring VS Code the ability to debug ruby/rails/etc. [more inside]
Dangers of Model in Rails 5 Session
The thirteenth episode of Railscast is now updated to Rails 5 as a blog post. Learn about the Dangers of Model in Rails 5 Session
Announcing dry-rb
We’ve officially launched and announced dry-rb organization along with releasing new major upgrades of dry-validation and dry-types.
HOWTO send email with Rails and Amazon SES
HOWTO send email with Rails and Amazon SES. Learn how to setup your Rails application to send email via Amazon SES using version 2 of the official AWS SDK for Ruby.
Mutual TLS authentication to protect your Rails admin panel
Let the browser also authenticates itself against the server with a client-side certificate. How to set up the web server (full config here) and Rails to check the certificate contents: http://blog.codeship.com/how-to-set-up-mutual-tls-authentication/
The Simple Yet Powerful Ruby Enumerable Module
Leigh Halliday looks at the methods of the Enumerable Module: Article here.
Pronto v0.6.0 released
Pronto keeps getting better at providing a quick automated code review of your changes. Check out the CHANGELOG for the latest features/changes/fixes and Pronto.
Model Tests in Rails 5
The twelfth episode of Railscast is now updated to Rails 5 as a blog post. Learn how to write Model Tests in Rails 5