バグ #918 » slack.patch
core/user.rb (revision ) | ||
---|---|---|
20 | 20 |
# detail | detail |
21 | 21 |
# profile_image_url | icon |
22 | 22 | |
23 |
field.int :id
|
|
23 |
field.string :id
|
|
24 | 24 |
field.string :idname |
25 | 25 |
field.string :name |
26 | 26 |
field.string :location |
... | ... | |
58 | 58 | |
59 | 59 |
def self.container_class |
60 | 60 |
Users end |
61 | ||
62 |
alias :to_i :id |
|
63 |
deprecate :to_i, "id", 2017, 05 |
|
64 | 61 | |
65 | 62 |
def idname |
66 | 63 |
self[:idname] end |