For booleans, IMHO, the best is set a default and don't allow null. El Tuesday 01 December 2015 15:32:32 loveand light escribió:
Hi, Is it possible to stop a record from being created if it has a boolean field as a checkbox? It seems to create an new record everytime it is updated. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group.To unsubscribe from this group and stop receiving emails from it, send an email to activescaffold [email protected][1].To post to this group, send email to [email protected][2].Visit this group at http://groups.google.com/ group/activescaffold[3].For more options, visit https://groups.google.com/d/optout[4]. -------- [1] mailto:[email protected] [2] mailto:[email protected] [3] http://groups.google.com/group/activescaffold [4] https://groups.google.com/d/optout -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
