OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d26243
)
fix gems src
author
yasushiito
<yas@pen-chan.jp>
Tue, 30 Jul 2013 10:36:59 +0000
(19:36 +0900)
committer
yasushiito
<yas@pen-chan.jp>
Tue, 30 Jul 2013 10:36:59 +0000
(19:36 +0900)
Gemfile
patch
|
blob
|
history
app/models/panel.rb
patch
|
blob
|
history
diff --git
a/Gemfile
b/Gemfile
index
6c82ee8
..
dcd755b
100644
(file)
--- a/
Gemfile
+++ b/
Gemfile
@@
-1,4
+1,4
@@
-source 'http://rubygems.org'
+source 'http
s
://rubygems.org'
gem 'rails', '3.1.1'
gem 'devise', '=1.5.2'
diff --git
a/app/models/panel.rb
b/app/models/panel.rb
index
6751428
..
c64dfdd
100644
(file)
--- a/
app/models/panel.rb
+++ b/
app/models/panel.rb
@@
-321,6
+321,7
@@
class Panel < ActiveRecord::Base
self.overwrite au
res = false
Panel.transaction do
+#self.publish = nil
res = self.save
unless validate_child
res = false