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.
Results of the Code Quality Tools survey
Results of the survey regarding tools that Ruby developers use to keep the code in a good shape: http://rubyblog.pro/2017/08/results-of-the-code-quality-tools-survey?utm_source=rubyflow
Hanami v1.1.0.beta1
New associations (belongs_to, has_one, has_many :through), rewritten CLI with registrable commands for third-party gems, new extra behaviors for entity manual schema, selectively boot apps, logger filtering, bug fixes. http://hanamirb.org/blog/2017/08/11/announcing-hanami-110beta1.html
Use Rails model unique validation but forget about DB indexes?
Gem that investigates the application’s models definition, then tells you unique validations that do not have proper DB indexes https://github.com/soulfly/unique_validation_inspector
Another Mars Rover Solution
How did I solve the rover problem using Ruby? Read more in the article ❤️ [more inside]
Fix it now
The greatest trick the devil ever pulled was convincing the world #TODO. [more inside]
tty-spinner adds multi spinner support
The latest tty-spinner adds multi spinner support. You can either manually control all spinners or register spinners with tasks that will be automatically executed asynchronously. And the multi spinner formatting is super sweet as well displaying tree of child spinners - play with examples!
Scraping websites with Ruby and Headless Chrome
Learn how to scrape websites with Ruby and Headless Chrome, using Selenium WebDriver: https://readysteadycode.com/howto-scrape-websites-with-ruby-and-headless-chrome
Faster Rails: Eliminating N+1 queries
If N+1 queries are making your Rails app painfully slow, read this article to learn how to eliminate them from your project.
A Barely Adequate Guide to the Google Blogger API using Ruby
Learn how to use the google-api-client Gem to access your Google Blogger posts through Ruby scripts. http://sam-koblenski.blogspot.com/2017/08/a-barely-adequate-guide-to-google.html
Practical Linked List in Ruby
Learn about the Linked List data structure & how to implement it in Ruby! http://www.blackbytes.info/2017/08/ruby-linked-list/
How I Built A Udemy Clone With Ruby On Rails and ReactJS
Learn how to build an advanced online education platform with Ruby on Rails and ReactJS. Video processing and background processing and more included! Back this Kickstarter and help bring it to life! https://www.kickstarter.com/projects/1918703657/learn-how-to-build-an-advanced-online-education-pl
My fruitless, previous attempts at not loosing history of changes in Rails apps
Check out what I learned over 30 months in how not to implement a history of changes in Ruby and Rails apps
To join or not to join? An act of #includes
Ever wondered how to get rid of those awkward N+1 queries? Join the table as we discuss Rails’ eager loading strategies in this magnificent article by Tiago Farias. [more inside]
Guide to Become a Full-Stack Developer
💥 What is the Full Stack Developer? Why should you become a Full Stack Developer? [more inside]
Random Ruby Newsletter #27
A new issue is published! Read how to improve the speed of test suite and check out several interesting tools such as Ruby compiler. [more inside]
[Screencast] Restricting Access by IP Address
Learn to lock down your application or parts of your application by IP Addresses. https://www.driftingruby.com/episodes/restricting-access-by-ip-address
How to Integrate Stripe Checkout in Your Rails App
Stripe Checkout is a globally renowned payment gateway that you can integrate into your Ruby on Rails application. Read about how to integrate Stripe Checkout into your Rails application.
CapsuleCD v2 Released
CapsuleCD is a generic Continuous Delivery pipeline for versioned artifacts and libraries written in any language. It’s goal is to bring automation to the packaging and deployment stage of your library release cycle. CapsuleCD is incredibly flexible, and works best when implemented side-by-side with a CI pipeline. [more inside]
GraphQL-Guard: A Simple Authorization Gem for GraphQL 🎉
I created a new gem called graphql-guard which provides a field-level authorization for GraphQL. Previously, the only authorization solution for Ruby was GraphQL Pro which is a paid and not open-sourced version of GraphQL. graphql-guard can work with any other authorization libraries such as CanCanCan or Pundit. I recently published a stable v1.0.0, my company uses it on production ;)
Building a webserver in Elixir
Talk for a Ruby audience, given at LRUG. Introduction to Elixir processes and a practical overview of using this concurrency model. Slides and Video
First 10 minutes with Eventide-Autonomous Services and EventSourcing Toolkit for Ruby
Recently I find out about Eventide project and it looked really nice for me based on the initial documentation so I wanted have a small look inside. Here is what I found in a first few minutes without knowing anything about Eventide so far. [more inside]