Yeah there are no permission errors what is really strange is that the
cache is only rending about 30 records but I have over a hundred
movies
this in the conrtroller
@movies = Movie.find(:all ,:order =>"name")
this in the view
<% cache do %>
<%= render :partial => "shared/movies", :locals => { :movies =>
@movies } %>
<% end %>
wondering why I am only seeing a small subset of the data. When
something is cached it should retrieve all the records
and store in cache in page
not sure why it is not showing the entire data. any ideas?
On Apr 12, 8:47 am, Walter Lee Davis <
wa...@wdstudio.com> wrote:
> On Apr 11, 2012, at 6:58 PM, gerbdla wrote:
>
>
>
>
>
>
>
>
>
> > For some reason the caching files are not showing on my production website and I see the file in public/cache directory but it is not rendering on my site.
> > Any ideas as to why this is occuring. Here is the section cache statement.
> > Thanks
>
> > <% cache('athletes_list') do %>
>
> > <!-- This section is after yield it is the sidebar -->
> > </div>
> > </div>
> > <div class="span5">
> > <div class="hero-unit" style="background-color: #CC66CC">
> > <h5>Athletes On Twitter</h5>
> > <table>
> > <%...@athletes.each do | athlete |%>