scaffold_plus 1.4.6 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6035777cfdafc5a2c80c9136090ce1631751c31
|
4
|
+
data.tar.gz: 6e5d126c06bbbfe1b7ec6ac935cd1f5f63e72b15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d21bea63bb5c8b7b60207d98e057d85c3aa5fe82e77dcfd03e6aa56f67f7d22d20e85633148a19f916039319d073b111f96a02231c02c921bfca108fe6a06b06
|
7
|
+
data.tar.gz: d2b327bce2469327e04c6c10328afc69005b736954ed3309e8e57cfb30a6e975b36abd01dc0bff8ebd977596a9c829bdbbc899640571795e3d7ca404c0699ae3
|
@@ -24,7 +24,7 @@ module ScaffoldPlus
|
|
24
24
|
def add_to_model
|
25
25
|
[ "created", "updated" ].each do |action|
|
26
26
|
user_name = "#{user.camelize}.find(#{action}_by).try('name')"
|
27
|
-
|
27
|
+
user_email = "#{user.camelize}.find(#{action}_by).try('email')"
|
28
28
|
lines = options.before? ? [ "" ] : []
|
29
29
|
lines << [
|
30
30
|
" def #{action}_by_name",
|