diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-25 23:10:09 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-25 23:10:09 +0000 |
commit | 3cec029685cdbfa820eb6b4a98daf81ed80e1d27 (patch) | |
tree | b3c8ab447ca1cfb9b1bf6a04627214ee4786d892 | |
parent | 5b63c843074dc74b11e821bd286422d80de20c9d (diff) | |
download | rails-3cec029685cdbfa820eb6b4a98daf81ed80e1d27.tar.gz rails-3cec029685cdbfa820eb6b4a98daf81ed80e1d27.tar.bz2 rails-3cec029685cdbfa820eb6b4a98daf81ed80e1d27.zip |
Do it in style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb index 8038bc7051..40933d743c 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb @@ -193,9 +193,9 @@ module ActiveRecord end def columns(table_name, name = nil) #:nodoc: - table_structure(table_name).map { |field| + table_structure(table_name).map do |field| SQLiteColumn.new(field['name'], field['dflt_value'], field['type'], field['notnull'] == "0") - } + end end def indexes(table_name, name = nil) #:nodoc: |