OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update license test
[pettanr/pettanr.git]
/
app
/
models
/
common_license.rb
diff --git
a/app/models/common_license.rb
b/app/models/common_license.rb
index
906fbfd
..
c525c4a
100644
(file)
--- a/
app/models/common_license.rb
+++ b/
app/models/common_license.rb
@@
-130,4
+130,12
@@
class CommonLicense < ActiveRecord::Base
CommonLicense.import t
end
+ def import_error_message(c = '\n')
+ self.errors.each do |atr, messages|
+ if atr == :base
+ end
+ full_messages.join c
+ end
+ end
+
end