live_record 0.3.0 → 0.3.1
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 +3 -1
- data/app/assets/javascripts/live_record/model/create.coffee +0 -1
- data/lib/live_record/version.rb +1 -1
- 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: 023fa4cfb5084598e97938b66765676e2605bcf6
|
|
4
|
+
data.tar.gz: f4b41beaece12f423ed2ca7ae062f526b23b1187
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dce736de7c48d8470e0110b5ee8ccc16c7839829ef1d5733896b746dc6252153a8ae361098543830e8532160adb33758302bc0b8b55ae9ef87731018d32ac7a
|
|
7
|
+
data.tar.gz: 7add0e3b38810ecfcde9562312b08164d9f8144db6ad8afe61794a5a7685ba14cd2e172f9f40bef3f4725306bc27bcbcc2b9cb97887ba42c5894599ead4aa432
|
data/README.md
CHANGED
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
1. Add the following to your `Gemfile`:
|
|
150
150
|
|
|
151
151
|
```ruby
|
|
152
|
-
gem 'live_record', '~> 0.
|
|
152
|
+
gem 'live_record', '~> 0.3.1'
|
|
153
153
|
```
|
|
154
154
|
|
|
155
155
|
2. Run:
|
|
@@ -751,6 +751,8 @@ end
|
|
|
751
751
|
* MIT
|
|
752
752
|
|
|
753
753
|
## Changelog
|
|
754
|
+
* 0.3.1
|
|
755
|
+
* removed a `console.log()` debugging code
|
|
754
756
|
* 0.3.0
|
|
755
757
|
* Ability to now auto-load **created** or **updated** records that match your specified "where" condition.
|
|
756
758
|
* See [Setup #10 above](#setup)
|
|
@@ -112,7 +112,6 @@ LiveRecord.Model.create = (config) ->
|
|
|
112
112
|
record.update(data.attributes)
|
|
113
113
|
else
|
|
114
114
|
record.create()
|
|
115
|
-
console.log(record)
|
|
116
115
|
config.callbacks['after:create_or_update'].call(this, record) if config.callbacks['after:create_or_update']
|
|
117
116
|
|
|
118
117
|
# handler for received() callback above
|
data/lib/live_record/version.rb
CHANGED