OSDN Git Service
(root)
/
tdcgexplorer
/
nimono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd019cc
)
copy pmds
author
nomeu
<nomeu@users.sourceforge.jp>
Thu, 7 Jul 2011 03:39:35 +0000
(12:39 +0900)
committer
nomeu
<nomeu@users.sourceforge.jp>
Thu, 7 Jul 2011 03:39:35 +0000
(12:39 +0900)
bin/copy-pmds.rb
[new file with mode: 0644]
patch
|
blob
diff --git a/bin/copy-pmds.rb
b/bin/copy-pmds.rb
new file mode 100644
(file)
index 0000000..
4554980
--- /dev/null
+++ b/
bin/copy-pmds.rb
@@ -0,0
+1,6
@@
+Record::Pmd.all(:include => :arc).each do |rec|
+ pmd = Pmd.new
+ pmd.arc = rec.arc.code
+ pmd.path = rec.path
+ pmd.save
+end