I love Rails
It dawned on me last night that the pagination, tag and company tag code in my templates are all the same for overview, sendout and manage_tags. So all three templates call the partials _tags, _company_tags, and _pages now. Partials are such a good idea. I'm going to pull the code in the actions into a helper now (or place it in the models?).

0 Comments:
Post a Comment
<< Home