shareable_models 0.5.0 → 0.6.0
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/README.md +2 -0
- data/lib/shareable_models/version.rb +1 -1
- data/spec/dummy/config/application.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33bbe2ef79dcbd35e77539d22408515aa6c2809b
|
4
|
+
data.tar.gz: db1538311301434df14935f023152b310668fdd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e327eb481d32c53a50cbb09d371364b14e45ffc424be99f2e6628c4f7bf701652c17fb15eb747162810c0794048dea83f12c42b94661de19953721ced49ff4c3
|
7
|
+
data.tar.gz: 2852d7b0dad11ff4adbf1a33a9505262ca98e5208f30c2662c90592ee30584df8fc7f48e37d3bb97730791d6743685e6cd59944081923861352ee834598d3621
|
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[](http://badge.fury.io/rb/shareable_models) [](https://travis-ci.org/redBorder/shareable_models)
|
2
|
+
|
1
3
|
# Shareable Models
|
2
4
|
|
3
5
|
Shareable models is a gem to share models between models. Is this strange? I will explain the functionality of this Gem with an example.
|
@@ -10,8 +10,8 @@ Bundler.require(*Rails.groups)
|
|
10
10
|
module Dummy
|
11
11
|
class Application < Rails::Application
|
12
12
|
# Do not swallow errors in after_commit/after_rollback callbacks.
|
13
|
-
config.active_record.raise_in_transactional_callbacks = true
|
14
|
-
config.encoding =
|
13
|
+
# config.active_record.raise_in_transactional_callbacks = true
|
14
|
+
config.encoding = 'utf-8'
|
15
15
|
config.eager_load = false
|
16
16
|
end
|
17
17
|
end
|