dynarex 0.7.6 → 0.7.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dynarex.rb +1 -1
  2. metadata +1 -1
@@ -285,7 +285,7 @@ end))
285
285
  end
286
286
 
287
287
  if @fields then
288
- @default_key = @fields[0] unless @default_key
288
+ @default_key = @fields.keys[0] unless @default_key
289
289
  # load the record query handler methods
290
290
  attach_record_methods
291
291
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors: []
7
7