added dmail test

This commit is contained in:
albert
2010-02-20 18:08:22 -05:00
parent 1a7197807a
commit 0bb52fd63a
13 changed files with 483 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ class User < ActiveRecord::Base
select_value_sql("SELECT name FROM users WHERE id = ?", user_id) || Danbooru.config.default_guest_name
end
end
def find_pretty_name(user_id)
find_name.tr("_", " ")
end
end
def self.included(m)