I have a Rails application where I try to write code into an string:
<% @diagnoses.each do |f| %>
<a href="#" data-dropdown="drop#{f.id}" class=" tiny button dropdown expand">"#{f.beschreibung}"</a><br>
But somehow the "drop#{f.id}" and the "#{f.beschreibung}" are not written as a variable.
What am I doing wrong and why?