i try open schema.rb, and i saw this code
------------------------------------------------
ActiveRecord::Schema.define(:version => 20121201063411) do

  create_table "anggota", :force => true do |t|
    t.string   "nama"
    t.text     "alamat"
    t.text     "no_telp"
    t.datetime "waktu_daftar"
    t.datetime "created_at",   :null => false
    t.datetime "updated_at",   :null => false
  end

  create_table "bukus", :force => true do |t|
    t.string   "isbn"
    t.string   "judul"
    t.string   "penulis"
    t.string   "penerbit"
    t.string   "kategori"
    t.integer  "edisi"
    t.integer  "jumlah"
    t.integer  "jumlah_dipinjam"
    t.datetime "created_at",      :null => false
    t.datetime "updated_at",      :null => false
  end

  create_table "posts", :force => true do |t|
    t.string   "name"
    t.string   "title"
    t.text     "content"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

end
----------------------------------------------------------

it say create_table "name of table", but the problem is i have been have 
that table in my database, and i didn't want to change that table.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to