inline_forms 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,6 +51,7 @@ module InlineFormsHelper
51
51
 
52
52
  # link_to_inline_edit
53
53
  def link_to_inline_edit(object, attribute, attribute_value='')
54
+ attribute_value = attribute_value.to_s
54
55
  spaces = attribute_value.length > 40 ? 0 : 40 - attribute_value.length
55
56
  value = h(attribute_value) + (" " * spaces).html_safe
56
57
  css_class_id = "#{object.class.to_s.underscore}_#{object.id}_#{attribute}"
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "1.5.2"
3
+ VERSION = "1.5.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  prerelease:
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-08-07 00:00:00.000000000 Z
12
+ date: 2012-08-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rvm