Permalink
Browse files

Do it in style

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5b63c84 commit 3cec029685cdbfa820eb6b4a98daf81ed80e1d27 @dhh dhh committed Mar 25, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
@@ -193,9 +193,9 @@ def tables(name = nil) #:nodoc:
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:

0 comments on commit 3cec029

Please sign in to comment.