fooltip 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fooltip/active_record.rb +2 -1
- data/lib/fooltip/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85c2d6fabad7fff9d30b7d750c3e0041b58885c0
|
4
|
+
data.tar.gz: e141e6d0203d6c96fa58c6fb6988bc1cec8e3395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cf8661d45160324ecc7638119b91c7e9bffd726b03c3bfeb8a2a730680f3122601a107b5bb31a124605053e06afbd4c283f6fdc65b523eef2ca6afe0b0dda7f
|
7
|
+
data.tar.gz: 3fd681fcf5b3497be9bd3349658f190844d6f1eb99a628e2a545945dad72056f34ffa847db6ee5ce7b504d51f86b50a73c4e602e3d5b5456a02db685f91822ba
|
@@ -2,9 +2,10 @@ module Fooltip
|
|
2
2
|
module ActiveRecord
|
3
3
|
|
4
4
|
def has_fooltips
|
5
|
-
attr_accessible :
|
5
|
+
attr_accessible :fooltip_associations_attributes
|
6
6
|
has_many :fooltip_associations, as: :owner, class_name: "Fooltip::Association", dependent: :destroy
|
7
7
|
has_many :fooltips, through: :fooltip_associations, source: :container, class_name: "Fooltip::Container"
|
8
|
+
accepts_nested_attributes_for :fooltip_associations, reject_if: :all_blank, allow_destroy: true
|
8
9
|
end
|
9
10
|
|
10
11
|
end
|
data/lib/fooltip/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fooltip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Intesys S.r.l.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|