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

BigDecimal and utf8&ruby1.9? #48

Closed
tomkrus opened this issue Feb 12, 2011 · 4 comments
Closed

BigDecimal and utf8&ruby1.9? #48

tomkrus opened this issue Feb 12, 2011 · 4 comments

Comments

@tomkrus
Copy link

tomkrus commented Feb 12, 2011

Some strange error - ruby1.9.2, rails 3.0.3, pg (utf8)

"can't define singleton method "encode_with" for BigDecimal"

No chance to save a column with numeric record.

@ghost
Copy link

ghost commented Feb 13, 2011

I'm getting this same error just recently. Ruby 1.9.2, Rails 3.0.3, act_as_audited_rails3 1.1.2.

@tomkrus
Copy link
Author

tomkrus commented Feb 16, 2011

@lolow
Copy link

lolow commented Mar 25, 2011

I have rails 3.0.5 but the content of my

$HOME/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.5/lib/active_support/core_ext/big_decimal/conversions.rb

does not have the changes in

https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb

if I change manually the file, it works. But I would prefer that the changes are done automatically

@tomkrus
Copy link
Author

tomkrus commented Mar 25, 2011

I change manually too :(

rocket-turtle pushed a commit to rocket-turtle/audited that referenced this issue Jan 4, 2023
Add BabySqueel::Nodes::Attribute#not_in
This issue was closed.
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