restly 0.0.1.beta.4 → 0.0.1.beta.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restly/nested_attributes.rb +4 -4
- data/lib/restly/version.rb +1 -1
- metadata +1 -1
@@ -21,6 +21,10 @@ module Restly::NestedAttributes
|
|
21
21
|
|
22
22
|
end
|
23
23
|
|
24
|
+
def respond_to?(m, include_private = false)
|
25
|
+
respond_to_nested_attributes?(m) || super
|
26
|
+
end
|
27
|
+
|
24
28
|
private
|
25
29
|
|
26
30
|
# One To One Association
|
@@ -114,10 +118,6 @@ module Restly::NestedAttributes
|
|
114
118
|
(matched = ATTR_MATCHER.match m) && resource_nested_attributes_options.has_key?(matched[:attr].to_sym)
|
115
119
|
end
|
116
120
|
|
117
|
-
def respond_to?(m, include_private = false)
|
118
|
-
respond_to_nested_attributes?(m) || super
|
119
|
-
end
|
120
|
-
|
121
121
|
module ClassMethods
|
122
122
|
REJECT_ALL_BLANK_PROC = proc { |attributes| attributes.all? { |key, value| key == '_destroy' || value.blank? } }
|
123
123
|
|
data/lib/restly/version.rb
CHANGED