ActiveRecord documentation is part of rails-doc and may be found in /usr/share/doc/rails-doc/