Plugins by Trevor Squires
-
Acts As Enumerated
-
Treats ActiveRecord models as an enumerations.
Rating: 5/5 (40 votes)
Added on 14 Apr 2006
-
resource_fu
-
A collection of hacks that make nested and polymorphic resources less painful.
Rating: 4/5 (18 votes)
Added on 14 Mar 2007
-
Values Of
-
Adds a values_of class method to ActiveRecord::Base classes.
Under the hood is simply does a construct_finder_sql, forcing :select to be
whatever you pass in the first argument, using that to call
connection.select_values and (optionally) type_cast()ing the resulting values.
Aside from being prettier than passing a honking long SQL string to
connection.select_values, the use of construct_finder_sql also ensures that
any with_scope() in effect will be honored.
Rating: 0/5 (0 votes)
Added on 23 Oct 2007
Add a plugin
Search Plugins
Plugins by Category
Sponsors
Have a comment?