error_messages_for_helper 1.0 → 1.0.1
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.
- data/README +1 -1
- data/lib/error_messages_for_helper.rb +1 -1
- metadata +6 -7
data/README
CHANGED
@@ -14,7 +14,7 @@ module ErrorMessagesForHelper
|
|
14
14
|
result = content_tag :h2, t(:header_message, :scope => 'error_messages_for', :default => 'Unable to save data.').html_safe
|
15
15
|
result << content_tag(:p, t(:error_list, :scope => 'error_messages_for', :default => 'Errors list:').html_safe)
|
16
16
|
result << errors_list
|
17
|
-
result = content_tag :div, result, :id => '
|
17
|
+
result = content_tag :div, result, :id => 'error_explanation'
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: error_messages_for_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- "Damian Ba\xC4\x87kowski"
|
@@ -14,8 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-
|
18
|
-
default_executable:
|
18
|
+
date: 2011-10-21 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: error_messages_for_helper provides a simple helper to show ActiveRecord validation errors (just like old helper error_messages_for for Rails-2.3.x).
|
@@ -29,10 +29,9 @@ extra_rdoc_files: []
|
|
29
29
|
files:
|
30
30
|
- Rakefile
|
31
31
|
- lib/error_messages_for_helper.rb
|
32
|
-
- test/error_messages_for_helper_test.rb
|
33
32
|
- test/test_helper.rb
|
33
|
+
- test/error_messages_for_helper_test.rb
|
34
34
|
- README
|
35
|
-
has_rdoc: false
|
36
35
|
homepage: https://github.com/paki-paki/error_messages_for_helper
|
37
36
|
licenses: []
|
38
37
|
|
@@ -62,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
61
|
requirements: []
|
63
62
|
|
64
63
|
rubyforge_project:
|
65
|
-
rubygems_version: 1.
|
64
|
+
rubygems_version: 1.8.10
|
66
65
|
signing_key:
|
67
66
|
specification_version: 3
|
68
67
|
summary: Active Record error messages helper for Rails 3.0.x
|