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.
Monitoring GitHub issue tickets through automated tagging
GitHub tagging through Support Central allows us to get a quick overview of which tickets are potentially blocked, rather than us periodically scrolling through the list and re-reading all the tickets: https://blog.phusion.nl/2018/05/09/open-sourcing-phusions-customer-support-product/
How To Avoid The Ruby Class Variable Problem
The way Ruby resolves class variables is not very intuitive and in my opinion, it’s one of the few areas where it breaks the principle of least surprise. [more inside]
Five microservice testing strategies for startups
Testing Microservices is hard, but not impossible. Learn 5 ways your team can approach it.
How to use coding challenges with your interview process
For CTOs designing coding challenges to hire promising programmers, this article provides strategies as well as pitfalls to avoid during the coding challenge portion of the process.
First Steps with Sinatra as a Rails Developer - Part 2
The second part of a quick guide how to build a full-stack app in Sinatra from Rails developer’s perspective: READ MORE
Increase reliability of background job processing using super_fetch of Sidekiq Pro
Many applications use Sidekiq for background job processing. Although the “basic_fetch” strategy shipped with Sidekiq works in normal circumstances, it is prone to losing jobs when the Sidekiq process crashes. In this blog post we will discuss this problem in great detail and the benefits of “super_fetch” strategy offered by Sidekiq Pro to address that problem.
What the Regex?
Common usages of a regex in Ruby are to check if a string matches, to find one or all occurrences of the regex pattern, or to substitute one string with another.
tty-config v0.2.0
The latest tty-config adds validate API call for asserting configuration values that meet validation rules. Validation rules are specified via a callback and Ruby is your validation DSL!
The State of Test Coverage in Rails
How many Rails developers are working on applications with 80+% test coverage? Learn this and more about the state of test coverage in Rails. [more inside]
[Screencast] Ruby on Rails Development with Microsoft Windows 10
Developing a Ruby on Rails application on Windows can be difficult, but doesn’t have to be with Bash on Windows. Learn how to use Bash to install the Ruby interpreter. https://www.driftingruby.com/episodes/ruby-on-rails-development-with-microsoft-windows-10
My Ruby on Rails Workflow, Productivity Tips and Tools [Screencast]
In this screencast, I implement an improvement to subscription payments handling in my side project Abot. I show my typical Ruby on Rails workflow, productivity tools, and techniques which I use. [more inside]
ActiveContract - Blockchain SQL Database Storage for Universum World Computer in Ruby
Hello, the little weekend experiment continuted - let’s (re)build the billion dollar ethereum world computer from scratch (zero) using a 25-year-old contract language - ruby :-) - and ye good 40-year-old SQL databases. What’s news? Use the new ActiveContract machinery to store the contract (world) state in the blockchain using - surprise, surprise - SQL database storage. See a first live converted gold mine / token contract in universum with SQL storage e.g. token_sql.rb. Let’s put ruby on the blockchain :-).
I created a quizbot SMS framework and I am new to open source
I would like to get some feedback to an open source application. I am fascinated with Twilio and its features. Combine that with marketing and SMS. Imagine you are in a waiting room and you see a poster that says “Text the keyword FLU to ###-###-#### to learn about the myths of the flu.” [more inside]
Create a beautiful chart with just one line of Ruby code
It is nice to have charts in the Ruby on Rails app but it’s sometimes difficult to prepare proper data and then display it using JavaScript in the view. Let me introduce you the solution READ MORE
New Class Naming Rules in Ruby
There used to be only 26 valid characters for the first letter of a module or class. Now there are 1,853: https://medium.com/square-corner-blog/new-class-naming-rules-in-ruby-bb3b45150c37
Microservices for Startups: An Interview with Nick Zadrozny of One More Cloud
Great interview about using microservices with Nick Zadrozny, founder and CEO of One More Cloud, which provides specialized hosted cloud services. Nick is the creator of OMC’s two hosted search as a service products, Bonsai and Websolr.
Fast PostgreSQL Data Loading Using Ruby
Video tutorial on how to quickly load data into PostgreSQL with various techniques using Ruby. I discuss the best ways to load terabytes of data: https://www.scalingpostgres.com/tutorials/fast-postgresql-data-loading-using-ruby/
Collecting usage statistics with DynamoDB and AWS Lambda
Looking to supplement user feedback (surveys and customer support) in order to make better decisions regarding future functionality for a product we recently launched, we built a barebones telemetry system - opt-out and completely anonymous - with DynamoDB and AWS Lambda: https://blog.phusion.nl/2018/05/03/collecting-usage-statistics-with-dynamodb-and-aws-lambda/
Microservices for Startups: An Interview with Ben Curtis of HoneyBadger
HoneyBadger co-founder Ben Curtis discusses how HoneyBadger has implemented microservices for handling production monitoring for web developers.
How to Improve Self-Confidence when Writing Code
One of the most frightening parts of being a developer is the recurring feeling that the solution that you are building is not going to work as intended, it is going to scale poorly or some of your coworkers will dislike working on top of it. [more inside]