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 $> curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash $> export NVM_DIR="$HOME/.nvm" $> [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm 1.2 Verify it has installed $> command -v nvm If not,...

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 Troubleshooting WebDriverException: Message: 'geckodriver' executable needs to be in PATH.