Do it simple
Do it simple

This basically reverts 61012955f96141f4a3e4c53e64fdeee4cc0c7c42 and fa782dd76e1244c577846b9e3ee9691458f74ce1,
then changes the original `api_behavior` method to work regardless of Rails version

kenchan0130/garage,luvtechno/garage,y-yagi/garage,y-yagi/garage,cookpad/garage,kenchan0130/garage,luvtechno/garage,luvtechno/garage,takashi/garage,takashi/garage,y-yagi/garage,cookpad/garage,cookpad/garage,kenchan0130/garage,takashi/garage,cookpad/garage