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.
How to Use The Strategy Design Pattern in Ruby
Make your classes more flexible with the strategy design pattern! You’ll learn how to use it & why in this new article:
records_count gem
useful gem for development (see how many records you loading from DB without hacks)
Multiple Ways to Change Database Column in Rails
There are several, different approaches to changing the database column in Rails. The article covers changing the column name and the column type, as well as changing the column with the type conversion. Read More
Loading a File in Ruby
The Kernel#load method loads and executes the file passed as parameter. [more inside]
Email with Amazon SES from Rails on EC2
Deliver email with Amazon SES from a Ruby on Rails app hosted on EC2. [more inside]
Passenger app server 5.3.0 released for Ruby, Python & Node.js
Version 5.3.0 of the Passenger application server released, introducing a big overhaul of the error reporting, Ubuntu “Bionic” (18.04) packages, as well as support for the latest stable Nginx (1.14.0):
Recent Updates in RubyData
I described the four recent activities in data science field, including SciRuby’s GSoC, mxnet gem, and talks in RubyKaigi 2018. [more inside]
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:
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]