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.
Introducing Monday Talks at Codegram
We’ve started doing weekly talks about Ruby, software engineering and computer science in general at our office, and we put the slides open for everyone! Check out our blog post about this.
Command Line Reporter 3.0 Released
The latest version of Command Line Reporter has undergone a major refactoring and now supports color and boldface output. Highlighting and making data visually appealing on the terminal screen is easy now. The gem is available on rubygems.org with source on github. For those not familiar with Command Line Reporter, the gem provides a ruby DSL for writing ascii reports with built in features like progress reporting and table formatting. It is very handy for system level and data reporting scripts.
Extend Your Toolbox: Custom Matchers
I just wrote a short blog post about using custom matchers in your unit tests to achieve clearer, DRYer tests.
Geo-Rails part 9 posted
I posted Geo-Rails part 9: The PostGIS spatial_ref_sys Table and You, the latest installment in my ongoing series on geospatial programming using Ruby and Rails. It describes how to use the standard spatial_ref_sys table provided by most spatial databases.
Webmachine v0.4.0 Released
Webmachine, the HTTP toolkit (for Ruby), has been released in version 0.4.0. This release includes some important refactorings that enable greater modularity and extensibility, and some great new features. Check out the release notes in the README for more details.
semanticgs-rails
A friend of mine recently turned me onto semantic.gs, the semantic grid system. I just packaged it up as a gem for use with the asset pipeline.
Introducing parse-ruby-client
A few weeks ago, Adam Alpern created parse-ruby-client. He has decided to stop work on the project, so I will be contributing/maintaining the project. It’s a very close to the metal API client for Parse.com. Eventually it will power my gem, parse_resource. Read more
htmlkickstart — Twitter's Bootstrap alternative
I just launched htmlkickstart — a Rails-friendly gem, which inject HTML KickStart CSS framework into Rails >= 3.1 application. A nice Bootstrap alternative. Read more
htmlkickstart — Twitter's Bootstrap alternative
I just launched htmlkickstart — a Rails-friendly gem, which inject HTML KickStart CSS framework into Rails >= 3.1 application. A nice Bootstrap alternative. Read more
Jquery Mobile-Rails
I just launched Jquery Mobile Helper for Rails. Read more
Push notifications using express.js and socket.io
Ever wondered how to get push notifications on your web-page? Instead of using XMPP solutions, there are simpler techniques today using websockets. Gautam explains how we can send notifications for live bids from a MongoDB backed Rails application to webpages using a combination of socket.io and express.js. Needless to say, this would work only on WebSocket compliant browsers.
Turn 0.9 Release
Turn 0.9 was released yesterday. It addresses all the issues users have reported since the previous 0.8.2 release including full backtrace support, test skipping and the bundle exec autorun problem. All good news. Read more
riak-client 1.0.0 Released
riak-client v1.0.0, the official Ruby library for connecting to Riak, has been released to Rubygems. It includes Riak 1.0/1.1 compatibility and a slew of awesome new features. Check out the release notes for more details.
Speed up your tests by combining integration tests with unit tests
Wrote up a quick demonstration of how I combine more high-level Ruby integration tests with fewer unit tests to completely test a codebase without the suite becoming bloated and slow.
Outpost - a personal / public file sharing app
Outpost is a Rails app I’ve used in-house for a specific file sharing use case, that might also be useful generally. Hope it helps!
Using Neography + D3.js to visualize a Neo4j 'follows' Graph
Check out a live demo on Heroku, walk-through and code on Github.
Ruby Rogues 040 - Editors and IDEs
This week the Ruby Rogues have an all out, knock-down drag-out battle royale over text editors and integrated development environments.
Yes, You Should Write Controller Tests
Here’s why I think you should write controller tests (in case you don’t agree): “Yes, You Should Write Controller Tests”.
New Service for managing i18n in rails apps
We are currently developing phrase (phraseapp.com) a new way to manage translations and i18n in your ruby/rails applications using inline editing. Feel free to check out our short demo and provide feedback if you like ;-)
Heroku-hosted, Rocco-powered, doc generator
Today I got annoyed by two things: Rocco issue #69 isn’t closed yet, and working with Ruby in a portable, non-admin, Windows environment is a pain. Especially when I’m trying to make awesome doc for my project. So I wired Roccoliphic up. It’s a very simple, online, kinda beautiful (I think) Rocco doc generator. Really, I can’t say it more simply than this. :) Oh, and it’s on GitHub, too.
Great new features in RefineryCMS
RefineryCMS is reaching 2.0 release soon. I want to introduce you few news committed last few days in my new Retro Rubies blog article. Hints how to test latest edge version included!
Please support w3clove.com
Jaime Iniesta recently removed all advertising/referral links from w3clove.com in the hopes of sustaining its development with support from the community. W3Clove is a site-wide markup validation website (and soon to be service API) which is based on work started in a Mendicant University course. Read more
A Chat with Nick Quaranto About RubyGems.org Internals
I had a chance to talk with Nick about RubyGems.org last week - what happens when you run “gem push”, how it serves gems, who else has been helping him on the project, etc. You can read the highlights of our conversation over on rubysource.com.
Pretty Console Logging With Guard::Jasmine & Black Coffee
Helpful hacks for Guard::Jasmine to pretty print objects console.log objects to the terminal window. The forth part in my series on testing Spine.JS with Jasmine on top of a Rails application.
Releasing shell_command
shell_command tries to provide a better interface for communicating with commands you spawn on the shell. Let me know what you think!