I have a Partial and at the beginning of it I have Ruby code (<% ...
%>) in which a have a couple of comments. When the comments (which
starts with #) are in the Partial, my partial is not displayed, when I
remove them my Partial works. Why?
Here is the beginning of the partial :
# Check if we passed to the partial the User object
user = User.find_by_id(session[:userId]) if
<% form_id = "myPartial_form";