Ruby on Rails 5.2 changed the method signature for ActiveRecord::Migrator.migrate(). The old signature was this: The new signature is this: Suppose you had some Rails 5.1 code like so: If you ran it in Rails 5.2, you would get this error: In Rails 5.2, you would write:
AAJA AIR (audio) Hacks/Hackers job email INN Inside the Newsroom (subscribe) IRE JournalismJobs JournalismNext Mandy Hofmockel jobs email MediaBistro NABJ NAHJ NAJA ONA Career Center Poynter’s Media Jobs Connection Public Media Jobs ONA SAJA Source Mandy Hofmockel wrote up a good summary of job resources for Poynter.
When importing an old WordPress database, it may have tables in MyISAM. You can convert them to InndoDB in MySQL like so: If you run into errors like this: It’s because of the SQL mode. You need to remove NO_ZERO_DATE from the mode. First, see what SQL mode you have set: Then, set it to […]
Education and Training Investigative Reporters & Editors (IRE) Poynter Tow Center for Digital Journalism Publications Columbia Journalism Review Nieman Lab PressThink Source News Organizations Pulitzer Center Professional Associations and Consortia American Society of Journalists and Authors Asian American Journalists Association Association of Health Care Journalists Bureau Local (UK) International Consortium of Investigative Journalists (ICIJ) International […]
As of Ubuntu 19.04, you no longer use /etc/resolv.conf for DNS servers. Instead, edit /etc/systemd/resolved.conf and add DNS=220.127.116.11 18.104.22.168 (for example). Not this list must be space-delimited and not comma-delimited. Then, run systemctl restart systemd-resolved.service to apply your changes.
In VIP Go’s mu-plugins, to update everything:git pull && git submodule update –recursive –remote With VVV, after setting up a site, to enable Query Monitor:wp user add-cap wordpress view_query_monitor To flush memcache:echo ‘flush_all’ | nc localhost 11211
Many organizations have policies requiring you to change your passwords every 90 days. These policies are dumb, and make security worse. The following material should help you fight back against this nonsense. You don’t have to believe Paul Schreiber, but you should believe NIST, the FTC and the UK’s NSCS. NIST In 2016, the National […]
I recently repaired a Kindle DX for a friend. As part of that, I reset it to factory defaults. When I went to register it so it would connect to his Amazon Account, I received the following error: Your Kindle is unable to connect at this time. Please try again later. If the problem persists, […]
The DRAC5 is a remote access card, letting you control a server such as the PowerEdge 300. With it, you can simulate physical access to the machine, viewing the screen on boot, entering commands and cycling power. Unfortunately, Dell has neglected this aging product. Trying to use it today will lead to errors in modern […]
TLDR: Be sure to enter only the first 13 digits of your 16-digit account number. Use hyphens when entering the phone number. I recently had to register for a verizon.com account for the Verizon account for our landline. This process was more difficult and took way longer than it should have, due to: poor website […]