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.
Pipeline style processing with Stages
We just launched a gem to let us do data processing with little modular reusable code snippets, and decided to share. Code and much more info in the stages github repo.
generator for simple, searchable, shareable, modular command-line cheatsheets
cheatorious: “Being victorious through a means so amazing it cannot possibly be achieved without cheating.” (Urban Dictionary) Read more
A command-line password manager in Ruby
I’ve refactored my pws gem and now it’s fun to use :)
Bugs Bunny: Broadcast AMQP messages within a Unicorn served Sinatra app
I have just created a small demo app called Bugs Bunny: a Unicorn served Sinatra application which uses Bunny (a Ruby AMQP 0.9.1 client) to broadcast messages to every Unicorn worker. It requires an AMQP message server, such as RabbitMQ, in order to publish and receive messages. Clone the repository and run it yourself at Github.
Everything you need to compete in the Heroku Neo4j Challenge
Check out the third part of Neo4j on Heroku and you’ll have be ready to enter the contest (and win some prizes).
Easy iOS Style Checkboxes in Rails 3.1
I stumbled across a newish gem, ios-checkboxes, which makes it incredibly easy to include stylish checkboxes in your projects! Rock on, dnagir and tdreyno.
Building a Modern Web Stack for the Real-time Web
WebSockets, SPDY, SSL, and persistent connections are in, except that our infrastructure can’t support most of these use cases. To enable the modern, real-time web, we need to drag our ‘back office’ architectures into this century.
Seeing double: how Ruby shares string values
I just posted a follow up to my “23 chars” article from two weeks ago: Seeing double: how Ruby shares string values.
Could using DCI degrade performance? Benchmarking DCI in Ruby
I just wrote an article benchmarking DCI in the Ruby world. I’ve addressed possible concerns about the performance implications of using the DCI (Data-Context-Interaction) architecture.
TaskJuggler 3.1.0 has been released
Are you looking for a to-do list manager with text based input like emacs org-mode that can scale all the way up to a full project management suite if you need to? Then have a look at TaskJuggler! This release features new account reports, comprehensive leave management and the ability to use TaskJuggler as a to-do list manager. In addition to these highlights, we also have a long list of medium to small improvements that can be found in the change log. TaskJuggler is written in Ruby and is hosted on github.
Two simple Vim plugins for Hash syntax conversion & Rails navigation
ruby_bashrockets.vim converts Ruby 1.8-style hashes to 1.9-style hashes and back. Read more
A Primer on Ruby C Extensions Part 2 - FFI
Second part on Ruby C exensions, working with FFI. A Primer on Ruby C Extensions Part 2 - FFI
Rails or Sinatra: Best of Both Worlds?
Darren Jones talks about one of Ruby’s age-old crossroads in his latest post. Darren talks to some of Ruby’s pillars to get perspective and opinion.
A Sinatra Movie Recommendation website on Heroku
See how to build your own Neoflix website with Neo4j, Sinatra and Heroku.
Geo-Rails part 8 posted
I posted Geo-Rails part 8: ZCTA Lookup, A Worked Example, the latest installment in my ongoing series on geospatial programming using Ruby and Rails. Here we bring together everything covered in the series so far to build a simple service that looks up the Zip Code Tabulation Area for a location.
String?("Interrogate Gem")
Interrogate attempts to bring Scheme-like class predication to Ruby. It provides an alternate syntax using Module#===. An experiment in syntax!
Do It Yourself
Thoughts on Do It Yourself projects/experiments.
Jade.JS server-side compilation
We’ve been using tilt-jade for this goal for 2 months. Wasn’t perfect. Here is jade gem which will do same thing but with: ability to debug, specs, better assets management.
Separate your concerns
Why we should bother, when your files/models grows too big? I just wrote post in response to Keep your privates close.
How To Gemify Assets for Rails
If your rails application relies on externally maintained assets, Rails 3.1 and the asset pipeline make it easy include them as proper dependencies in your Gemfile. The catch is that they must be available as gems. Here’s a look at how to gemify assets.
[vid] Ember Data - Persisting Data Into Rails
By request, here’s a look at how to transfer your EmberJS model data back and forth from the Rails database.
Updated LazyGem - Changes and a bug fix.
I just updated LazyGem to support some changes on RubyGems.org and 1 bug fix.