nay-record_with_operator 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +5 -0
- data/Rakefile +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
@@ -60,5 +60,10 @@ For example, you can write the code under config/initializers.
|
|
60
60
|
|
61
61
|
RecordWithOperator.config[:user_class_name] = "AdminUser"
|
62
62
|
|
63
|
+
It's also possible to modify options for creator/updater/deleter associations.
|
64
|
+
For example, in the case you use acts_as_paranoid and want to get creator/updater/deleter even if they are deleted,
|
65
|
+
the configuration will be look like this.
|
66
|
+
|
67
|
+
RecordWithOperator.config[:operator_association_options] = {:with_deleted => true}
|
63
68
|
|
64
69
|
Copyright (c) 2009 Yasuko Ohba, released under the MIT license
|
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ DESCRIPTION = "Rails plugin to set created_by, updated_by, deleted_by to ActiveR
|
|
12
12
|
GITHUB_PROJECT = "record_with_operator"
|
13
13
|
HOMEPAGE = "http://github.com/nay/#{GITHUB_PROJECT}/tree"
|
14
14
|
BIN_FILES = %w( )
|
15
|
-
VER = "0.0.
|
15
|
+
VER = "0.0.18"
|
16
16
|
CLEAN.include ['pkg']
|
17
17
|
|
18
18
|
desc 'Default: run unit tests.'
|