87828 threads
1548 threads
1 email from 1 person
I have an in-place editor for my customer.notes attribute. Here''s the view: <% @customer.notes = ''No notes'' if !@customer.notes || @customer.notes.strip == '''' -%> <%= in_place_editor_field :customer, :notes, {}, { :rows => 2 } %>