doc_contract 0.1.3 → 0.1.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb6f6bf75e0e4c9b9ea09c49146edba377b3346c5fcc8e9f7e9ecf932b422447
|
4
|
+
data.tar.gz: 52c2ed3b75132578ec81071c6ebf994c99ca6e814533c4acbbc76cfeacd8da38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dae1bda1cdd2890eba9cbf67eaf58e04aa4d12ea8eb5afbf99665a4d6c7f20f1f16d3596082e7ea19f2f1bd53219ffb51d38f37d5a9491cb765d3b75466aad21
|
7
|
+
data.tar.gz: d8cd507880bb8cfce24e98f7a1da83672290bcdd3de9ef0547159f5d9baaaba4f7c9c1bf59142c67be4e09595a9f23debebd753e492ee4d00ba06a6e84970934
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ module DocContract
|
|
6
6
|
|
7
7
|
def index
|
8
8
|
authorize! :index, record_class
|
9
|
-
@q = record_class.
|
9
|
+
@q = record_class.ransack query
|
10
10
|
@q.sorts = "created_at desc" if @q.sorts.empty?
|
11
11
|
@records = @q.result.includes(:contract_template).page(params[:page]).per(100)
|
12
12
|
respond_with(@records)
|
data/lib/doc_contract/engine.rb
CHANGED
data/lib/doc_contract/version.rb
CHANGED