Saturday, October 12, 2013

[Rails] What if you don't want your model to be from Active Record?

Hello Everyone,

What if you don't want your model to be tied to a database therefore not ActiveRecord, where do you put that model instead?

I want to write a class that would wrap together the various functions from, let's say, the AWS API. Would I write that class and place it in the models directory? Or should I place it elsewhere? Thank you.

Peter

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/dd7cee3c-e888-40c1-9597-b43eadb27e57%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate