Why is this id attr_accessible? You really shouldn't be setting an object's ID and you should leave that to the app to auto-generate.