title: PostgreSQL point type in Rails migration
body: <p><strong>I want</strong> to use the <strong>point</strong> type which there's in PostgreSQL. I've done:</p>
  
  <pre><code>rails g model Test point:point
  </code></pre>
  
  <p>The resulting migration is:</p>
  
  <pre><code>class CreateTests &lt; ActiveRecord::Migration
    def change
      create_table :tests do |t|
        t.point :point
  
        t.timestamps
      end
    end
  end
  </code></pre>
  
  <p>When I run:</p>
  
  <pre><code>rake db:migrate
  </code></pre>
  
  <p>The result is:</p>
  
  <pre><code>    ==  CreateTests: migrating ====================================================
      -- create_table(:tests)
      rake aborted!
      An error has occurred, this and all later migrations canceled:
  
      undefined method `point' for #&lt;ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition:0x000000038991a0&gt;/home/i/Dropbox/programming/ruby/rails_pg_for_tests/db/migrate/20140306151700_create_tests.rb:4:in `block in change'
      /home/i/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:184:in `create_table'
      /home/i/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-4.0.2/lib/active_record/migration.rb:625:in `block in method_missing'
      /home/i/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-4.0.2/lib/active_record/migration.rb:597:in `block in say_with_time'
  ...
  </code></pre>
  
  <p>May be I need to install PostGIS, but I don't understand what for, if I have point type in PostgreSQL. And I only need to store latitude and longitude without any other options.</p>
  
  <p>How can I use this point type or what is better to use in this case?</p>
  
  <p>Thank you.</p>