lib/generators/templates/app/models/concerns/caption_concern.rb in beautiful_scaffold-2.0.0 vs lib/generators/templates/app/models/concerns/caption_concern.rb in beautiful_scaffold-2.0.1

- old
+ new

@@ -1,8 +1,8 @@ module CaptionConcern extend ActiveSupport::Concern # You can OVERRIDE this method used in model form and search form (in belongs_to relation) def caption - (self["name"] || self["label"] || self["description"] || "##{id}") + (self["name"] || self["label"] || self["description"] || self["email"] || "##{id}") end end \ No newline at end of file