Hi, I have a carts table with columns: campsite, arrival_date, nights,
parents, children, family_claim, total. Here children and family_claim
column allows null so even if the value is not passed for these columns
it should be valid entry. How can I achieve this. At the moment I’m
using this way in the cart_test.rb:
cart = Cart.new(:children => “”, :family_claim => 1)
So, I just wan’t to make sure I’m on the right track. Thanks.