Hi,

I've just started rails 4.2.1 and i created a model

And i ran 

Auction.new(start_date: "foo") # false

also

Auction.new(start_date: 200.to_s) #false
Auction.new(start_date: '200') # false

Auction.new(start_date: 200)          # ArgumentError: argument out of range
Auction.new(start_date: 2000.to_s) # ArgumentError: argument out of range

Not sure, but is it a bug ?



-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/678b11ab-b11f-4d46-88af-7153729710ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to