Commit 543230c911f94cd785b4b4ed1c8fde74ac1a841f
1 parent
0d8af1f6
Exists in
master
and in
29 other branches
ActionItem85: fixed a bug with ticks in postgres database
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@768 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/person.rb
... | ... | @@ -25,7 +25,7 @@ class Person < Profile |
25 | 25 | Profile.find( |
26 | 26 | :all, |
27 | 27 | :conditions => self.class.conditions_for_profiles(conditions, self), |
28 | - :joins => "LEFT JOIN role_assignments ON profiles.id = role_assignments.resource_id AND role_assignments.resource_type = \"#{Profile.base_class.name}\"", | |
28 | + :joins => "LEFT JOIN role_assignments ON profiles.id = role_assignments.resource_id AND role_assignments.resource_type = \'#{Profile.base_class.name}\'", | |
29 | 29 | :select => 'profiles.*').uniq |
30 | 30 | end |
31 | 31 | ... | ... |