I have some views that show dates and have done the conversion in the .rhtml file itself. Does it make more sense to do that in the model file perhaps ? TIA Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060712/b1735c44/attachment.html
stuart fellowes wrote:> I have some views that show dates and have done the conversion in the > .rhtml > file itself. Does it make more sense to do that in the model file > perhaps ? > > TIA > StuartStuart, I would say to leave them in the views. This helps when you want to display the date/time in different ways. Plus i think it''s just easier. JOn -- Posted via http://www.ruby-forum.com/.