ROR - try, rescue block


/ Published in: Ruby
Save to your folder(s)



Copy this code and paste it in your HTML
  1. begin
  2. @db.do(query, username, emailAddress, experiencePoints, lifePoints, karma, level)
  3. rescue
  4.  
  5. end

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.