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.
Semaphore Doubled Free CI/CD Capacity for Open Source
Semaphore has increased the free CI/CD capacity on all open source organizations from 2 to 4 Boxes:
How to Integrate Google Maps into Ruby on Rails App
In this post we will share with you a detailed tutorial on how to integrate Google Maps into Ruby on Rails App. [more inside]
Applications of Lambda in Ruby
Thoughts about lambda in Ruby by Eugene Komissarov, Backend Developer at JetRockets.
Should I Use Ruby on Rails
Had a great chat with the Ruby Rogues crew about the state of Rails and its future. And a whole lot more about building products and inventing things. [more inside]
Passenger 5.3.2 released: various security fixes
Passenger 5.3.2 was just released, fixing a file system access race condition [CVE-2018-12029] as well as various SpawningKit exploits [CVE-2018-12026 - 12027 - 12028]. We urge you to upgrade your version immediately. The release notes contain more information on the measures we’ve taken to recognize security flaws quicker in the future:
Telegram::Bot 0.14.0 released
This update resolves some issues that had to be addressed before first major release. It brings breaking changes trying to make bots more secure and their source-code more consistent, while keeping it clean and simple - this is what we like Ruby for.
How to rename an ActiveRecord model
In this post, we will work on a step by step process to rename an ActiveRecord model. [more inside]
Finding Bugs in your Ruby Benchmarks
This post follows up on benchmarking Rubygems and covers a benchmarking bug making the benchmark invalid and how to make benchmarks more readable.
Simple shortcuts to get more out of Bundler
Did you know Bundler can do much more than just install gems? I’ve just shared convenient shortcuts to my most-used Bundler features in a new post on Everyday Rails.
Questions about GDPR? I've been involved in the entire compliance process. AMA
I have the feeling that there is a lot of uncertainty in the developer and startup community regarding GDPR. I am the author of Passenger and have been involved in my company’s entire compliance process, from legal research, to setting up the data processing register, to educating employees, to modifying systems and processes. Since I have a developer/Ruby background, maybe I can help. Ask me anything.
Frozen middleware with Rack freeze
This post explains about freezing middleware with rack-freeze
Enhanced Filterable concern for Rails models
Expanding on Justin Weiss’ idea of Filterable concern, here is an improved version that makes your code more maintainable and intention revealing.
ActiveRecord - performance tips #1: N+1 queries problem
Series of blog posts explaining ActiveRecord features. The first one is about N+1 queries problem and how to deal with it. [more inside]
sho: Experimental post-framework view library
Sho is an experiment to provide view layer that is “just Ruby” (= follows the regular intuitions of Ruby programmer, not introducing some hidden conventions that are not deductible from the code) and reuses regular Ruby concepts for code sharing, parameters passing and flow structuring instead of introducing its own concepts like “helpers”, “exposures”, “locals” (completely unlike local variables!) and so on.
footty - football.db command line tool / client for world cup (russia 2018)
Hello, for the upcoming football world cup in russia 2018 - the world’s biggest show (3+ billion fans) - I’ve put together a little command line tool / client called footty that lets you query the online football.db HTTP JSON API services for upcoming or past matches. Enjoy the beautiful game with ruby. Kick off in four days.
Adding Automated Speech Recognition for Phone Calls to Ruby on Rails Applications
Speech recognition is all around us these days, but how about putting it on the phone. Daniel Phillips shows how to build speech recognition into your a Twilio call using Rails.
Rails API and Facebook login (featuring Doorkeeper and OAuth 2 authorization)
A quick guide to using Rails API and Facebook login (with help of Doorkeeper)
Starting with Rails - how to set up a development environment
This (very) basic tutorial might be a starting point for anyone (of your friends) who’d like to find out how it feels ‘to be a coder’.
From the Asset Pipeline to Webpack in Rails
Haven’t use Webpack yet with Rails? Is not just for SPA applications. Here is a overview on how to move from the Asset Pipeline to Webpack.
The Rails presence Method
A quick dive into a lesser used, but useful Rails method.
Semaphore Boosters - automated parallel testing for Rails available to all
A feature that helps you to automate parallelizing your RSpec and Cucumber tests in a few clicks is now available to everyone. It has helped many teams to reduce their Rails CI build times by as much as 2 hours. Learn how it works and try it:
Tell Don't Ask Principle in Ruby
In this video you’ll learn how to use the Tell Don’t Ask Principle to write better Ruby code!
A Simple Way to Decrease Complexity of Routes in Rails
Sometimes, when you are working with a large codebase, your routes.rb files grow really fast and become very dirty. [more inside]