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 I've Convinced Emacs to Dance With Ruby
Most of my work revolves around Ruby on Rails projects and I tend to switch editors a lot. My two favorite are Emacs and Vim; I use them both. With this post I hope to give you a few useful snippets that you can use in your own Emacs config. Read It Here
Use your Ruby skills with Chef to manage your infrastructure
Learn how you can start using Chef to treat infrastructure as code and scale your operations easily. With this techniques you will be able to start testing and maintaining your infrastructure as you do with Ruby applications. Read the article.
Announcing crono 0.8.0
A time-based background job scheduler daemon (just like Cron) for Rails
Create fully-working SaaS application in Rails - free tutorial
Create fully-working SaaS app in Rails (with tests, accounts, membership, billing, etc). [more inside]
Implementing State Machines
Understanding state machines is one thing, but how do you go about turning theory into practice? This blog post details how to implement a state machine in a Rails application.
Revitalizing pg_morph
I just published a post about the newest changes in the pg_morph gem. Just to remind: pg_morph adds foreign key constraints for each polymorphic relation type by using ActiveRecord & PostgreSQL. Now gem do that without unnecessary database overload. Take a look »
Announcing Lotus v0.3.0
Announcing Lotus v0.3.0 - New features, improved security and real world apps. [Read the announcement]
Rescue front-end errors with a Rack middleware
The frontend_rescue gem provides a rack middleware that you can use to send front-end errors to your backend stack and do what you need to do. Read more
Automatic Security Testing of Rails Applications Using Brakeman
Brakeman is a tool that scans Ruby on Rails applications for common security vulnerabilities. I wrote a tutorial about installing and configuring Brakeman in a Rails application and integrating Brakeman with a continuous deployment pipeline. Run Brakeman on every Git push! Read the article.
Upcoming changes in Rails 5.0
A list of some of the upcoming changes in Rails 5.0 and why they have been implemented -
ROM 0.6.0 Released
You can read the official announcement here.
Lotus performance tested against Sinatra
Some time ago I heard about Lotus. A fresh Ruby framework for building web applications. It is created from stand-alone parts which are shipped as separated gems. This means that I am able to pick only the essential components for my project. The source code can be found on github. [more inside]
Ruby NLP Resources
A collection of links to Ruby Natural Language Processing (NLP) libraries, tools and software.
Capistrano 3's copy strategy, deploy via copy
Capistrano 3 :copy is a copy strategy for Capistrano 3, which mimics the :copy scm of Capistrano 2. [more inside]
Using message queue in Rails
I blogged about message queue in Rails - when it is useful, how it helps your application architecture and how to integrate it.
Full-stack web peformance book
I just released this ebook on web performance, it has a chapter on Ruby and rails optimization. The book is composed of about 50 pages full of practical examples. This link has a more complete description and a table of contents: [more inside]
So Coded Conf: Web Devs, Monks & Confetti!
So Coded is coming back to Hamburg this summer. Join us for a not-so-ordinary™ conference on July 23rd & 24th: http://2015.socoded.com [more inside]
kwstruct - Struct with keyword arguments
Let’s each stop reimplementing this over and over.
Ruby Introspection - Metaprogramming
Introspection, the act of looking inward is something that humans do all the time. What makes me happy? Why did I make a certain decision? Well, our Ruby code can look can look inward and ask questions about itself too!
Integrate RuboCop/ESLint/JSCS messages with GitHub Review Comment
Saddler, this is yet another Hound/Pronto. To effectively use your lint messages!
Basics of TDD in Rails
This is a 15 part article series on how to do TDD in a Rails project. First article is about Setup
Experiences with Tail Call Optimization in Ruby
Turns out Ruby actually has support for TCO, but it’s not enabled by default. In this post I will talk about my experience with it and how it saved my life in the fourth programming assignment of Algorithms: Design and Analysis, Part 1 from Coursera. [more inside]
Ruby Hooks
Hooks provide leverage for whenever change occurs which allows you to execute code for each event. Find out more:
Conditional Validation with Rails
Learn several techniques for dealing with more complex validation situations in your Rails apps. [more inside]
Presenting DeviceDetector, a precise and fast user agent parser and device detector
DeviceDetector is a precise and fast user agent parser and device detector written in Ruby, backed by the largest and most up-to-date user agent database. [more inside]