Add Globalize to Milestones

This commit is contained in:
rgarcia
2018-04-10 13:15:36 +02:00
committed by iagirre
parent 1b52ecc9ec
commit f7486b9238
15 changed files with 265 additions and 5 deletions

View File

@@ -7,6 +7,9 @@ class Budget
max_file_size: 3.megabytes,
accepted_content_types: [ "application/pdf" ]
translates :description, touch: true
globalize_accessors locales: [:en, :es, :fr, :nl, :val]
belongs_to :investment
validates :title, presence: true