Debugging tips and tricks in Ruby and ROR - Part 1

In software development you are destined to deal with lots of code that is not written by you. What would be more stressful than debugging the code that you barely understand. You might have been in the situation where you have been assigned a bug and you have to traverse through lots of file which you have no idea of, just get to root cause of the issue. Being in these situations many times, I have learned few tips and tricks for debugging and would like to share it here. **Checking where the method causing a problem exists.** In some

Evernote Create Note - EDAMUserException - ENML_VALIDATION

If you have an application which creates notes, learning how to integrate evernote to sync notes will be very handy. You may refer this ruby gem - [evernote_oauth][1] which has useful methods to access your existing evernote notebooks, create notebooks and notes, etc. The gem is well documented. Refer this blog to understand and see code to create note on evernote - [Create Note on Evernote][2] If you refer the code in the above blog to create a note - just this particular snippet - n_body = "" n_body += "" n_body += "#{note_