Thursday, 19 September 2013

Using Rails with no models

Using Rails with no models

I have an application that utilizes web service calls from the controller
to attain its data. I have no models and don't need them (the app just
reads and displays data). However, when the app is deployed I get an
ActiveRecord::ConnectionNotEstablished error. How or Can I configure Rails
to ignore ActiveRecord functionality, basically ignore anything that's
associated with databases or models?
I'm using Rails 4. Thanks.

No comments:

Post a Comment