What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-02-02 14:25:08
phoenix nested forms
mix phx.new nested_forms; cd nested_forms; mix phx.gen.html Users User users name:string; mix phx.gen.html Posts Post posts body:string; # Add resources "/users", UserController to router # Add belongs_to :user, NestedForms.Forms.User to post.e... Add solution -
Other 2021-09-18 01:14:02
fatal error: no supported authentication methods available (server sent: publickey)
For me this error appeared immediatey after I changed the user's home directory by sudo usermod -d var/www/html username It can also happen because of lack of proper permission to authorized_key file in ~/.ssh. Make sure the permission of this file is 06... Add solution