jeudi 4 septembre 2014

@username is non-existent or unavailable


Vote count:

0




http://ift.tt/1lKB126


Why is @username non-existent or unavailable at


get '/user/:username' do puts @username 'hello' end


It's an instance variable so I assumed it'd be accessible at the point of the puts. However, it's not printing to the console. What's a better/working way?



asked 33 secs ago







@username is non-existent or unavailable

Aucun commentaire:

Enregistrer un commentaire