Rails locations: API Wrappers (Vaccum) -


in rails -

where should locate api wrapper? under models?

i put vaccum wrapper there i'm getting nomethoderror in controller. how make sure working well?

do mean vacuum wrapper? either put in model layer or create separate service layer it, eg. create service folder , make available there. however, simplicity start creating model.

the nomethoderror controller caused because rails cannot find method sending. can perhaps post controller code?


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -

java Extracting Zip file -