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.
You shoulda let your shoulda let have let!
simple let for shoulda (without method generation magic)
Using Bundler as a Repository Manager
Bundler works great as a repository manager, even for non-Ruby projects. It’s a good alternative to using externals/submodules. via @JobVranish
Resque 1.22.0 Released
Terence Lee from Heroku has taken on maintaining Resque. He just released 1.22.0 which contains important signal handling fixes. To learn more read about signals in Resque on Terence’s blog.
Rails with Massive Data
Use Rails to process massive data, I think there are several things you should know. . From Ruby Tuesday #21 @ Taiwan.
Removing deadweight - cleaning up our Rails app
We spent all of last week clearing out the deadweight that’s accumulated in Scout: removing unused CSS rules, database tables + columns, views, and assets plus making our tests run faster. See how we approached it.
Capybara 2.0.0: Upgrade Guide
The Capybara 2.0.0 beta is out. I’ll show you how to upgrade.
DCI with Ruby Refinements
I just published an article on using Ruby refinements in DCI. I discuss some of the pros and cons of this technique as well as how it performs against more mainstream approaches.
rspec-xml 0.0.4 released
A lightweight collection of rspec matchers to make XML just a little less painful. Pull requests welcome! github
Testing a subclass in isolation
A series of short blog posts on testing a subclass in isolation in Ruby - why and how.
jruby-memcached 0.5.0 released
I just released jruby-memcached 0.5.0, it fixes increment/decrement issue, adds Memcached::ATimeoutOccurred error and exception_retry_limit. Check out more details here
Never slog through a blob of ActiveRecord objects again!
I just launched version 1.0 of table_print. It formats active record (and pure ruby) objects in tables for easy reading. You can even traverse associations to show child objects in the same table (eg, list users AND their orders). Read more
Doc Template, a Tool for Great Documentation
I put together a thorough documentation template on top of nanoc and would love feedback :)
Toward a More Egalitarian ObjectSpace
An article about a real-world use case for implementing object equality from the ActiveRecord and ARel source code, and a tiny gem that makes implementation less tedious for you, the boilerplate-hating Rubyist.
Ruby Development Quick Tip - Use the ssh-forever Gem - Stop Typing Your SSH Passwords
Stop typing your ssh passwords - use the ssh-forever gem
Awesome access control with Devise + rolify + Authority
If you want easy, flexible and powerful access control for your Rails app, consider the combo of Devise, rolify and Authority. Read more
HTTP Status Codes and RESTful API crafting
Latest post at The Frontier Group’s blog: HTTP Status Codes and RESTful API crafting.
dumb_delegator
I’ve been using dumb_delegator for a while so I decided to release v0.5.0.
PulseMeter: easy to use event tracking gem
I’d like to announce PulseMeter gem: easy to use client oriented event tracking toolbox. It allows to collect, aggregate and visualize various software metrics. Redis is its only infrastructure dependency; thus low resource consumption and high speed are achieved.
Ruby Nested Hash - Deep Fetch
It turns out that it is not that hard to implement the behaviour of fetch for fetching values (or returning a default) in nested hashes. Ruby Nested Hash - Deep Fetch - Returning a (Default) Value for a Key That Does Not Exist in a Nested Hash.
Lockr - Console based password manager
I just launched Lockr 0.4.2. Lockr is console based password manager ruby gem. For more information, see the Lockr homepage.
att_speech gem for the AT&T Speech API
I just released a Ruby library, att_speech, for consuming the AT&T Speech API for speech to text. API details may be found here.
Using Thor to Build a Command Line Interface
Here’s a simple command line interface created in Thor. I much prefer Thor to Ruby’s OptionParser and other similar libraries, because I find Thor’s command line interfaces to be much more aesthetically pleasing.
Sinatra 1.3.3 released
I just released Sinatra 1.3.3. This is a bug fix release, see the change log for more infos.
contact form gem rails3
I just launched a small contact form gem for rails3 apps.