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.
nanotest - When all you need is #assert
Extremely minimal test framework. Perfect for DIY lovers. Nanotest provides the bare minumum needed; for everything else, there’s ruby.
Deep In Rails: ActionMailer#deliver Part IV
So we just opened up CompiledTemplates and defined (or compiled) our unique method for this particular template. Now we continue with render … read more »
QED 1.2: A Doc-like Testing Framework
Q.E.D. 1.2 has just been released homepage here. Q.E.D. is a testing framework that reads like documentation. This release adds Cucumber-like matchers to improve the way setup and teardown code can be handled without cluttering up the documentation.
Controllers, mount up!
The guys at Plataforma talk how they handle Rails’ controllers daily by using filters, Inherited Resources and nested controllers.
Future of RDBMS is RAM Clouds & SSD
Rumors of the demise of relational database systems are greatly exaggerated. While the new NoSQL storage engines are exciting to see, it is also important to recognize that relational databases still have a bright future ahead - RDBMS systems are headed into main memory, which changes the playing field all together.
Rackamole - Observe your web apps in the wild!
Rackamole is a rackable component to monitor your rails/sinatra web applications. Monitoring and providing a sense of how features are used in your web application seems to be a missing step in an application lifecycle. Using Rackamole, you will be able to assess if your app is a success or a bust as well as track high level perf issues and uncaught exceptions.
New Screencast: Introduction to MongoDB - Part III, MongoMapper & Rails
Joon You of RubyHead.com completes this excellent series of screencasts on MongoDB. In this screencast, he demonstrates MongoMapper and how to use it in a Rails app. Watch the FREE screencast series and more at TeachMeToCode.com
Spree 0.9.3 Released (Rails E-Commerce Platform)
Spree 0.9.3 has just been released. This is a patch release to provide support for the new Rails 2.3.5 release.
Tilt extras
I have released the following two Tilt gems: Liquid yield and RedCloth. These gems enable redcloth or liquid’s {{ content }} in Tilt, where you can use them on heroku or other servers :-) They are also available on Gemcutter.
Integrating customers on an e-commerce Rails application
Learn how to integrate registered customers on an e-commerce Rails application here !
Speedy - Painless rapid Rails Deployment
Speedy is a utility for Phusion Passenger / ModRails to automate the process of creating virtual host and deployments in development environment (vs creating virtual hosts manually for each and every app). Speedy is for both Linux and Mac platform (currently works with Ubuntu/Debian variants only) and allows developers to rapidly deploy applications with in a single command. In addition to that Speedy helps to perform clean Apache – Passenger configuration without touching the server configuration files.
Following the status of your projects in Signal from CCMenu
See how easy and cool it is to follow the status of your projects from CCMenu or CCTray.
rowspan supported table sorting with prototype
A patched to tablesort to support sorting rowspan cells table. Check it out here. Also available on github.
New Screencast: jQuery Masonry
In this screencast we’ll cover aligning floated elements on an HTML page using jQuery, the jQuery Masonry plugin and CSS. Watch this screencast and more at TeachMeToCode.com
Short and sweet Rails tips every weekday
http://www.twitter.com/RailsHints is updated every weekday with a short Rails tip. While Rails newbies are welcome (and encouraged) to follow, these tips are geared more towards medium to advanced Rails programmers.
Version Number Class for Ruby
I released Versionomy, a version number class that handles a wide variety of versioning schemes and syntaxes, and can be extended to handle others. Try it out and leave a comment on my blog.
BDDCasts: Querying Google Blog Search using BDD concepts
Now that Twitter search results are working, it’s time to move on to other services. In BDDCasts episode 12 you’ll see how to query Google Blog Search and aggregate the results with the ones fetched from Twitter by going through the red-green-refactor cycle with RSpec and Cucumber.
Viewtastic
Just released Viewtastic, a Presenter pattern plugin for Ruby on Rails packaged as a gem. It is basically ActivePresenter without the saving and validation part, giving you access to the controller currently serving the request.
Lazy Rails Commands
I have released another gem called “rails-cmds”. It is a bundle of rails commands from script/*. Check out my page for more info: http://bit.ly/6N0AWN
Don't complicate your billing code...
There are many choices when it comes to building a billing system. Read up on key elements and considerations before you write yours.
Lilypad is a new Hoptoad notifier
Rack middleware that improves upon rack_hoptoad and toadhopper. View it on GitHub.
Draft Ruby Specification published
This is very big news…a specification will really bring some legitimacy to the language. The draft is here.
Mocking GeoKit's Geocoder with Mocha
Some handy helper methods and example tests for mocking GeoKit’s MultiGeocoder with Mocha.
Ruby Programmer Sings "Internet Explorer is Being Mean To Me" Song
I’m the CEO of with.us and one of our Ruby Developers, Scott Ward, made this funny song about how hard it is to work with IE. Check it out: IE Is Being Mean To Me
Flotomatic: an awesome new graphing plugin for Rails
Flotomatic is a new Rails plugin built on top of flot (jquery / javascript based graphs). It’s got a nice DSL that makes it really easy to drop graphs into your site.