-
Inauspicious Start for Oracle Cloud Free Tier Sign up
Oracle Cloud Free Tier offerings I heard via word of mouth and Twitter of a new Oracle Cloud Free Tier (with permanently free services [for now]). The always free services looked enticing enough: The challenge was, “Who can afford ‘free’ services?” Time is worth something. But I can always make use of another cloud server…
-
MySQL Ignores Right Padded Spaces?
When working on an established Rails project, we noticed that trailing spaces weren’t getting trimmed off. Discussion ensued about whether to do data cleanup and then someone noticed that the where method in Rails didn’t care about the spaces. Not having seen this in my PostgreSQL days, I was assuming that there was some magic…
-
XML Handler Bypassing ParseError Handling Rack Middleware on Rails 6
In a project using actionpack-xml_parser, and implementing a modified version of Catching Invalid JSON Parse Errors with Rack Middleware to also handle XML errors, an upgrade to Rails 6 broke the handling of the ParseError. Interestingly enough, JSON was being handled as expected. TL;DR: The short answer to this is that config/initializers/wrap_parameters.rb only had json…
