Phong Phan

Results 8 comments of Phong Phan

I'm having this issue as well, any workarounds for now?

I also need it

Hi there, I got the same issue exactly although the schema was (25, 16) already. Any suggestions? ```ruby ActiveRecord::RangeError PG::NumericValueOutOfRange: ERROR: numeric field overflow DETAIL: A field with precision 17,...

Hi @wbotelhos I'm sorry, I'm not sure what number you expected? ```ruby Rating::Rating.averager_data(User.first, nil).rating_avg.to_s => "4.9469469469469469" ```

@wbotelhos Thank you so much for taking a look, so how do we resolve the issue? by upgrade the gem to the latest version?

@wbotelhos I upgraded to the latest version, which is `1.0.0` but the error was still there. Then I downgraded to this commit: [e8582b792ca66d03a1ff76d088254a794030b71b](https://github.com/wbotelhos/rating/commit/e8582b792ca66d03a1ff76d088254a794030b71b), it worked. Anyway, thank you for you...

Hey there, I also have the same issue with HTML in `:tail`. I did try with `html_safe` but it didn't work, using `CGI.unescapeHTML` will expose XSS vulnerabilities. Is there any...