After starting up torquebox with torquebox run, when I first do any calls to the peacekeeper model it chokes on superclass mismatch.
respond_to :json
def show
@restaurant = RestaurantModel.find(params[:id])
respond_with @restaurant
end
If I change that to use Restaurant instead of RestaurantModel, refresh, and then change it back things seem to be okay for me. Just confirmed with David that this helps his box too.
The best I can track this down is this:
After starting up torquebox with torquebox run, when I first do any calls to the peacekeeper model it chokes on superclass mismatch.
If I change that to use Restaurant instead of RestaurantModel, refresh, and then change it back things seem to be okay for me. Just confirmed with David that this helps his box too.