Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two possible bugs > decimal_array / numeric_array not converting to BigDecimal AND unable to dump schema with decimal_array #30

Open
saurabhnanda opened this issue Jul 9, 2013 · 1 comment

Comments

@saurabhnanda
Copy link

(a) I've created a table with a decimal_array (which maps to PG's numeric[]). However, rake is not refusing to dump it in schema.rb with the following error:

Unknown type 'numeric[]' for column 'rate'

(b) However, ActiveRecord still works and is fetching data from the underlying table. Unfortunately it is returning the data as an array of strings instead of an array of BigDecimals.

@ashwinsaval
Copy link

Any updates on this?? I seem to be facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants