ian knauer

Joined

70 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in File Uploads in Rails With Shrine Discussion

great video! looking forward to the seeing more of shrine.

Just a heads up that the code for devise_parameter_sanitizer changes a bit with Devise 4 and up. It should now be devise_parameter_sanitizer.permit(:sign_up, keys: [:email, :password, :password_confirmation, account_attributes: [:subdomain]])

Somewhere in my debugging of this i had switched the action_dispatch.tld_length to be zero rather than the default of 1. Reverting back to 1 fixed the problem.

Has anyone had any luck getting this to work with rails 5? Puma seems to have some issues that i can't quite figure out. Running the server under 'rails s -p 3000 -b lvh.me' allows me to access the server correctly, but it's showing the subdomain as 'subdomain.lvh.'

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

I have it set to the public repo on github

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

actually, it looks like that failure is fine.. however when it's trying to mirror my git repo it's giving me this error: fatal: destination path 'home/deploy/codeblog/repo' already exists and is not an empty directory. When i ssh into the server and look at the file structure that folder isn't there.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

I'm having capistrano failing on this command of deployment [ -f home/deploy/codeblog/repo/HEAD ]

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.