Edit ruby code in post