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.
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. Read more
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: Read more
How to limit two decimal digits in a jQuery input field
This week in Crowd Interactives tech blog: Read more
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? Read more
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”. Read more
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+ Read more
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. Read more
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: Read more
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. Read more
Making Refs in Ruby Using Celluloid Actors
An example of using Celluloid Actors to provide a poor man’s Ref (Clojure-like) around an immutable data structure in JRuby to protect shared state.
Sinatra 1.3.5 release
I just released Sinatra 1.3.5, which includes RubyGems 2.0 compatibility.
Role support for rspec-fire
I’ve released a new gem which adds an implements_role macro, closing the loop when mocking roles rather than objects, for use with rspec-fire. See the README for rationale and the Relish documentation for a to-the-point worked example.
Cells Got content_for Support.
Since many users asked for it the cells gem got global content_for support.