I'm experiencing an odd situation with toggling bool values with checkboxes in ActiveScaffold. The checkboxes seem to toggle back and forth between TRUE and a null / unassigned value rather than between TRUE and FALSE.
I am using Postgresql and thought that might be the source of the problem since postgresql seems to have 3 possible vales for bool: TRUE, FALSE and Unassigned. Is there anyway to deal with this? Creating a record with an initial value of FALSE works correctly, but after that, if I change it I only get TRUE and Unassigned. On a somewhat related issue, how can I enable inline editing while at the same time excluding the update action? I want to get rid of the edit link and just have this bool value toggled via checkbox from the list view. But disabling update, prevents the bool value from being updated in the DB when toggling the checkbox. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
