|
21 | 21 | # Modifications (Numerous fixes as maintainer): Ryan Tomayko <rtomayko@gmail.com> |
22 | 22 | # Date: Up to July 2006 |
23 | 23 |
|
24 | | -# Current maintainer: Tom Ward <tom@popdog.net> |
| 24 | +# Previous maintainer: Tom Ward <tom@popdog.net> |
| 25 | +# |
| 26 | + |
| 27 | +# Current maintainer: Shawn Balestracci <shawn@vegantech.com> |
25 | 28 |
|
26 | 29 | module ActiveRecord |
27 | 30 | class Base |
@@ -197,7 +200,8 @@ def new_time(year, mon, mday, hour, min, sec, microsec = 0) |
197 | 200 | return nil if year.nil? || year == 0 |
198 | 201 | Time.time_with_datetime_fallback(Base.default_timezone, year, mon, mday, hour, min, sec, microsec) rescue nil |
199 | 202 | end |
200 | | - end |
| 203 | + end #class << self |
| 204 | + end #SQLServerColumn |
201 | 205 |
|
202 | 206 | # In ADO mode, this adapter will ONLY work on Windows systems, |
203 | 207 | # since it relies on Win32OLE, which, to my knowledge, is only |
@@ -368,7 +372,7 @@ def columns(table_name, name = nil) |
368 | 372 | AND constraint_column_usage.column_name = columns.column_name |
369 | 373 | ) |
370 | 374 | WHERE columns.TABLE_NAME = '#{table_name}' |
371 | | - ORDER BY cols.COLUMN_NAME |
| 375 | + ORDER BY columns.COLUMN_NAME |
372 | 376 | } |
373 | 377 | # ORDER BY columns.ordinal_position |
374 | 378 | result = select(sql, name, true) |
@@ -809,3 +813,4 @@ def set_utf8_values!(sql) |
809 | 813 | end #class SQLServerAdapter < AbstractAdapter |
810 | 814 | end #module ConnectionAdapters |
811 | 815 | end #module ActiveRecord |
| 816 | + |
0 commit comments