better_record 0.25.0 → 0.25.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/better_record/base.rb +0 -1
- data/lib/better_record/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad1c5b656bfbdc9dc2c7271768e7083440dc0cc9a97163ddb0c91e91f6526d95
|
4
|
+
data.tar.gz: eafd3cb9a6b73c444534bcc7bea157eed7805ac8477b6d328e9e6decb7b8c61a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f37d95287b66c9bc96ee863e10edb4708ce60d6a320190a9e1e7b82141fe0d233eb1dd0c5576c4ec62483cb91ea1838532ed5ad3cb595c5edfe7868b7a05d5ce
|
7
|
+
data.tar.gz: bf5003d83eceb84b19d9491615bda612b95dbe29a0454f084b5493201fc55d597d670a463a477ae78a0773347626e453aa78d1d49cddce040568b93cfb63716e
|
@@ -32,7 +32,6 @@ module BetterRecord
|
|
32
32
|
self.const_get(:LoggedAction).include(ModelConcerns::LoggedActionBase)
|
33
33
|
self.const_get(:LoggedAction).table_name = "#{t_name}_#{self.table_name_only}"
|
34
34
|
self.const_get(:LoggedAction).primary_key = :event_id
|
35
|
-
self.const_get(:LoggedAction).first
|
36
35
|
self
|
37
36
|
rescue ActiveRecord::StatementInvalid
|
38
37
|
self.const_set(:LoggedAction, BetterRecord::LoggedAction)
|