mirror of https://github.com/rails/rails
Documentation fixes (closes #3838)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
99307b959b
commit
0e37e6678a
|
@ -76,7 +76,7 @@ task :rebuild_postgresql_databases => [:drop_postgresql_databases, :build_postgr
|
|||
Rake::RDocTask.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
rdoc.title = "Active Record -- Object-relation mapping put on rails"
|
||||
rdoc.options << '--line-numbers --inline-source --accessor cattr_accessor=object'
|
||||
rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
|
||||
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
||||
rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG')
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
|
|
|
@ -223,7 +223,7 @@ begin
|
|||
rescue LoadError
|
||||
# DB2 driver is unavailable.
|
||||
module ActiveRecord # :nodoc:
|
||||
class Base # :nodoc:
|
||||
class Base
|
||||
def self.db2_connection(config) # :nodoc:
|
||||
# Set up a reasonable error message
|
||||
raise LoadError, "DB2 Libraries could not be loaded."
|
||||
|
|
|
@ -620,7 +620,7 @@ begin
|
|||
rescue LoadError
|
||||
# OCI8 driver is unavailable.
|
||||
module ActiveRecord # :nodoc:
|
||||
class Base # :nodoc:
|
||||
class Base
|
||||
def self.oci_connection(config) # :nodoc:
|
||||
# Set up a reasonable error message
|
||||
raise LoadError, "Oracle/OCI libraries could not be loaded."
|
||||
|
|
Loading…
Reference in New Issue