Open aashish opened 10 years ago
Model.first or any other db call returns an hash. res = Model.first res.name wont work. But documentation says, we can make res.name call. And also can I know how to update a record.
Model.first or any other db call returns an hash. res = Model.first res.name wont work. But documentation says, we can make res.name call. And also can I know how to update a record.