This website requires JavaScript.
Explore
Help
Sign in
codeninjasllc
/
discourse
Watch
1
Star
0
Fork
You've already forked discourse
0
mirror of
https://github.com/codeninjasllc/discourse.git
synced
2024-12-11 00:02:05 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
ff0657a375
discourse
/
app
/
models
/
user_field.rb
4 lines
98 B
Ruby
Raw
Normal View
History
Unescape
Escape
FEATURE: Admin interface for adding custom fields for users
2014-09-25 11:32:08 -04:00
class
UserField
<
ActiveRecord
::
Base
Adds support for a description to user fields.
2014-10-02 15:56:28 -04:00
validates_presence_of
:name
,
:description
,
:field_type
FEATURE: Admin interface for adding custom fields for users
2014-09-25 11:32:08 -04:00
end
Reference in a new issue
Copy permalink