acts_as_translatable 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,7 +35,7 @@ class ActiveRecord::Base
35
35
  eval "class ::#{name}
36
36
  def #{field}
37
37
  translations[I18n.locale] ||= {}
38
- translations[I18n.locale][\"#{field}\"] || \"\"
38
+ translations[I18n.locale][\"#{field}\"]
39
39
  end
40
40
 
41
41
  def #{field}?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_translatable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lasse Bunk