how to debug "save" error?

Perhaps validations are failing for your object?

Try

logger.debug @item.errors.full_messages

right after @item.save, and see if that leads anywhere helpful.

Jeff
softiesonrails.com