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.
Code Typos Got You Down? Stop Worrying with close_enough
Typographical errors can slow down development, especially if your typing speed exceeds your accuracy. We just released a gem called close_enough that “fixes” this problem, which I describe in this blog post.
Attention all TomDockers
New versions of yard-tomdoc and it’s trusty underbelly tomparse have been released. Both are much improved over previous releases, including some great new features. The YARD plug-in, for instance, supports many of YARD’s tags via section labels, and is ahead of the game for Ruby 2.0 with a newly supported Options section. That’s right. We are not afraid to venture into “unofficial” doc space! Doc ‘til you drop and enjoy!
#MagmaConf 2013 Early Bird
MagmaConf 2013 Early Bird is now OPEN, go and grab your spot in this amazing 4 Round Lucha: get your ticket here. [more inside]
Emacs or Vim? Get the Best of Both with Evil
Trying to decide between Emacs and Vim? I got the best of both worlds by porting my company’s Vim config into Emacs using Evil.
Using Authority with a Single-Sign-On App
I just blogged a general outline of how our team built a single-sign-on app and how that influenced the design of our authorization gem, Authority.
Gridhook - A Rails endpoint for handling SendGrid webhook event notifications
I just launched Gridhook in response to a pull request I opened on Griddler. Gridhook handles managing incoming event notifications from SendGrids webhook and I plan to support the SendGrid parse webhook too in the future.
neg 1.1.0 released
Neg, a tiny and un-awesome PEG parser library just reached 1.1.0. This new release brings better error messages in case of unconsumed input and some helper for the translator feature (the thing turning raw parse trees to domain oriented trees).
Run a single instance of a task
singleton_process ensures that a given process (script, rake task, method, etc) is only running once. [more inside]
Bloombroom v1.2.0 - fast Bloom Filter for continuous/streaming keys
I just pushed Bloombroom v1.2.0, a Ruby & JRuby gem with fast Bloom Filters implementations: [more inside]
How to limit two decimal digits in a jQuery input field
This week in Crowd Interactives tech blog: [more inside]
Phusion Passenger 4.0 Release Candidate 2
Read the announcement to see what has changed.
Bringing life to old Rails apps
So you’ve just picked up a rather large Rails codebase that has not been updated for a while. The tests are missing. The client is expecting new features. How do you manage all that? [more inside]
Fire and Forget HTTP client
I just released something most of you probably won’t need: A Ruby HTTP client that fires requests but doesn’t wait for responses. You could think of it as HTTP over UDP but with the first connection being verified. Basically, the client opens a TCP connection, sends its payload, and disconnects – letting the server just “deal with it”. [more inside]
Nexmo API wrapper
We just launched nexmos - clean and simple Nexmo API wrapper for Ruby.
Bootstrap Helper now support Rails 4.0+
Bootstrap Helper now support Rails 4.0+ [more inside]
Mastering ActiveAdmin
I wrote a post about ActiveAdmin containing a set of tiny nice practices and a lot of theoretical thoughts on it’s future.
SpeedLimit: Testing Apps on Slow Connections
While building apps, it is important to keep slow connections in mind. I use SpeedLimit to test my applications on simulated slow connections.
Becoming a Rubyist
Just like learning a new spoken language, learning a new programming language means learning a new way of thinking. Here are some of reflections on becoming a Rubyist.
Installing Rails -- Both 3.2 and 4.0 with Ruby 2.0
Updated Installing Rails tutorial showing how to set up both Rail 3.2 and 4.0 with Ruby 2.0. Uses some new features of rvm.
The debugger gem needs help getting updated for Ruby 2.0!
Please help
Sublime Ruby Test Plugin
Sublime Ruby Test Plugin - allows you to execute ruby / rails tests inside Sublime Text editor. [more inside]
Hotwater v0.1.2 - Fast FFI/C string edit distance algorithms
I just pushed Hotwater v0.1.2, a Ruby & JRuby gem with fast FFI/C string edit distance algorithms: [more inside]
Ruby core classes aren't thread-safe
Interacting with core classes (like Array and Hash) appears to be thread-safe with MRI because of the global lock. There are no such guarantees on the truly multi-threaded implementations like JRuby and Rubinius. I wrote about the effect of the global lock, and how to protect your data with mutexes.
Ruby 2.0.0 MetaCasts Video Free This Week!
To celebrate the release of Ruby 2.0 the MetaCasts video on Ruby 2.0.0-rc2 is free for this week only! Check it out to see the highlights of what is new in Ruby 2.0. Enjoy. [more inside]