I am trying to understand the following statement: this is from a rail migration file:
x.datetime "new", :null => false
x.datetime "update", :null => false
I understand the first part of both statements (all to the point), but I'm not sure about the zero part
:null => false
Is this basically the expression "if it does not exist, is it false?" The logic seems a little strange, any clarifications on this will be very useful.
source
share