Most rails helper related news are at:
Using Polymorphic urls and paths to create dynamic routes in Ruby on Rails 30 Nov -0001 | 12:00 am
Dynamic named routes in Ruby on Rails are really useful when you want to generate a url but you don't necessarily know which records it will be for. For example if have a controller action that is use...
Autocomplete text input using unobtrusive jQuery in Ruby on Rails 30 Nov -0001 | 12:00 am
Recently I needed to implement an autocomplete feature into a Ruby on Rails application so I thought I'd throw up the bare-bones of what I came up with as a simple example. Note that it written unobt...
More rails helper related news:
Mongoid Embedded Documents embeds_many form example using simple_form blog.dynamic50.com 17 Jan 2012 | 06:17 am
Below is an example of how to produce a form for an embeds_many association for mongoid and simple_form (although this will also work with the standard rails helpers). And on the view side then we ca...
YUI TreeView with Ruby on Rails wyattbaldwin.com 27 May 2008 | 03:48 pm
Here’s some code I’m using to generate a dynamic tree view using an acts_as_tree model with slug and title fields, the TreeView widget from YUI, and a Rails helper. I chopped out some of the code for ...
Hyundai Accent CRDi Australias Most Affordable Diesel Car autoweb.com.au 20 Jan 2012 | 10:00 am
The Hyundai Accent sees the current all-petrol line-up expanded with the addition of an efficient common-rail turbo diesel engine, delivering new levels of performance and economy to the Active model ...
Finding the arity of a closure in PHP 5.3 800dnaexam.com 23 May 2009 | 11:00 pm
As part of the php-helpers project I’ve been working on a small library of functional programming primitives for PHP 5.3, including all the usual suspects like map(), every() and inject(). As we know,...
May 17, Apron Pattern for your Half Pint Helpers! make-baby-stuff.com 18 May 2011 | 08:32 am
I have a new one for you today! This child's apron pattern is a fast sew and is adjustable to fit sizes 18months to 5T. It will come in handy for several years of cooking with your little ones. We're ...
Why Arel? magicscalingsprinkles.wordpress.com 29 Jan 2010 | 12:35 pm
The upcoming version 3 of Ruby on Rails will feature a sexy new querying API from ActiveRecord. Here is an example: User.order('users.id DESC').limit(20).includes(:items) You can see that all querie...
Introducing Cache Money magicscalingsprinkles.wordpress.com 11 Dec 2008 | 07:25 pm
Pre-requisite: please read my article on Write-through caching to understand why this is useful. Most caching solutions in the Rails world involve something like Cache-Fu: an alternative API to Activ...
Write-Through Cacheing is an Essential Part of a Healthy Scaling Strategy magicscalingsprinkles.wordpress.com 24 Nov 2008 | 08:05 pm
The debate around “Does Rails scale?” I’ll leave to the armchair architects. But one thing I know is that having one 100% Beef Database doesn’t scale. With replication you can scale your database. Wi...
Ruby on Rails auf Ubuntu 11.10 installieren webmatze.de 16 Oct 2011 | 02:17 am
Seit einigen Tagen (Oktober 2011) ist die neuste Version von Ubuntu zum Download freigegeben. Ubuntu 11.10 oder auch Oneiric Ocelot genannt, ist ein wirklich ausgereiftes und leicht zu bedienendes Lin...
Bulk ALTER TABLE with Rails 3 and MySQL m.onkey.org 1 Feb 2011 | 02:34 am
With this commit, Rails migrations will support adding/removing/changing multiple columns via a single ALTER TABLE statement for MySQL. Let’s say you need to add 2 new columns to a table and modify d...