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.
sinatra-gen makes starting a sinatra app easy
Sinatra-gen () uses Dr. Nic’s rubigen to easily generate a skeleton of a sinatra app with a single command. It has a bunch of different options, incuding the ability to vendor/ sinatra and generate a single file app.
Is *anyone* using Merb?
So Merb is all the rage, and I’m honestly pretty excited by having a viable alternative to Rails. I’m so, so tired of tracking down problems in my code and digging through the unnecessarily magikal Rails APIs. So I go off and start investigating Merb, but guess what…I can’t find even one site that claims to use it. If Merb is so great, where are the sites that are built with it? If you know of one, please post a comment here. Thanks.
Deploying JRuby on Rails Applications to Geronimo Application Server
Summary of deploying ruby(jruby) on rails applications to the apache geronimo application server. Read more…
Evolution - Hill Climbing Polygon Generation with RMagick
A ruby implementation of a hill-climbing algorithm that uses RMagick to generate a collection of polygons which resemble a baseline image.
Learn Merb: Useful links
Some useful links to get you started with Merb.
Redirecting Typo blog feeds to Feedburner with Apache
A blog post describing how to use apache Rewrite rules to ensure that all of the subscribers to your Typo blog are dealt with by Feedburner.
GUIfy your Ruby apps with Shoes
Learn how to GUIfy your Ruby apps with Shoes with the latest RubyAdvent article!
Discoveries on ruby metaprogramming with benchmarks
I posted some info on meta programming benchmarks and what is the best way to dynamically define a method. (more to come)
Ruby Bat Signal
Help a fellow Rubyist convince his superiors that choosing Ruby over Java or Groovy is the best choice. Respond to the Ruby Bat Signal.
API / Mashup competition with $10k in prizes
Should be easy to win this using Rails - 3scale opened a $10k developer competition for APIs and Mashups with deadlines in Feb/March next year. All you need to do is create a web service and sign it up or mashup some of the data from existing providers. Details are here - API/Mashup Competition.
Arabs who are interested in Merb and Merb-book
So many developers from various countries had corresponded to Matt Aimonetti’s article on open merb book, and an early version of the book is out there. [more inside]
Merbday Atlanta Presentations posted
Merbday Atlanta Presentations are online. I am still working on wycats keynote, but will be updating that presentation as well in the next day or so.
Meet Dataset: The Fixture-Killing, Data-Loading Framework
Tired of Rails fixtures? Dataset gives you an easy, declarative method for constructing sets of data to be used in testing. It is a data loading framework. This is in contrast to Machinist and Factory Girl which focus only on making it easy to create new models for testing, but have no solution for loading sets of data.
Future proofing your Ruby code for 1.9.1
Dr Nic has written an excellent roundup of how to future proof your Ruby code using multiruby pending the release of Ruby 1.9.1.
memecircus -- ruby, rails, merb neta news site
memecircus is an aggregate of news and topics that are of interest to the Ruby community. Links mined from Twitter are shown and sorted alongside related blog posts.
Debugging ruby applications under Phusion Passenger
socket-debugger - A simple Rails plugin to facilitate using the ruby debugger under Passenger applications.
Ruby AST for fun and profit
An AST to a program is what the DOM is to a web-page - a hands on look at working with the Ruby’s Abstract Syntax Tree and the projects that are using it. Ever wanted to translate Ruby to Lolcode?
Reflections on the Ruby shootout
An important update</a> about The Great Ruby Shootout.
Up and Running with Custom RSpec Matchers
Learn how to make your own custom RSpec Matchers.
Dynamic, search-based RSS feeds in Rails
A quick tutorial, in which I show how to create dynamic RSS feeds.
Thinking out of the Box with Enumerable#inject
Some interesting code snippets using Enumerable#inject featured at the Ruby advent blog.
Ruby on Rails LDAP authentication using HTTP Basic Auth
The following blog posting summarizes a simple technique for LDAP Authentication using HTTP Basic Auth. Read it
A Case Against Mocking & Stubbing
Why you should not mock and stub your models.IMO
Add a powerful AJAX Table to your Rails Application in 5 minutes
Full tutorial: adding a powerful jQuery table to your Rails application step by step, from scratch to viewing the finished app in your browser. Includes full source code.
No More Whitespace Worries — HAML for Emails
Tired of all the erb whitespace and those <%-end-%> madness? Switch to HAML for emails, remove all unwanted whitespace.