Revision: 19274
Updated Code
at February 12, 2010 15:58 by almazom
Updated Code
@distinctlist = Item.find.all.map{ |i| i.fieldname }.uniq
Revision: 19273
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 20, 2009 07:05 by almazom
Initial Code
@distinctlist = Item.find(:all).map{ |i| i.fieldname }.uniq
Initial URL
http://www.geekskillz.com/articles/11
Initial Description
Initial Title
DISTINCT in Rails
Initial Tags
sql
Initial Language
Rails