```ruby
 class PicksController < ApplicationController

 end
```

Add action create to Pick controller
user
```ruby
 class PicksController < ApplicationController
  
   def create
     @user = User.find_or_create_by(params[:user])
     @pick = Pick.new(params[:pick])
     if @pick.save 
       @user.picks << @pick
       render text: 'good'
     else
       render text: 'faild'
     end
   end

 end
```
assistant