Cheers,
Jason
jason-macbook:chapter2 munkie$ rake db:migrate
(in /Users/munkie/rails_projects/mashups/chapter2)
DEPRECATION WARNING: Rake tasks in vendor/plugins/ym4r_gm/tasks are deprecated. Use lib/tasks instead. (called from /Users/munkie/Developer/.rvm/gems/ruby-1.8.7-p248/gems/rails-2.3.8/lib/tasks/rails.rb:10)
rake aborted!
./db/migrate//20100724175523_create_stores.rb:16: syntax error, unexpected $end, expecting kEND
(See full trace by running task with --trace)
class CreateStores < ActiveRecord::Migration
def self.up
create_table :stores do |t|
t.column :name, :string
t.column :street, :string
t.column :city, :string
t.column :state, :string
t.column :zipcode, :string
t.column :lng, :float
t.column :lat, :float
end
def self.down
drop_table :stores
end
end
Best regards
Peter De Berdt