Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4032

Show
Ignore:
Timestamp:
03/25/06 23:10:09 (4 years ago)
Author:
david
Message:

Do it in style

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb

    r3998 r4032  
    194194 
    195195      def columns(table_name, name = nil) #:nodoc: 
    196         table_structure(table_name).map { |field| 
     196        table_structure(table_name).map do |field| 
    197197          SQLiteColumn.new(field['name'], field['dflt_value'], field['type'], field['notnull'] == "0") 
    198         } 
     198        end 
    199199      end 
    200200