You need to place an order by date and select one entry:
<%= Reklamer.where(name: 'Lars').order('dato DESC').first %>
You can do this by limiting one entry:
Reklamer.where(name: 'Lars').order('dato DESC').limit(1)
If you need the latest date from the last entry, you can do this:
Reklamer.where(name: 'Lars').last.dato
source
share