Colin Law wrote in post #1074344:
On 2 September 2012 19:23, brent brent wrote:
external call and is not expensive. so where is the best place to do
things that happen from external calls and do not directly relate to the
mvc? any advice would be helpfull thanks.
Remember you can have models that are not derived from ActiveRecord so
you could have a class to handle your external calls.

Colin
Thanks colin, i see now. I guess i could also do a mixin or module to
bring it in via class that im currently using. Thats makin sense now.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedSep 2, '12 at 6:23p
activeSep 2, '12 at 7:51p
posts3
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Brent brent: 2 posts Colin Law: 1 post

People

Translate

site design / logo © 2021 Grokbase