这就是我所做的
Customer.all
Customer Load (0.6ms) SELECT "customers".* FROM "customers"
=> #<ActiveRecord::Relation [#<Customer id: 1, name: "Judy Ngai", created_at: "2013-08-13 18:50:02", updated_at: "2013-08-13 18:50:02", phone_number: nil>]>
然后
judy = Customer.find(1)
insertdata = judy.phone_number = "1234567890"
insertdata.save!
or
insertdata.save
给我
NoMethodError: undefined method `save' for "6265607524":String
NoMethodError: undefined method `save!' for "6265607524":String
我应该怎么办?