quandl_client 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,13 @@ module Properties
|
|
12
12
|
|
13
13
|
before_save :halt_unless_valid!
|
14
14
|
|
15
|
+
def valid_with_server?
|
16
|
+
r = valid_without_server?
|
17
|
+
r = self.attributes[:errors].blank? if r == true
|
18
|
+
r
|
19
|
+
end
|
20
|
+
alias_method_chain :valid?, :server
|
21
|
+
|
15
22
|
def error_messages
|
16
23
|
valid?
|
17
24
|
m = errors.messages || {}
|