Hi, I usually always dea with arrays this is the first time I have to
deal with a regular variable… so I have in my method:
@online = Status.count_by_sql “SELECT COUNT(*) FROM status WHERE
status = ‘online’;”
and in my layout view I have
<%= @online %>
and nothing comes up…
What im doing wrong?