search for: id_partit

Displaying 1 result from an estimated 1 matches for "id_partit".

2006 Jun 26
0
partitioned_id plugin
...lper for both controllers and views which take at least one parameter an Id and then optionally an options hash specifying the number of digits, partitions, and/or separator to be used. Giving credit where credit is due, this plugin was inspired by reading: http://www.37signals.com/svn/archives2/id_partitioning.php == Usage === Example 1 ==== Folder.rb model class Folder < ActiveRecord::Base acts_as_partitioned_id end ==== execute ruby script/console f = Folder.new # => #<Folder:......> f.save # => true f.id...