Just do this and it will work.

class Post < ActiveRecord::Base
  set_primary_key :id
end

This may seem odd, but what is likely happening is that since the id column is 
the same name as the expected default and the type is now a string, it is 
failing to set things correctly or cast them appropriately. Being explicit will 
fix it, tho this could be considered a regression or bug.


 - Ken


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to