E
E
epolyak2015-12-14 19:39:58
Ruby on Rails
epolyak, 2015-12-14 19:39:58

Rails - where in the project to create your own class and how to connect it to the controller?

Good afternoon.
Started learning rails. I master on railstutorial.ru .
But my hands itch, what I want - I want to contact the third class in the controller, which goes to a third-party service.
The question is - where in the Feng Shui rails application should I place this "third" class, in which folder, etc.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Demidenko, 2015-12-14
@epolyak

app/services

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question