jamesgolick/friendly — Issue #29: Sequel::DatabaseError: Mysql2::Error: Column 'id' cannot be null 
Author: dhruvg
Created: 2011-10-10 17:59:33+00:00
State: open

Getting this error when trying to save a model that I just created. Ideally, since I am inserting a new record, I should not have to specify the id, so why am I getting this error?

Also, can I query the document's ID right after it is inserted (saved) into the db? Or do I have to "reload" and then get the ID?

Thanks!