Skip to content

Commit

Permalink
Merge pull request #6 from blendle/hstore-model-steps
Browse files Browse the repository at this point in the history
Add support for hstore columns
  • Loading branch information
edejong authored Sep 22, 2016
2 parents 7c76190 + 9caa14d commit 7bb312e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/cucumber/blendle/steps/model_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ def parse_row(row, object_name)
Sequel.pg_array(eval(value))
when :jsonb
Sequel.pg_jsonb(eval(value))
when :hstore
Sequel.hstore(eval(value))
else
value
end
Expand Down

0 comments on commit 7bb312e

Please sign in to comment.