simple_record 1.5.1 → 1.5.2

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.
Files changed (2) hide show
  1. data/lib/simple_record.rb +1 -1
  2. metadata +3 -3
data/lib/simple_record.rb CHANGED
@@ -197,7 +197,7 @@ module SimpleRecord
197
197
  #we have to handle the virtuals.
198
198
  Attributes.handle_virtuals(attrs)
199
199
 
200
- # @errors=SimpleRecord_errors.new
200
+ @errors=SimpleRecord_errors.new if not (defined?(ActiveModel))
201
201
  @dirty = {}
202
202
 
203
203
  @attributes = {} # sdb values
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 5
8
- - 1
9
- version: 1.5.1
8
+ - 2
9
+ version: 1.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Travis Reeder
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-05 00:00:00 -07:00
19
+ date: 2010-11-10 00:00:00 -08:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency