yaml_model 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/yaml_model/rails.rb +2 -1
- data/yaml_model.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/yaml_model/rails.rb
CHANGED
@@ -3,7 +3,8 @@ require 'yaml_model'
|
|
3
3
|
class YamlModel
|
4
4
|
class Rails < ::YamlModel
|
5
5
|
def self.yaml_file
|
6
|
-
@yaml_file ||= ::Rails.root + "/config/#{name.to_s.underscore.pluralize}.yml"
|
6
|
+
@yaml_file ||= ::Rails.root.to_s + "/config/#{name.to_s.underscore.pluralize}.yml"
|
7
|
+
super
|
7
8
|
end
|
8
9
|
end
|
9
10
|
end
|
data/yaml_model.gemspec
CHANGED