Closed plribeiro3000 closed 10 years ago
With this modifications, add a new request method (follow the name convention) will also add this method to be called from inside the respective model.
This approach let me tests the models as PORO's.
The heavier and harder tests will be only on requests. =)
All models will just handle attributes and associations now. The access to the server from the models will be handled by meta programming which will call the correct resquest method depending on the desired model.