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.
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Restly
2
- VERSION = "0.0.1.beta.4"
2
+ VERSION = "0.0.1.beta.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta.4
4
+ version: 0.0.1.beta.5
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: