Hi, i want to use rails api as backend but i am new and i actually have never done it.
I have seen some tutorials, some of it users CORS (cross origin resource sharing), and some uses Rails Active_Model_Serializers.
Which would be a better solution or are they different things from each other?
If they are totally different things, when each one should e used?(e.g, for devise auth ppl use CORS in the tutorial)