Im developing a data oriented application, i mean, i have a lot of tables with catalogs and views, but the code is allmost the same for every page. Every module use the same view, so i put it in a partial and use it with some reflection magic to get it work with any model. e.g.: Clientes have many destinations, products and contacts. My views for the show action looks like: -- app/views/destinations/show.rhtml <%= details_for @destination, :parent => @client, :fields => ... %> -- app/views/products/show.rhtml <%= details_for @product, :parent => @client, :fields => .... %> -- app/views/contacts/show.rhtml <%= details_for @contact, :parent => @client, :fields => ... %> details_for is a helper method used to render app/views/shared/ _show.rhtml In production mode without any explicit caching, rails still caches a few things, in this case, if i update a record, the view remains with the old data. As a temporary solution i disabled caching in my production.rb. But is there a better solution for this issue? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---