Plugin Search

association_collection_tools
Adds methods to Rails has_many and HABTM associations that speed up common operations: a. fast_copy A method called fast_copy is added to has_and_belongs_to_many association collections that makes the process of cloning HABTM associations MUCH more efficient. Simply replace person1.items = person2.items with person1.items.fast_copy(person2) and your database, network and RAM will thank you. See below for more details. b. ids A method called ids is added to has_many and has_and_belongs_to_many association collections. It returns the list of object ids in the association collection without unnecessarily instantiating the objects.
Rating: 3/5 (2 votes)
Added on 3 Nov 2006
Add a plugin

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?