remove use of @record in partials and helpers, use options[:object] like latest ActiveScaffold