i''d put it into the model, since the model accesses the data, not your
controller (well, it does, but only at model level, the model itself does
the low-level stuff)
2006/8/16, Peer Allan <peer@bipolarsoftware.ca>:>
> Hi all,
>
> This is just a quick question about organization of code. I have an app
> that is checking domain information via the Yahoo and Google APIs. I
> have a model, Domain, that represents the domain I am checking.
>
> My question is where would you recommend I put the methods that access
> the APIs, in the model or the controller?
>
> Thanks
>
> Peer
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Michael Siebert <info@siebert-wd.de>
www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060816/6681e38a/attachment.html