79343444

Date: 2025-01-09 17:01:51
Score: 1
Natty:
Report link

if you have an ActiveRecord class, SomeClassWithRegdate, you can let Rails do the conversion.

regdate = SomeClassWithRegdate.new(params).regdate
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yoav Epstein