I need to do an html delete if the record isn't saved, so in Rails 2, all I had to do was: <% if person_form.object.new_record? %> <%= link_to_function "Delete", "delete_row()" %> <% else %> ....
object doesn't seem to be there, and rails 3 seems angry about the fields_for that defines person_form in Rails 2. I'm trying to do this in Rails 3 and having no luck.. Please help Thanks Bob Smith <bsm...@gmail.com> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.