aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-01-26 21:37:38 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-01-26 21:37:38 +0000
commit0aa0c84c179e82a2c7d206e75a5d515b82deeba5 (patch)
treea4dc530a6a2248d7edaf1029124e126765327117 /activerecord
parent768b60e60d19b8940138d5f412fa79f074b5c123 (diff)
downloadrails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.gz
rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.tar.bz2
rails-0aa0c84c179e82a2c7d206e75a5d515b82deeba5.zip
Nodoc the irrelevant (from 1.2)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rwxr-xr-xactiverecord/lib/active_record/associations.rb2
-rw-r--r--activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb6
-rwxr-xr-xactiverecord/lib/active_record/connection_adapters/mysql_adapter.rb6
-rw-r--r--activerecord/lib/active_record/connection_adapters/openbase_adapter.rb2
-rw-r--r--activerecord/lib/active_record/connection_adapters/oracle_adapter.rb2
5 files changed, 9 insertions, 9 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index fc43dabbfa..f0e5608b05 100755
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -30,7 +30,7 @@ module ActiveRecord
end
end
- class HasManyThroughSourceAssociationMacroError < ActiveRecordError #:nodoc
+ class HasManyThroughSourceAssociationMacroError < ActiveRecordError #:nodoc:
def initialize(reflection)
through_reflection = reflection.through_reflection
source_reflection = reflection.source_reflection
diff --git a/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb b/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb
index 415e15a588..33f56d5b2d 100644
--- a/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb
@@ -51,7 +51,7 @@ module ActiveRecord
# Assigns a world-wide unique ID made up of:
# < Sequence [2], ProcessID [2] , Time [4], IP Addr [4] >
- class TwelveByteKey < String #:nodoc
+ class TwelveByteKey < String #:nodoc:
@@mutex = Mutex.new
@@sequence_number = rand(65536)
@@key_cached_pid_component = nil
@@ -271,7 +271,7 @@ module ActiveRecord
true
end
- def native_database_types #:nodoc
+ def native_database_types #:nodoc:
{
:primary_key => "INTEGER DEFAULT UNIQUE PRIMARY KEY",
:string => { :name => "VARCHAR", :limit => 255 },
@@ -566,7 +566,7 @@ module ActiveRecord
execute "SET COMMIT TRUE"
end
- def add_limit_offset!(sql, options) #:nodoc
+ def add_limit_offset!(sql, options) #:nodoc:
if limit = options[:limit]
offset = options[:offset] || 0
diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
index 275856dc97..08b3c22ec7 100755
--- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
@@ -1,7 +1,7 @@
require 'active_record/connection_adapters/abstract_adapter'
require 'set'
-module MysqlCompat
+module MysqlCompat #:nodoc:
# add all_hashes method to standard mysql-c bindings or pure ruby version
def self.define_all_hashes_method!
raise 'Mysql not loaded' unless defined?(::Mysql)
@@ -160,7 +160,7 @@ module ActiveRecord
true
end
- def native_database_types #:nodoc
+ def native_database_types #:nodoc:
{
:primary_key => "int(11) DEFAULT NULL auto_increment PRIMARY KEY",
:string => { :name => "varchar", :limit => 255 },
@@ -278,7 +278,7 @@ module ActiveRecord
end
- def add_limit_offset!(sql, options) #:nodoc
+ def add_limit_offset!(sql, options) #:nodoc:
if limit = options[:limit]
unless offset = options[:offset]
sql << " LIMIT #{limit}"
diff --git a/activerecord/lib/active_record/connection_adapters/openbase_adapter.rb b/activerecord/lib/active_record/connection_adapters/openbase_adapter.rb
index e52cde45b0..71143b2202 100644
--- a/activerecord/lib/active_record/connection_adapters/openbase_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/openbase_adapter.rb
@@ -122,7 +122,7 @@ module ActiveRecord
# DATABASE STATEMENTS ======================================
- def add_limit_offset!(sql, options) #:nodoc
+ def add_limit_offset!(sql, options) #:nodoc:
if limit = options[:limit]
unless offset = options[:offset]
sql << " RETURN RESULTS #{limit}"
diff --git a/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb b/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb
index 01eb350da4..4e7c3c395c 100644
--- a/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb
@@ -134,7 +134,7 @@ begin
true
end
- def native_database_types #:nodoc
+ def native_database_types #:nodoc:
{
:primary_key => "NUMBER(38) NOT NULL PRIMARY KEY",
:string => { :name => "VARCHAR2", :limit => 255 },