Skip to content

Commit

Permalink
[#643] add :comment option to belongs_to
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen committed Apr 20, 2010
1 parent dfa54b3 commit a1019bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hobofields/lib/hobo_fields/model_extensions.rb
Expand Up @@ -83,6 +83,7 @@ def self.attr_accessor_with_rich_types(*attrs)
def self.belongs_to_with_field_declarations(name, options={}, &block)
column_options = {}
column_options[:null] = options.delete(:null) if options.has_key?(:null)
column_options[:comment] = options.delete(:comment) if options.has_key?(:comment)

index_options = {}
index_options[:name] = options.delete(:index) if options.has_key?(:index)
Expand Down

0 comments on commit a1019bb

Please sign in to comment.