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.
Using GraphQL with Rails
An introduction on how to design and consume APIs in Rails using GraphQL instead of REST. https://vitobotta.com/2018/06/13/using-graphql-with-rails/
Quick tips for practical Rubocop workflow
How to use Rubocop day by day for (code) sanity https://blog.dnsimple.com/2018/06/quick-tips-for-practical-rubocop-workflow/
Why Do We Create Classes?
Why do we use classes instead of having just one GIGANT blob of ugly code? https://www.rubyguides.com/2018/06/why-do-we-create-classes/
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: https://semaphoreci.com/blog/2018/06/13/doubled-free-cicd-capacity-for-open-source.html
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. http://jetrockets.pro/blog/lambda
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: https://blog.phusion.nl/2018/06/12/passenger-5-3-2-various-security-fixes/
Telegram::Bot 0.14.0 released
https://github.com/telegram-bot-rb/telegram-bot/wiki/v0.14-announcement 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. https://hspazio.github.io/2018/rails-filterable-concern/
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) https://medium.com/hyperoslo/rails-api-and-facebook-login-featuring-doorkeeper-and-oauth-2-authorization-a2aa3af8ce15
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’. https://prograils.com/posts/starting-with-rails-how-to-set-up-a-development-environment
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. https://sipsandbits.com/2018/06/07/from-the-asset-pipeline-to-webpack/
The Rails presence Method
A quick dive into a lesser used, but useful Rails method.