crankharder-friendlyErrorMessages 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/friendlyErrorMessages.gemspec +1 -1
- data/lib/friendlyErrorMessages.rb +5 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
@@ -18,8 +18,11 @@ module ActiveRecord
|
|
18
18
|
|
19
19
|
class Base
|
20
20
|
def self.exclude_unfriendly_attributes(*args)
|
21
|
-
|
22
|
-
|
21
|
+
@friendly_excluded_attributes = args
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.friendly_excluded_attributes
|
25
|
+
@friendly_excluded_attributes
|
23
26
|
end
|
24
27
|
end
|
25
28
|
end
|