5Tfs4mTgcRe9qCQx03a2jM changeset

Changeset373134376465 (b)
Parent313866316631 (a)
ab
0-# /lib/couchrest/core/model.rb line 526
0-
0-# usage:
0-# set_default :random => lambda { return rand(99) }, :random2 => lambda { return rand(99) }, :test => true, :str => 'string'
0-
0-private
0-
0-def apply_defaults
0-  if self.class.default
0-    self.class.default.each do |k,v|
0-      if v.class == Proc
0-        self[k.to_s] = v.call
0-      else
0-        self[k.to_s] = Marshal.load(Marshal.dump(v))
0-      end
0-    end
0-  end
0-end
0+Mu7Vbq  <a href="http://qgwnkokifnlc.com/">qgwnkokifnlc</a>, [url=http://ysoshxwkknvo.com/]ysoshxwkknvo[/url], [link=http://aedghqyykecc.com/]aedghqyykecc[/link], http://qicsvgdkuwjh.com/
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Revision 313866316631
+++ Revision 373134376465
@@ -1,18 +1,1 @@
-# /lib/couchrest/core/model.rb line 526
-
-# usage:
-# set_default :random => lambda { return rand(99) }, :random2 => lambda { return rand(99) }, :test => true, :str => 'string'
-
-private
-
-def apply_defaults
- if self.class.default
- self.class.default.each do |k,v|
- if v.class == Proc
- self[k.to_s] = v.call
- else
- self[k.to_s] = Marshal.load(Marshal.dump(v))
- end
- end
- end
-end
+Mu7Vbq <a href="http://qgwnkokifnlc.com/">qgwnkokifnlc</a>, [url=http://ysoshxwkknvo.com/]ysoshxwkknvo[/url], [link=http://aedghqyykecc.com/]aedghqyykecc[/link], http://qicsvgdkuwjh.com/