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.
Life of save in ActiveRecord
Method save in ActiveRecord is defined at multiple places and the save operation needs to take care of multiple tasks like dirty checking, transaction management and more. [more inside]
Image opacity manipulation and dynamic watermark generation
This blog post shows how you can use cloud-based image transformations to easily manipulate the opacity of images and how to use this technique to add watermarks to images. Ruby sample code is included.
New in Haml 3.2: hyphenated data attributes
One of the best new features in Haml 3.2 for me personally is the hyphenate_data_attrs option. Here’s what it does.
Ruby Singletons and Threads
In an earlier MetaCasts.tv episode we took a look at using singletons in Ruby. But what happens when we try to use singletons in a threaded environment? This episode will take a look at how we can solve threading issues in our singletons using the Mutex class: Ruby Singletons Threaded
Good, Simple Design
There has been a lot of talk about design for beginners or for advanced developers in Rails an other libraries. The argument that a well designed product works for both sounds good, but what does it mean? Take a dive into some developer products to see what it means to make a truly Good, Simple Design
Developing iOS applications with Ruby
This week’s post in Crowd Interactive’s tech blog: [more inside]
Making Vim, Unix and Ruby sing harmony
If you use Vim and Ruby, here’s an awesome way to transform text in Vim using Ruby scripts.
Small Refactorings in Ruby
I wrote down a few refactorings I do without really noticing I’m doing them anymore with a short explanation as to each. http://caiustheory.com/some-small-refactorings-in-ruby
Nokogiri’s Xpath Search Is Fast(er)!
Did you know that Nokogiri’s xpath search is faster than your own? I didn’t. Benchmark here.
Onlinebrief24 gem / (A German PDF to snail mail service)
I just released a small gem that provides an easy to use Ruby interface for the German Onlinebrief24.de service. Just put in your pdf files + letter options and the letter will reach the recipient by traditional/snail mail one or two days later.
neg, a neg narser
neg is a neg narser, it could have been a peg parser, but it didn’t make it to the exam.
Squash: Open-source, full-featured exception reporting tool
If you’re unsatisfied with Hoptoad, give Squash a try. It’s free, open-source, and packed with useful features to get your bugs fixed faster.
Obscenity, a profanity filter for Ruby, ActiveModel, and Rack.
Obscenity is a profanity filter gem for Ruby/Rubinius, Rails (through ActiveModel), and Rack middleware.
Faster Websites: Crash Course on Web Performance
3 hour workshop on web performance from the ground up: what is fast, impact of latency and bandwidth, TCP performance, SPDY protocol, browser parsing and execution, rendering optimizations, critical path, and more.
Almanac 0.9 Is Out
I just released an update for Almanac mountable blog engine. Version 0.9 includes a bunch of bug fixes as well as Disqus commenting support. Give it a try!
Guide to setting up pairing and CI servers
Dan Ivovich shares how SmartLogic set up pairing and CI servers, what hardware we used, and improvements we’re hoping to make in this post about application development infrastructure.
Reverse Search with Elasticsearch
Learn about an amazing feature of Elasticsearch: Percoloation. How we implemented reverse searching with Elasticsearch.
Daybreak v0.2.0 is out!
Daybreak is a ruby based key-value store. Version 0.2.0 adds thread and multi-process safety, and huge speed increases.
A Look at Ruby 2.0
This article shows some of the most interesting changes in Ruby 2.0. Enjoy!
Building an Ember app with RailsAPI - Part 2
Last part Learn you some Ember!
Using a Graph Database with Ruby, Part II: Integration
This article is the follow up to the introductory article about Graph Databases and how it can be used with Ruby. Enjoy!
Using a Graph Database with Ruby. Part I: Introduction
This article provides a great introduction to Graph Databases and how it can be used with Ruby. Enjoy!
Adding SMS capabilities to your Rails application
This article will guide you through the steps necessary to send and receive text messages through a Rails application. Enjoy!
Build sequences using Ruby's Enumerator
The Enumerator class is one of my favorites, and in this post I take a quick look at using it to build sequences of numbers.