List of helpful shortcuts for faster coding
If you have any other helpful shortcuts, feel free to add in the comments of this gist :)
Uberspace (an awesome german web hoster) has superb postgresql support, except that it currently only offers postgresql versions
9.3.x. I run postgresql
9.6.2 on my uberspace and documented steps for a migration to postgresql
My goal was to be as close to the original uberspace-postgresql-setup as possible, but I had to copy and modify some uberspace scripts so they correctly use the new postgresql version.
Warning: Here be dragons. This is what I did -- that doesn't mean you should do the same or what I did was clever. Always backup your data and maybe test on a throw-away uberspace first. If you find things to improve, let me know and I'll try to keep this updated.
|# This is a skeleton for testing models including examples of validations, callbacks,|
|# scopes, instance & class methods, associations, and more.|
|# Pick and choose what you want, as all models don't NEED to be tested at this depth.|
|# I'm always eager to hear new tips & suggestions as I'm still new to testing,|
|# so if you have any, please share!|
|# This skeleton also assumes you're using the following gems:|