Something really strange is happening after I updated to Rails 3.2.4.
I create a new app, and use scaffold to generate a model called FOO. With the local serve I can create a new FOO, but then the in FOOs’ index.html the new FOO does not appear. It does only after I restart the local server.
The same behavior is seen when I push heroku.
It’s really weird, also because if I put /FOOs/1 in the URL I can see the show page of the newly created FOO (before restarting the server I mean). So the record is there, but it is not listed in the index.html. The latter is just doing a trivial
<% @foos.each do |foo| %>
...
<% end %>
What is happening here?
Rails version is 3.2.4
Upgrading to 3.2.5 solved the problem!