Rails‎ > ‎

Rails - 10 things every application needs

Here are several things I will probably need in every rails application but won't always remember.



Flash Notice

<% if flash[:notice] -%>
    <div id="notice"><%= flash[:notice] %> </div>
<% end -%>





Comments