IdolHands.com :: Days in the Life of an Alpha Geek
Announces a version 0.9.0 of the test coverage tool RCov, now with significant user interface improvements and support for custom CSS.
Describes UI and UX enhancements to rcov, the code coverage tool, including including dynamic filtering, improved HTML output, and support for custom CSS.
Demonstrates a method for writing RSpec tests to test output from Ruby on Rails controllers that return JSON content.
A new fork of RCov delivers improved HTML output and support for custom CSS.
If you're using Chris Bailey's Better Nested Set (or better yet, Brandon Keeper's awesome_nested_set) for your Ruby on Rails models, you may one day want to implement a drag-and-drop interface to reorganize your sets. Here's how I was able to implement it. ...
Provides a solution for problems raised by nested sets and single-table inheritance (STI).
The counter_cache option for Rails relationships is invaluable in speeding up performance by reducing the number SQL queries, but there are a couple of things that you need to do to ensure that your counts start off right and to make the whole thing work with STI-based models.
Use reflection and code generation to automatically created tests in RSpec for named scopes in Ruby on Rails ActiveRecord models.
Shows how to get a list of your Rails app's controllers in one line of code, plus tips for reflecting on controller methods and searching for controllers that match certain criteria.
Quickly determine an ActiveRecord model's attributes from script/console.
Date and time based ActiveRecord find conditions may not work the way you expect after specifying a time zone to your Ruby on Rails application's environment settings.
Demonstrates a method for using RSpec to test ActiveRecord models that are not backed by a database table.
BBRails Toolkit increases productivity for Ruby on Rails developers working in BBEdit. It provides a set of open source AppleScripts that add support for Git, Rake, Capistrano, Cheat, and more to BBEdit.
Following the release of BBEdit 9, developers now have a serious alternative to TextMate as their Rails IDE.
RDoctor provides quick and convenient access to the documentation for local RubyGems and plugins, and can even be used to generate documentation for plugins in your Ruby on Rails projects.
Learn how to access RDocs for locally-installed gems right from your browser.
How many times have you searched for something Ruby on Rails-related on Google, and come up with search results having to do with rapid transit? Or page after page of Git commit messages? Sure, you could add "ruby on rails" to your search query, but having ...
I've been using Rick Olson's acts_as_versioned Rails plugin on a project and recently ran into some thngs that I thought might be worth sharing. In general, acts_as_versioned behaves well and integration has gone smoothly. The object that we wanted to ve...
Rails makes it easy to create and manage relationships between objects with Active Record. This AR cheat sheet makes it easy to remember.
Add a keyboard shortcut to BBEdit to provide direct access to a wiki of Ruby, Rails, UNIX, and other useful cheat sheets.
If you're a Rails developer, you've probably seen "helper :all" a thousand times near the top of your generated application.rb file, but do you know what it really means? Learn how to avoid ambiguous helper methods.
Use named scopes and a helper method in Ruby on Rails to let users automatically filter the items in a view.
Acts As Enterprisey creates slow response times to simulate a difficult and complex web development effort . Best of all, you get to be the hero and resolve the performance problem at the very last moment by just uninstalling it.
After banging my head against a wall wondering why certain image uploads would silently fail, while others succeeded, I stumbled across a file_column bug (and yes, I reported it).
I'm currently working on a project to create a travel website, and I needed to have a bunch of member profiles to use for testing the member directory. I came across a great Ruby gem called Faker which I've used to create the dummy accounts. Installation i...
With nearly 15 years of web development under my belt, I've had the opportunity to work with almost every imaginable web application stack. My favorite by far is Ruby on Rails, the open-source web application framework that lets developers create fast, scalable, and maintainable apps using common architectural patterns and agile techniques. Here you'll find a collection of Rails guides, tutorials, tips, examples and resources tailored for everyone from newbies to intermediate and advanced Rails developers.