I have a situation in which I want to replace my model layer (Activerecord) generated by a Refinery CMS engine with API calls that will return data to me in JSON. Is it possible? if yes please guide me to some tutorial/demo.
Asked
Active
Viewed 102 times
0
-
check this out its having full description about Extending Models with Decorators http://refinerycms.com/guides/extending-models – SSP Dec 26 '12 at 10:53
-
Actually I am trying to replace the Activerecord layer altogether, rather than extending it. – user1573701 Dec 26 '12 at 11:08
-
Anyone with other ideas as extending models does not seem to be the solution for my scenario. – user1573701 Dec 27 '12 at 14:10