Canonical way to do a create form for ActiveResource?

What would be the proper way to do setup a create action for an ActiveResource?

I can't just use @object = in the new action, because the bare resource doesn't have any attributes, so in the form etc. will fail.

I can use an OpenStruct, but then other things fail, like error_messages_for

I would like if possible for the view to not have to care at all whether it is being used to edit an ActiveResource or an ActiveRecord.

Michael Johnston