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.
Example Capybara Acceptance / Integration Test
I finally figured out how to setup an acceptance test with Capybara so I wrote some notes down on how to do it. Its actually not too hard, and IMHO totally worth it.
I just launched JSONBuilder 3.0 with a much friendlier DSL
I just launched version 3 of my gem JSONBuilder and was hoping to get some user feedback, especially from those who have used JSONBuilder in the past.
wash_out: SOAP Server on modern Rails
WashOut is a gem that greatly simplifies creation of SOAP service providers. A SOAP endpoint in WashOut is simply a Rails controller which includes the module WashOut::SOAP. Each SOAP action corresponds to a certain controller method; this mapping, as well as the argument definition, is defined by straightforward DSL described at README. Requires Rails >= 3.1 and Ruby 1.9.
Search from a hash of ranges efficiently with RangeHash
RangeHash provides an efficient hash that allows ranges to be keys and searched given an element within those ranges. With syntax that should familiar with developers, one can search and add callbacks when searching for an element within a collection of ranges.
moxy - the programmable mock proxy
Check out moxy - a programmable mock proxy built with Sinatra.
Easy way to extend and overwrite bb-ruby bbcode gem translations in Ruby on Rails
I just found an easy way to extend and overwrite bb-ruby bbcode gem translations in Ruby on Rails. This allows you to implement your own rules really easily. Check it out!.
E-book proposals
I need your help with picking a topic for my Ruby-related e-book: one question
rails_best_practices 1.5.0 released
I just launched rails_best_practices 1.5.0, it supports mongoid and cells, implements a better erb parser, check out the changelogs here
What was a Classic Tester Became a Mockist…
Short post about the difference between assertions and expectations and why I started listening to Mock’n’Roll.
DCI that respects the method cache
We’ve been talking about DCI (Data Context Integration) more lately with regard to Rails. However, the techniques presented to date have not necessarily been optimal for Ruby performance, dissuading some people from taking up DCI. This article may shed some light on a super-simple way to have our cake and eat it too.
Open-Source RubyFlow codebase upgraded to Rails 3.1
I upgraded Peter Cooper’s 2008 release of the RubyFlow codebase to Rails 3.1, and made many other modifications. Check out a working implementation on my new site: iOS Dev Links. The source code is available on GitHub.
Twitter Authentication using OmniAuth
I just found a gem which worked with OmniAuth and twitter .
Practicing Ruby Journal: Three months in and still going strong
To celebrate the fact that it’s been a full quarter of a year since I relaunched my subscription based weekly journal Practicing Ruby, I have publicly released our three most popular articles. In that same post I’ve made an attempt at explaining what makes this project a unique learning resource / experiment in social responsibility.
Ask your Ruby-related questions to these experts
RubyLearning is assembling experts in various areas of Ruby programming who will answer your questions as an “Ask An Expert” series of blog posts there. Post your questions as comments to that blog post.
Projit - a clean ~/ keeps a development environment together
Projit is a utility to specify directory structures for the different types of projects you work on and consistently generate them. It very nicely supports creating directories and files, copying directories and files, symlinking to Dropbox and cloning source code directly from any git repository. In other words, Projit brings the goodness of Thor generators to help automate your development environment. Check it out on Github
Ruby GitHub Projects Atom Feed
I wrote a little program that generates an Atom feed out of GitHub’s new Ruby repos page.
Rails Caching Reloaded
Various rails cache store options are evaluated Hit/Miss performance is compared between file_store, mem_cache_store, dalli_store, redis_store and mongo_store.
Using Jenkins with RVM and Rails
I just published an article on using Jenkins with RVM and Rails. It also includes details on using RSpec and Cucumber HTML formatters and serving up the output in Jenkins, instead of digging through the console output
gem Emailvision
Whether you are a ruby user or a rails user, this gem is definitely for you if you work with Emailvision. Website. Emailvision is an email marketing platform where you can manage your campaigns, event emails (birthday, subscriptions, …), and even transactional emails (password forgotten and so on)
postbin v0.1.0
I just released the initial version of PostBin (still a little rough round the edges). [more inside]
resque-retry v0.2.1
I’ve just released v0.2.1 of resque-retry. Please see the HISTORY.md file for details about what’s changed. Big thanks to the users of resque-retry, they are the people who made this release possible with their pull requests and bug fixes! Well done!
Github flavored markdown in your YARD documentation
Are use getting used to the Github flavored Markdown and would like to use it in your generated YARD documentation? Find out how you can do it in two easy steps!
Build your own Vagrant box ready to use with chef-solo using Veewee
I released the first screencast in NepalonRails on How to build your own Vagrant box ready to use with chef-solo using Veewee. The goal is to cut the bandwidth to download the box everytime and show you how to build your own box with bells and whistles.
Faye 0.7: new event APIs and an open WebSocket stack
The latest release of Faye adds a few new event hooks, and ships with a stand-alone WebSocket client/server implementation that makes adding WebSockets to any Rack app dead simple.