Skip to content

Commit

Permalink
fixing broken query
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Rambarran committed Mar 4, 2011
1 parent 469f67b commit e10009d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/friendship.rb
Expand Up @@ -67,6 +67,6 @@ def add_relations(new_relation_names = [])
end

def relation_names
relations.select(:name).order(:name).collect{|r| r.name}
relations.order(:name).collect{|r| r.name}
end
end

0 comments on commit e10009d

Please sign in to comment.