calculable_attrs 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/calculable_attrs/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 887402e058e4bc543208395b37ad7dbd5e0af021
|
4
|
+
data.tar.gz: 19407cef804ab024d57763594207900aea24fbb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dac73b54dd6eedaefcc0e90bf483e9f93d583d8738334d6b7885a1fcb02d02326e4ae6bf210ea3d6b7129d57b717b684b2042a0421218fb1092207be138f591f
|
7
|
+
data.tar.gz: b6acadcff18bd5dc2e9c6e291cd00c279e8605e6249c38a4a91e68578d957d1a64fb9e8a40a3d69438179e336e2b3590f2ebb0c3903d255c41eec9a379b69516
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calculable_attrs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Sharkov
|
@@ -81,8 +81,8 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: |2
|
84
|
-
Imagine you an Account model which has many transactions.
|
85
|
-
calculable_attrs gem allows you to define Account#
|
84
|
+
Imagine you have an Account model which has many transactions.
|
85
|
+
calculable_attrs gem allows you to define Account#balance as SUM(transactions.amount) directly in your Account model.
|
86
86
|
And solves n+1 problem for you in an elegant way.
|
87
87
|
email:
|
88
88
|
- dmitry.sharkov@gmail.com
|