On 8/15/07, <b class="gmail_sendername">James Britt</b> <<a href="mailto:james@neurogami.com">james@neurogami.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jeff Barczewski wrote:<br><br>><br>> I have typically always defined my titles and page specifc data in my<br>> controller, but I can see the benefit of what you are trying to do. I<br>> have a couple ideas which might solve the problem. I'll explore those
<br>> this morning and let you know my findings.<br><br>Thanks!</blockquote><div><br></div></div><br>I worked through a couple ideas and believe that I have a approach that will work. <br><br>I think it makes sense to be able to modify both the collection, object, and locals that are passed into the partial so that you can change what goes in from any page or even use multiple times on the same page. So the synchronization code will be updated to ignore those types of differences for the gen_partial and import_partial calls and it will keep the existing values when rebuilding.
<br><br>I think this will be a nice change giving much flexibility and it shouldn't break any existing code since they will have the same values already.<br><br>I am partially through adding some tests and implementing. Will try to wrap this up by tomorrow if possible and will let you test it out to see if if solves your problems.
<br><br>I'll shoot you an email when it is ready to roll.<br><br>Jeff<br><br clear="all"><br>-- <br>Jeff Barczewski, MasterView core team<br>Inspired Horizons Ruby on Rails Training and Consultancy<br><a href="http://inspiredhorizons.com/">
http://inspiredhorizons.com/</a>