Why does RM complain about argument count in Date.new
I moved older code to Rails 3.22/RM 4.0.2 and am getting red marks (Found 2 extra argument(s), Required <= 1; super_class=...) in the statement
dateone = Date.new(2010,3,22)
Please sign in to leave a comment.
Hello Bob,
here is corresponding issue in our bugtracker. Feel free to vote for it and track it's progress
I guess I'm not a member of BugTracker, so cannot vote or comment, but I can see the effort..
I would vote that it is certainly an annoyance. I can work around the problem by using Date.parse instead of Date.new, but I wonder about the performance hit.
Registration is FREE ... no deposit, no credit card details required.