
Boolean defaults not working properly
Reported by Brian Rose | November 5th, 2007 @ 01:02 PM
When working with a boolean column, it is often necessary to set :default => false. Right now, this is interpreted as meaning "no default value."
The attached diff fixes this issue by checking for nil instead of nil|false.
Comments and changes to this ticket
-
Nick Plante November 7th, 2007 @ 08:58 AM
- State changed from new to open
- Milestone cleared.
-
Brian Kidd November 13th, 2007 @ 12:45 PM
- Assigned user set to Brian Kidd
- State changed from open to resolved
This change has been incorporated.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »