public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/ddollar/rails.git
Fix nodoc breaking adapters (closes #7161)

git-svn-id: 
http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5983 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
dhh (author)
Thu Jan 18 08:52:47 -0800 2007
commit  f255db871b204e85c388a9e85da67508f3bc7a48
tree    39fddf86e163638ddfb685ea992cee1b6817fce0
parent  cfb3a80862a94cbd96c6b19f0cdd2f45316e69f0
...
271
272
273
274
 
 
275
276
277
...
563
564
565
566
 
 
567
568
569
...
271
272
273
 
274
275
276
277
278
...
564
565
566
 
567
568
569
570
571
0
@@ -271,7 +271,8 @@ module ActiveRecord
0
         true
0
       end
0
 
0
- def native_database_types #:nodoc: {
0
+ def native_database_types #:nodoc:
0
+ {
0
           :primary_key => "INTEGER DEFAULT UNIQUE PRIMARY KEY",
0
           :string => { :name => "VARCHAR", :limit => 255 },
0
           :text => { :name => "CLOB" },
0
@@ -563,7 +564,8 @@ module ActiveRecord
0
         execute "SET COMMIT TRUE"
0
       end
0
 
0
- def add_limit_offset!(sql, options) #:nodoc: if limit = options[:limit]
0
+ def add_limit_offset!(sql, options) #:nodoc:
0
+ if limit = options[:limit]
0
           offset = options[:offset] || 0
0
         
0
 # Here is the full syntax FrontBase supports:
...
160
161
162
163
 
 
164
165
166
...
277
278
279
280
 
 
281
282
283
...
160
161
162
 
163
164
165
166
167
...
278
279
280
 
281
282
283
284
285
0
@@ -160,7 +160,8 @@ module ActiveRecord
0
         true
0
       end
0
 
0
- def native_database_types #:nodoc: {
0
+ def native_database_types #:nodoc:
0
+ {
0
           :primary_key => "int(11) DEFAULT NULL auto_increment PRIMARY KEY",
0
           :string => { :name => "varchar", :limit => 255 },
0
           :text => { :name => "text" },
0
@@ -277,7 +278,8 @@ module ActiveRecord
0
       end
0
 
0
 
0
- def add_limit_offset!(sql, options) #:nodoc: if limit = options[:limit]
0
+ def add_limit_offset!(sql, options) #:nodoc:
0
+ if limit = options[:limit]
0
           unless offset = options[:offset]
0
             sql << " LIMIT #{limit}"
0
           else
...
122
123
124
125
 
 
126
127
128
...
122
123
124
 
125
126
127
128
129
0
@@ -122,7 +122,8 @@ module ActiveRecord
0
 
0
       # DATABASE STATEMENTS ======================================
0
 
0
- def add_limit_offset!(sql, options) #:nodoc: if limit = options[:limit]
0
+ def add_limit_offset!(sql, options) #:nodoc:
0
+ if limit = options[:limit]
0
           unless offset = options[:offset]
0
             sql << " RETURN RESULTS #{limit}"
0
           else
...
134
135
136
137
 
 
138
139
140
...
134
135
136
 
137
138
139
140
141
0
@@ -134,7 +134,8 @@ begin
0
           true
0
         end
0
 
0
- def native_database_types #:nodoc: {
0
+ def native_database_types #:nodoc:
0
+ {
0
             :primary_key => "NUMBER(38) NOT NULL PRIMARY KEY",
0
             :string => { :name => "VARCHAR2", :limit => 255 },
0
             :text => { :name => "CLOB" },

Comments

    No one has commented yet.