2
현재 Rails 3.1 애플리케이션을 빌드하고 완벽하게 실행하고 있습니다. 이 요소에서 오는Rails 3.1의 directions_extension은 무엇입니까?
<div id="directions_extension" style="position: absolute !important; background-image: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; background-color: rgb(238, 238, 255) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: solid !important; border-right-style: solid !important; border-bottom-style: solid !important; border-left-style: solid !important; border-top-color: rgb(170, 170, 255) !important; border-right-color: rgb(170, 170, 255) !important; border-bottom-color: rgb(170, 170, 255) !important; border-left-color: rgb(170, 170, 255) !important; padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; display: none; border-top-left-radius: 5px 5px !important; border-top-right-radius: 5px 5px !important; border-bottom-right-radius: 5px 5px !important; border-bottom-left-radius: 5px 5px !important; background-position: initial initial !important; background-repeat: initial initial !important; "></div>
임 확실하지 : 그러나, 나는 내 마크 업이 현재 모든 페이지에이 요소를 포함 것으로 나타났습니다. 내 레이아웃을 점검하고 모든 것이 제대로 닫혔지만 여전히 어디에서오고 있는지 파악하지 못했습니다. 내 템플릿은 다음과 같습니다
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="biotech tools for the future">
<meta name="keywords" content="biotech, biotechnology, tools, dna, analysis">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%= csrf_meta_tags %>
<title>bioDome :: reliable and stable bio tools</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "libs/modernizr.min" %>
</head>
<body>
<div id="container">
<header>
<h1>bioDome</h1>
<nav>
<ul>
<li><%= link_to 'home', root_path %></li>
<li><%= link_to 'contact', contact_path %></li>
<li><%= link_to 'users', users_path %></li>
</ul>
</nav>
</header><!-- header -->
<div id="main" role="main">
<section id="<%= params[:controller] %>" class="<%= "#{params[:controller]}-#{params[:action]}" %>">
<%= yield %>
</section>
</div><!-- #main -->
<footer>
</footer> <!-- footer -->
</div><!-- #container -->
<%= javascript_include_tag "application" %>
</body>
</html>
이 directions_extension에서 오는 될 수있다, 그렇다면, 어떻게 그것을 제거하기 위해 어떤 생각?
코드 기반을 검색 했습니까? 당신이 사용하는 보석 코드를 검색 했습니까? grep을 사용하거나 편집기에서 프로젝트 전체 검색을하십시오. – molf
예. grep 검색은 없었습니다. 그것은 다른 Mac에서 새로운 레일 애플 리케이션을 만들었고 동일한 것들이 생성 된 html에 있었기 때문에 Rails 3.1 프레임 워크의 일부가되어야합니다. – alvincrespo