<!DOCTYPE html>
<html lang="fr">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,user-scalable=no">

  <title></title>

  <!-- Stylesheets -->
  <%= stylesheet_link_tag "application", :media => "all" %>
</head>
<body>
  <!--Scripts -->
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
  <%= javascript_include_tag "application" %>

  <% [:alert, :error, :notice].each do |key| %>
    <% if flash[key] %>
      <div class="flash flash-<%= key %>" data-alert="alert"><%= flash[key] %></div>
    <% end %>
  <% end %>

  <%= yield %>
</body>
</html>

<!DOCTYPE html>
<html lang="fr">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,user-scalable=no">

  <title></title>

  <!-- Stylesheets -->
  <%= stylesheet_link_tag "application", :media => "all" %>
</head>
<body>
  <!--Scripts -->
  

  <% [:alert, :error, :notice].each do |key| %>
    <% if flash[key] %>
      <div class="flash flash-<%= key %>" data-alert="alert"><%= flash[key] %></div>
    <% end %>
  <% end %>

  <%= yield %>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
  <%= javascript_include_tag "application" %>
</body>
</html>

Put script at the end of body
Put script at the end of body
