Commit cbeb73bd87d6584df8cb8a855c07a738968a33d5
1 parent
a8c87464
Exists in
master
add string to datatypes
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/app/models/magic_field.rb
... | ... | @@ -9,7 +9,7 @@ class MagicField < ActiveRecord::Base |
9 | 9 | before_save :set_pretty_name |
10 | 10 | |
11 | 11 | def self.datatypes |
12 | - ["check_box_boolean", "date", "datetime", "integer"] | |
12 | + ["string","check_box_boolean", "date", "datetime", "integer"] | |
13 | 13 | end |
14 | 14 | |
15 | 15 | def type_cast(value) | ... | ... |