<p>This can come in real handy when using shared partials such as a sidebar. Just place this in your view/partial</p>
<% @posts ||= Post.all %>
<p>This can come in real handy when using shared partials such as a sidebar. Just place this in your view/partial</p>
<% @posts ||= Post.all %>
Article Topic:Software Development - Ruby / Rails
Date:July 04, 2014
Want me to help develop your next Ruby-on-Rails project or application?
Contact Me