ctran/annotate_models — pull request #158 by orbanbotond (2013-12-27 11:31:06+00:00)
Title: Fix for #157

The pg array type is now detected.

This is how the annotation will look like:

# == Schema Information
#
# Table name: equipment
#
# id :integer not null, primary key
# shop :string(255)
# name :string(255)
# category :string(255)
# link :string(255)
# image :string(255)
# product_key :string(255)
# brand :string(255)
# created_at :datetime
# updated_at :datetime
# equipment :string(255)
# gender :string(255)
# sport :string(255) is an Array
# asin :string(255)
# user_id :integer
# rotation :boolean default(FALSE)
# colors :string(255) is an Array
# sizes :string(255) is an Array
# amazon_checked_at :datetime
# models :string(255) is an Array
# year :string(255)
# product_attributes :string(255) is an Array
# color :string(255) is an Array
#