Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

commenting out html.erb

<%# 
    if flash[:myErrors] then
      if flash[:myErrors].any? then
        if @post.id.nil? then
          if @myPost!=-1 then
            @post = @myPost 
          else 
            @post = Post.new 
          end 
        end 
      end 
    end 
 %>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #commenting
ADD COMMENT
Topic
Name
3+8 =