wedge 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wedge/plugins/form.rb +2 -0
- data/lib/wedge/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b1cef007c7e39778735ef8d90c8063a07a6bfce
|
4
|
+
data.tar.gz: 20706521f83123f90a403a58da2e4442a064c325
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60d7c4ac517bc04b23039e7e937657970b1b36385ca3e268db885fb4c1487dc4129edab88ba2e75bf20ebffa5bb03cf4a8c20d9aabc5c36b3eb6bdf0fd868c6
|
7
|
+
data.tar.gz: b665036f77c36336cc95da76ad68105a0c1c19ed9cd3fabb8cd8559161f5480ae673e6e4ed1bee5ffba65ccc9423cd382ee302d39ea824e80ac6ae413a2796d1
|
data/lib/wedge/plugins/form.rb
CHANGED
@@ -304,6 +304,8 @@ class Wedge
|
|
304
304
|
_options[:_model_attributes] = for_model
|
305
305
|
|
306
306
|
_keys.each do |att|
|
307
|
+
next unless _accessors.include? att.to_sym
|
308
|
+
|
307
309
|
opts = _accessor_options[att]
|
308
310
|
if _atts.can_read?(att) && (!opts[:hidden] || opts[:hidden].is_a?(Proc) && !self.instance_exec(&opts[:hidden]))
|
309
311
|
is_form = opts[:form]
|
data/lib/wedge/version.rb
CHANGED