search for: column_type_sql

Displaying 1 result from an estimated 1 matches for "column_type_sql".

2006 Feb 05
0
Enum patch for Rails
...t be specified" if limit.nil? + fail ":enum column limit must be an array" unless limit.is_a? Array + limit = limit.collect {|n| "''#{n}''"}.join "," + else + limit ||= native[:limit] + end column_type_sql = native[:name] column_type_sql << "(#{limit})" if limit column_type_sql Index: activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb =================================================================== --- activerecord/lib/active_recor...