why is it showing so??
It doesn't make sense to call each on nilYou'd do it on an array or some other iterable
<% @destinations.each do |p| %> i have did this @destinations has data
Your error message says otherwise
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.