On 24 May 2015 at 19:48, [email protected] <[email protected]> wrote:
> I wrote some pretty ugly code that allows me to pull data from a database
> and view it. If I wanted to edit/update any of the data,
> I push the 'edit' button at the bottom of the page and the page updates with
> all text fields replaced with editable form fields.

What is ugly about the code you have written?  Is what you describe
not the normal view page and edit page?

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsDqB1CTfa0vGmYFgkocBOeO-ODBVfg0s8jLAPwS04O_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to