The way that boolean values are stored varies from database to database. Some use 1 and 0 integer values to represent true and false, respectively. Others use characters such as T and F.
How do I choose which to use? 1 and 0, or T and F? And likewise, how do I set them?
Please help clear this up for me!
Thanks!!
true/false,0/1or't'/'f'as boolean literals (per the documentation). That said, as @MrYoshiji says, with Rails the ORM takes care of this detail for you.