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.
Domain Driven Design, Where the real value lies
Exploring the strategy and tactics of Domain Driven Design. Its similarities with Hexagonal Rails and Clean Architecture as its compatibility with the Rails Stack. http://insights.workshop14.io/2015/08/20/domain-driven-design-where-the-real-value-lies.html
CQL (Cassandra query language) builder in OOP style.
The query_builder gem that can be used on top of the official datastax ruby driver for Cassandra.
Managing Redis Reconnections From Ruby
Learn lessons of stability and reliability through an exploration of how the redis-rb client manages reconnection: http://sorentwo.com/2015/08/25/managing-redis-reconnections-from-ruby.html
Just launched WeWorkRemotely Clone
Use Stripe Test Credit Card (4242424242424242) and play with my jobs board clone
The Big List of View Specs
The source code from 250+ view specs gathered from real world Rails apps for a little bedtime reading: https://eliotsykes.com/view-specs
Unlocking Ruby Keywords: Begin, End, Ensure, Rescue
Ruby keywords are important to understand, but can be confusing to learn all at once. This blog post looks at four important keywords that can be used within a single block: begin, end, ensure, and rescue.
football.db - New 2015/16 Seasons - English Premier League, Bundesliga, etc.
Hello, The plain text football fixtures for leagues, teams, match schedules, stadiums, and more
that you can read with the sportdb gem into your SQL database of choice now includes the 2015/16 seasons for the English Premier League, the Deutsche Bundesliga, and more. Any league missing? Add your league. Use Datafiles to build youself a copy e.g. $ sportdb new en2015-16.
All data, code and samples public domain. Enjoy the beautiful game. Cheers.
Cabernet Gem 0.1.1 Released
This version adds tests and hides implementation details. For details : README
The Neo4j.rb Project
The Neo4j.rb project has been around for a while but I recently created a series of short screencasts to introduce it. If you’re already familiar with ActiveRecord and/or Mongoid you might want to start with episode four to learn what’s different about Neo4j. [more inside]
Introduction to Microservices
Microservices is an approach to application architecture and development wherein an application is built in smaller, separate pieces. Each service is developed, tested and deployed independently. See more at: http://bits.citrusbyte.com/microservices
Sending email from your Jekyll static site
I use Jekyll to publish my blog. In this http://cristianogregnanin.com/2015/07/29/Sending-email-from-your-static-site.html post I explain how I send emails from my blog
"KAInstagram, Episode #3 | KAI-Console
I’ve just published this movie https://goo.gl/w5Hbnt this’s about console Instagram like client authorised by OAuth2. Just for fun :)
I, Object! Demystifying the Ruby Object Ancestry
This post is adapted from an answer to a Stack Overflow question. Understanding the way Ruby handles message passing and method stashing is not always the most intuitive. Luckily, a new amazing explanation how Ruby Object Ancestry works has been written.
HTTPie, A CLI, cURL-like tool for humans
HTTPie provides a simple http command - the client side of the HTTP/1.1 protocol - which allows us to send HTTP requests using a simple and natural syntax and returns colorized output. The package implements the GET, POST, and HEAD operations of HTTP/1.1. [more inside]
Quik in Action - Sinatra Web App Quick Starter Template (Wizard) Script & Code Gen
Hello, I’ve put together a new quick starter template for Sinatra web apps using the quik machinery. Try: $ quik new sinatra or $ qk n sinatra. This will download and run the sinatra.rb quik starter wizard script. Resulting in a ready-to-use/run Sintatra app. Not your Sinatra template style? Add your own template/script. Cheers. [more inside]
Create parallel workflows with Rockflow
With rockflow you can define a workflow by writing small steps and executing them in a flow. (Yes even parallel execution but beware of thread safety) https://github.com/ndea/rockflow
Quik in Action - Gem Starter Template - Hoe Classic Edition - New Gem Code Generator
Hello, For the new qk/quik tool - the missing code generator for ruby - that lets you use quick starter wizard scripts and github-hosted code templates - I’ve put together a new
example that lets you generate new gems using the “classic” gem starter template from the hoe gem. Use $quik new gem-hoe to (auto-)generate a new gem that will use the gem-hoe.rb wizard script and the gem-starter-template-hoe repo. Not your gem style? Add/use your own script and template. Cheers.
Karafka – Ruby micro-framework for building Apache Kafka message-based applications
Karafka is a microframework used to simplify Apache Kafka based Ruby applications development. Up until now there was no Sinatra “like” framework to rapidly develop message based applications. Karafka goes beyond simple sending and receiving. It provides an environment to work with multiple topics and groups. http://dev.mensfeld.pl/2015/08/karafka-ruby-micro-framework-for-building-apache-kafka-message-based-applications/
Lyon Gem 0.1.0 Released
A simple gem configuration gem to allow a gem user to configure gem specific variables. Lyon Gem . Please read the source code and provide any ideas on how to define a class method that can take a block in Ruby 2.2.3. The source code is less than 30 lines of code. Thanks!
Job search process for Programmers
An interview with Stepan Parunashvili, one of the youngest programmers at Facebook
Build your own middleware stack
I just released a new version of ruby-middleware. A tiny library to build middleware stack, for simple composition of decorator/chain of responsibility objects. Improving the readability and testability of data-transformation code.
Fixing That Mysterious Slow Request in Your Rails App
Even if your Rails app is humming along just fine most of the time, your users probably still occasionally experience painfully slow requests seemingly at random. While unexplained slowdowns can happen for many reasons, the most common root cause is excessive object allocations. Find out how you can fix it on the Skylight blog.
Rails and Ember Side by Side
Deploying Ember next to (not inside of) Rails