grape-entity icon indicating copy to clipboard operation
grape-entity copied to clipboard

Add support for Sequel datasets

Open martijnbleeker opened this issue 10 years ago • 1 comments

Sequel dataset do not support the to_ary implementation. To add support, check if objects is a list.

Note: nil and Hash both implement to_a but aren't lists themselves.

Fixes #188

Please let me know if this fix is ok. Do you think only checking nil and Hash is enough?

martijnbleeker avatar Nov 06 '15 17:11 martijnbleeker

You also need tests for this to be merged and a CHANGELOG entry, please.

dblock avatar Nov 07 '15 20:11 dblock