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.
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 https://github.com/xdite/bootstrap-helper/tree/support-rails-40 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!
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]
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.
ITTIA DB SQL Enables ADO.NET Development on Android with Mono
Sharing application code between Microsoft(R) Windows(R) – especially those written in C# for Windows Mobile(R) and Windows Phone(R) – and Android is now possible with ITTIA DB SQL’s Mono framework. A cross-platform implementation of C# and the CLR, Mono is binary compatible with the Microsoft(R) .NET framework.
Released the "sorting" gem
The “sorting” gem provides utilities to make sorting with ruby easier. [more inside]
Email notifications for high-frequency Airbrake errors
Get notified when any error hits >100 notices/hour by AirMan (Mails include detailed error and backtrace summary)
Track releases of gems (email notifications) + recommendations
The site packageupdates.org notifies about new versions of gems (rubygems.org). There are also “top packages” rankings and recommendations of new packages (like Amazon’s).