Extracting code_notes from rails