From 0aa0c84c179e82a2c7d206e75a5d515b82deeba5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 26 Jan 2007 21:37:38 +0000 Subject: Nodoc the irrelevant (from 1.2) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/associations.rb | 2 +- .../lib/active_record/connection_adapters/frontbase_adapter.rb | 6 +++--- activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 6 +++--- .../lib/active_record/connection_adapters/openbase_adapter.rb | 2 +- .../lib/active_record/connection_adapters/oracle_adapter.rb | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'activerecord/lib/active_record') 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 }, -- cgit v1.2.3