Skip to content

Commit f6147eb

Browse files
committed
again
1 parent 72a4166 commit f6147eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/member.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def underage?
248248

249249
def underage_at?(event_date)
250250
return true if birth_date.blank?
251-
251+
252252
return ((18.years.ago + (event_date - Date.today)) < birth_date)
253253
end
254254

0 commit comments

Comments
 (0)