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.
Ruby Module
An exceptionally productive web application framework, Ruby on Rails is optimized for programmer delight and sustainable output. Read more...
Rack: Writing middleware
Second part of my series about Rack. This time, the topic is writing Rack middleware. You can read the article here.
TDD Beyond Basics
Read the article here: How to Fake User Input
RubyNEAT in the making...
I am on my “sabbatical” right now to add some powerful new features to the only Ruby implementation of Neural Evolution of Augmenting Topologies (NEAT). It’s aggressive and ambitious, but I am adding ES HyperNEAT, modular networks, and phenotype queuing . [more inside]
RubyConf 2015 Videos are up!
Second Ruby Conference in the Philippines [more inside]
This Is Professionalism
The cycle of automony, responsibility, and humility [more inside]
Mina (with roles)
Mina is a competitive fast deployer and server automation tool. But it lacks multi server roles (for now) as we have in Capistrano. A write to achieve the same with a sample gist can be read here
Crafting Your First Pry Plugin
An introduction to crafting plugins for Ruby’s Pry REPL with an overview of the integration points Pry makes available to Pry plugins to extend and delight! Read more…
Demystifying the Magic of Rails
Some of the simplest rails magic explained and implemented:
telegram-bot-ruby
I’ve just released my own implementation of Telegram Bot API Ruby client. Check this out!
tty-progressbar v0.6.0 release
tty-progressbar gets easy way to specify custom tokens and minor bug fixes. Feedback welcome!
How to scrap website metadata using LinkThumbnailer
Today I expose in this blog post how the description scoring works on LinkThumbnailer’s gem. The gem helps you scrap website metadata informations such as its title, description, images and even embedded videos. But the value of LinkThumbnailer’s gem is its ability to return the best possible description about the website.
tty-pager v0.2.0 release
New tty-pager comes with rewritten system pager to correctly callout to other processes. Give it a try.
Example of Interpreter Pattern
I’ve added an example for the Interpreter Pattern. Also, this repo englobes many more examples from Ruby Patterns. Hope you find it useful!
Disposable – The Missing API of ActiveRecord
Disposable gives you Twins. Twins are non-persistent domain objects that allow you to model object graphs that reflect your domain, not your database schema.
How I resolved confusing tests and production code
Pair Ranking is very well defined problem solving technique. When my code become convoluted I had to switch my perspective to that of the user to improve the code and the tests. Read more about it here: TDD Beyond Basics : Outside In Perspective . This also shows you an example of how you could use this gem.
Rails Assets Makes Using Fronted Libraries Easy
Rails Assets will save you a bunch of time managing assets for frontend libraries in Rails. It automatically generates Rubygems for libraries like Bootstrap from the original git repositories using Bower.
How do you track down an obtuse error in your Rails app?
Last week I had to track down an obtuse error, I wrote about what helped me do it here.
Ruby on Rails Continuous Integration with Jenkins and Docker Compose
Ruby on Rails Continuous Integration with Jenkins and Docker Compose This is a step by step guide to setting up Jenkins to run builds with Docker Compose and report status to GitHub Pull Requests. We will show a Docker configuration for Ruby on Rails but it can be modified to run with whatever framework you prefer.
Aggregating data for OHLC stock charts
Aggregate data for OHLC (candle) stock charts with PostgreSQL using window functions for fun and profit.
awesome-webframeworks - A collection of Ruby webframeworks, libs etc. @ Planet Ruby
Hello, I’ve started (yet) another awesome list on Planet Ruby. The new awesome-webframeworks page collects Ruby web frameworks, libraries, tools, etc. Categories include: Rack, Rack Alternatives, Rails, Sinatra, Volt, JSON HTTP API Builder, Micro Framework Alternatives, Macro Framework Alternatives and so on. Anything missing? Contributions welcome. Cheers.
Opalist Newsletter - Issue #6
Opalist is an e-mail newsletter showcasing the latest news and tutorials in the Opal (Ruby-to-JS source compiler) ecosystem and front-end development. In our sixth issue, we cover Opal’s new Code of Conduct (CoC), how to use the opal-jquery gem, two screencasts on Opal and Volt (the latter being all about creating REST APIs), and WebAssembly.
DceLti - easier LTI authentication for Rails apps
Announcing DceLti:: github rubygems. [more inside]
Generate PDF Invoices from your Rails app in ~5mins using the Invoiced API
A post showing you how to build a “Minimum Viable API Client” using HTTParty and the free Invoice Generator API from Invoiced to create really nice invoices from your Rails app in record time. [more inside]