Techy Things

param is missing or the value is empty nested require permit 0

param is missing or the value is empty nested require permit

Error: param is missing or the value is empty: home_address_attributes Before (wrong) private def user_params Rails.logger.info("PARAMS: #{params.inspect}") params.require(:user).permit(:fullname, :login, :password, :password_confirmation, :phone_home, :phone_work, :phone_cell, :deliveryNote, :home_address_attributes).require(:home_address_attributes) end After (good) private def user_params Rails.logger.info("PARAMS: #{params.inspect}")...

Install a node workstation with nvm 0

Install a node workstation with nvm

1 NVM 1.1 Install nvm Note: Get the latest command from https://github.com/creationix/nvm $> curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.9/install.sh | bash $> export NVM_DIR="$HOME/.nvm" $> [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm 1.2 Verify it...

Find XCode version 0

Find XCode version

Solution $> xcode-select --print-path Copy/paste output $> <result-above>/usr/bin/xcodebuild --version

Selenium with Python 0

Selenium with Python

Debugging Use something like http://www.pyzo.org/pyzo_intro.html Documentation http://selenium-python.readthedocs.io/api.html?highlight=phantom#module-selenium.webdriver.remote.webdriver Find Selenium Version $> python >>> import selenium >>> help (selenium) (...) DATA __version__ = '3.8.0' VERSION 3.8.0 Also you can check a pip package version with: $...