I do a create on an Active Record model in a controller and it's doing
something strange. It's primary key (id) is nil, created/updated are
nil as well.
A few of the columns/attributes are nil as well. The model instance
gets created but the id is nil.
Rspec fails for the model because its id is nil (because it's being
passed to other models)
Any ideas?
--
Posted via
http://www.ruby-forum.com/.