Class | RBatis::Base |
In: |
lib/rbatis/rails_integration.rb
|
Parent: | Object |
This is class should be used as a base-class when using RBatis with the Ruby on Rails framework.
Called by the RBatis framework when loaded, sets new_record? to false so that save works properly.
If new_record? returns true it calls the insert statement defined on this class, otherwise it calls the update statement.