medea-generators 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  <%%= form_for <%= item_path :instance_variable => true %> do |f| %>
2
- <%% if f.errors.any? %>
2
+ <%% if <%= item_path :instance_variable => true %>.errors.any? %>
3
3
  <div id="error_explanation">
4
- <h2><%%= pluralize(f.errors.count, "error") %> prohibited this <%= singular_name %> from being saved:</h2>
4
+ <h2><%%= pluralize(<%= item_path :instance_variable => true %>.errors.count, "error") %> prohibited this <%= singular_name %> from being saved:</h2>
5
5
 
6
6
  <ul>
7
7
  <%% f.errors.full_messages.each do |msg| %>
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "medea-generators"
6
- s.version = "0.4.2"
6
+ s.version = "0.4.3"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Michael Jensen"]
9
9
  s.email = ["michaelj@jasondb.com"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: medea-generators
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.2
5
+ version: 0.4.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Jensen
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-17 00:00:00 +11:00
13
+ date: 2011-02-22 00:00:00 +11:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency