title: Rails - How to display number of days between two dates in a rails form
body: <p>I am making a simple rails app and I have a form whereby the employee can register vacation days. I have two date fields (<code>start_date</code> and <code>end_date</code>), and I would like to have a field that is displayed in the<code>show</code> action/page (and if possible to appear instantaneously within the form itself after the days are selected). How can I do this?</p>