trying the sample in the book with console, but the records can’t be saved:

C:\depot>ruby script/console Loading development environment (Rails 2.2.2) >> ?> an_order = Order.new( ?> :name => “Dave Thomas” , ?> :email => “dave@pragprog.com” , ?> :address => “123 Main St” , ?> :pay_type => “check” ) => # >> an_order.save => false

what might be the reason?