Hi all -- I collect two pieces of data from users, then perform a calculation on this data. Where should I put this calculator this method? Helpers seem view-oriented, and the result here is not being sent to the user. Anyway, I tried putting the method in a helper and got a "no method" error. At the moment, I have it in another Model, but this seems really lame to me, so I thought I'd ask. -- Joshua
on 2006-01-25 18:12
on 2006-01-25 19:10
Hello Joshua ! 2006/1/25, Joshua Wehner <firstname.lastname@example.org>: > I collect two pieces of data from users, then perform a calculation on > this data. Where should I put this calculator this method? You can put anything in lib/. Just put a class, or some helper methods and require that file. You'll then have access to this data. If you told us more about the data, we might be able to offer more help. Hope that helps !