You need a del.icio.us sidebar which shows recent bookmarks or one of these nice flickr badges? This is really is easy as the Typo Weblog Engine already includes an flickr and del.icio.us aggregator.
Inspired by the excellent Rails Recipes book , I created an improved Auto-completion helper, which uses JSON and AJAX instead of a script tag for loading the completions. What we want to achieve is a search field, which pops up immediately, showing us a list of possible completions for our search word. Look at Google Suggest to get an idea.
Since Release 1.2 Rails knows to generate RESTful routes. Each
resource is identified by an URI, which looks like /users/123 . It
would be nice to have more readable URLs, which include the name of
the user: /users/matthias-georgi. This is a short tutorial on making
your urls pretty while retaining the REST approach.
This tutorial shows you how to simplify url generation in combination
with RESTful resources by extending the url_for helper. This approach
will also work with nested routes and other helpers like form_tag and
link_to.
Generating markup in your rails helpers is a general practice in rails
and is used throughout all rails helpers. Normally you use content_tag
to generate markup. But often you will encounter situations, where
nested tags force you to write ugly helper code like the following
helper method from the rails library: