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.
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. [more inside]
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!
Flow to Go...
Yeap, nu7 is blogging now, check out my new page at areyoufuckingcoding.me! It will be mostly about my transition from Ruby/Python to being a full time Go developer. If someone is interested in learning Go, or distributed computing stuff in general, then it will be a great place to do it!
My 12-factor development environment w/ Unicorn and Pound
How I test SSL apps 12-factor style in my development environment using Pound and Unicorn. This simulates how a Unicorn app runs when deployed to Heroku.
What gets built in a Mendicant University course?
We’ve historically been pretty bad at publicizing just how productive the Mendicant University students are. We’re trying to change that, and so I did a writeup on the results of our January 2012 session. Seeing several dozen new projects coming into existence as well as nearly a dozen patches to existing open source projects over the course of just three weeks is an amazing experience!
Up and Running With Ruby Interactive (ri)
I really like Ruby’s ri documentation tool and think Ruby devs need to give it a try. In the following post, I cover how to get started, using the interactive mode, seeing things in color, using ri in vi, and troubleshooting. [more inside]
Save Time With CI
Have you ever lost your groove waiting for your tests to complete? You are coding up a storm, being extremely productive, and then you need to run all your tests before you merge into master. BOOM, productivity destroyed! I just wrote about how to utilize your Continuous Integration server to avoid this issue. Save Time With CI.
The Gamification Development Process
Sure TDD has to be incorporated in your development process. The problem with Agile and Software processes in general is that they don’t address the company. They only address Developers and maybe a few other people. I just created a post on The Gamification Development Process. It is time to address Company wide goals. $$$
Simple Resque lets you send Resque jobs from one codebase to another
simple_resque abstracts a pattern that’s become very common in my recent projects. Unlike the usual Resque setup, I never put the workers in the same codebase as the web app, which required some hacks. This gem provides a thin wrapper over Resque’s push method to mimick the way Resque.enqueue works, but doesn’t require you to use a class constant.
Testing File Downloads with Capybara and ChromeDriver
At Collective Idea, we ♥ Cucumber, Capybara and ChromeDriver… and alliteration. But we recently encountered an issue with a very Ajaxy Rails app where we need to test a file download and assert its content. See how we did it!
Who is the Greatest? Using the Neography Gem to measure Centrality
Muhammad Ali and the Beatles battle it out in a Neo4j database.
Enumerize: Enumerated attributes with I18n and ActiveRecord support
Have you always wanted to use enumerated attributes in your ActiveRecord models? There is a easy way to do it now! Behold - enumerize
Compilation of Ruby and Ruby on Rails learning resources
I compiled a list of resources for learning Ruby and Ruby on Rails. In this list there is material I read/listened/watched since I started programming in Ruby. It can be helpful for those starting in Ruby as well as those willing to find out new things around the community.
todo.rb command line todo manager with colors + ed commands
todo.rb resembles a lot of command line todo list programs. But it delegates to ed to perform list manipulation. It also lets you customize task tag colors.
Command Line Reporter 2.1 Released
The latest version of Command Line Reporter now supports suppressing of output so that scripts can support a --quiet flag. 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.
Ruby Rogues 039 - Programming Language Fundamentals
This week The Ruby Rogues discuss teaching and learning programming languages, the ‘Rogues’ first languages and more.