Using postgresql 8.0.1, a very simple table (id, name, desc, isactive); isactive is a boolean value. When I use scaffolding to edit/show/destroy items in this table, I am unable to set "isactive" to true. I get a dropdown menu to set it "true,false", however, either one I pick I always get "false". I can go into the database directly and set it to true, and it shows up as true on the view. I am able to change it to false via the scaffold, but not back to true. Anyone else seeing this problem? Caleb
Caleb Tennis said something:> Anyone else seeing this problem?http://dev.rubyonrails.com/changeset/1066 I patched my local copy, and things worked again. iain -- "If sharing a thing in no way diminishes it, it is not rightly owned if it is not shared." -- St. Augustine #rm -rf / http://www.geeksoc.org/
On Tuesday 05 April 2005 10:18 am, Iain D Broadfoot wrote:> http://dev.rubyonrails.com/changeset/1066Looks like a bad patch to me. The outer two expressions return true/false, while the regexp returns 0/nil. I''ll attach a fix and reopen the bug.