lib/garb/account.rb in vigetlabs-garb-0.2.4 vs lib/garb/account.rb in vigetlabs-garb-0.2.5

- old
+ new

@@ -7,9 +7,9 @@ @name = profiles.first.account_name @profiles = profiles end def self.all - Profile.all.group_by{|p| p.account_id}.map{|profiles| new(profiles)} + Profile.all.group_to_array{|p| p.account_id}.map{|profiles| new(profiles)} end end end