has_vcards 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/vcard.rb +1 -1
- data/lib/has_vcards/version.rb +1 -1
- metadata +3 -3
data/app/models/vcard.rb
CHANGED
@@ -79,7 +79,7 @@ class Vcard < ActiveRecord::Base
|
|
79
79
|
}
|
80
80
|
end
|
81
81
|
end
|
82
|
-
accepts_nested_attributes_for :contacts, :reject_if => proc {|attributes| attributes['number'].blank? }
|
82
|
+
accepts_nested_attributes_for :contacts, :reject_if => proc {|attributes| attributes['number'].blank? }, :allow_destroy => true
|
83
83
|
|
84
84
|
# Salutation
|
85
85
|
def salutation
|
data/lib/has_vcards/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_vcards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 12
|
9
|
-
-
|
10
|
-
version: 0.12.
|
9
|
+
- 1
|
10
|
+
version: 0.12.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Simon H\xC3\xBCrlimann (CyT)"
|