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.
Spice up your snippet codes with Rack-Pygments
Another extraordinary middleware for Rack with deadly simple syntax highlighting support powered by Pygments. Check it out Rack::Pygments
Temple — Template compilation framework
I just wrote a 7521px long blog post about Temple, pushed out the source to GitHub and created a mailing list for discussing template compilation.
EngineY now with support for Facebook Connect
The Rails-based social network framework EngineY now includes support for Facebook Connect enabling you to create a social site allowing users to login with a local account or a Facebook account. Other features include user profiles, events, blogs, private messages, photos, forums, activity streams, and more…
Still Using Grep? Try Ack.
FOSSCasts.com put up a screencast showing why you should be using Ack instead of grep.
Terminal command aliases and tweaks collection
We just released a collection of our terminal aliases and tweaks (ss = script/server, gp = git pull, rt = rake test, nt = new tab) Also includes git branch in command prompt. Contributions welcome.
RuHL presentation
For all of you that wanted so badly to attend the Atlanta Ruby User group meeting last night, but just could not make it, here are the slides from my talk on RuHL. RuHL is an HTML based template engine that thinks code in views is bad, presenters are good and testing your views should be easy.
Experimental WebSocket Server based on EventMachine
Just wrote an experimental Ruby WebSocket Server based on EventMachine and Thin HTTP Parser - HTML5 WebSockets works in latest Google Chrome . Click here to fork the GitHub repo
Helpers to ease inline styling with HAML/SASS
I just published some helpers to ease inline styling with HAML/SASS.
Filter Google Blog Search results from BDDCasts
Fetching results using Google Blog Search brings the same problem as querying Twitter: duplicate results. See in part 2 of Google blog search BBDcasts episode a solution to this problem: adding a unique constraint on URLs and let ActiveRecord validations handle it. Of course, all covered with RSpec and Cucumber features.
Production Rails Tuning with Passenger: PassengerMaxProcesses
Jesse Newland, CTO of RailsMachine, shares some of his expertise on Phusion Passenger tuning on the Scout Blog.
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