lolita 3.2.0.rc.16 → 3.2.0.rc.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@
7
7
  = hidden_field_tag "#{resource_name}[#{ids_method}][]",""
8
8
  = render_component *field.build(:state => "input")
9
9
  %ul
10
- - resource.persisted? && resource.send(field.name).each do |record|
10
+ - resource && resource.persisted? && resource.send(field.name).each do |record|
11
11
  %li
12
12
  = record.send(field.current_text_method(field.association.klass))
13
13
  = link_to I18n.t("lolita.shared.delete").downcase, nil
@@ -3,7 +3,7 @@ module Lolita
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  PATCH = 0
6
- BUILD = 'rc.16'
6
+ BUILD = 'rc.17'
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolita
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.rc.16
4
+ version: 3.2.0.rc.17
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-30 00:00:00.000000000 Z
12
+ date: 2012-11-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: kaminari
@@ -497,7 +497,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
497
497
  version: '0'
498
498
  segments:
499
499
  - 0
500
- hash: -2752851364317469206
500
+ hash: -625616938394894793
501
501
  required_rubygems_version: !ruby/object:Gem::Requirement
502
502
  none: false
503
503
  requirements: