lib/scaffolding.rb in bullet_train-super_scaffolding-1.4.4 vs lib/scaffolding.rb in bullet_train-super_scaffolding-1.4.5
- old
+ new
@@ -7,16 +7,19 @@
def self.valid_attribute_type?(type)
[
"boolean",
"buttons",
+ # TODO: We're leaving cloudinary_image here for now for backwards compatibility.
+ # We should remove it in a future major update.
"cloudinary_image",
"color_picker",
"date_and_time_field",
"date_field",
"email_field",
"emoji_field",
"file_field",
+ "image",
"number_field",
"options",
"password_field",
"phone_field",
"super_select",