##// END OF EJS Templates
Fixed 10335 Error in journalizing an issue with longtext custom fields (Postgresql)...
Jean-Philippe Lang -
r474:8065001c0db9
parent child
Show More
@@ -17,4 +17,9
17
17
18 class JournalDetail < ActiveRecord::Base
18 class JournalDetail < ActiveRecord::Base
19 belongs_to :journal
19 belongs_to :journal
20
21 def before_save
22 self.value = value[0..254] if value
23 self.old_value = old_value[0..254] if old_value
24 end
20 end
25 end
General Comments 0
You need to be logged in to leave comments. Login now