Skip to content

Columns order in select clause is not kept in Ruby hash. #13

@sl-victorceron

Description

@sl-victorceron

There is a different behaviour of our fork of snowplow-dashboard since update to Rails 4.2.x and rorschart 0.20.0

Before :
image

After update to Rails 4.2.x
image.

In this example the date column was the first one in the select clause.
In the returned Ruby hash from the ActiveRecord object the date column is the second and country (in this example) is now the first column.

So, the order from attributs method in this line is different; it seems it comes from this Rails update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions