This commit is contained in:
albert
2013-03-29 16:45:59 -04:00
parent d7c6702be0
commit 85a5fcc658
16 changed files with 28 additions and 28 deletions

View File

@@ -9,7 +9,7 @@ class PostVersion < ActiveRecord::Base
end
def updater_name(name)
where("updater_id = (select _.id from users _ where lower(_.name) = ?)", name.downcase)
where("updater_id = (select _.id from users _ where lower(_.name) = ?)", name.mb_chars.downcase)
end
def search(params)