Sandthorn Product Example

Editing Active Record Product

5

Back

Active Record database table (products)

{"id"=>"5", "name"=>"sfsdaa", "price"=>"23421", "stock_status"=>"instock", "created_at"=>"2014-08-13 14:18:37.997119", "updated_at"=>"2017-12-22 19:22:02.796975"}

{"id"=>"24", "name"=>"Teisting", "price"=>"190", "stock_status"=>"instock", "created_at"=>"2018-04-26 19:48:10.290418", "updated_at"=>"2018-04-26 19:48:10.290418"}

{"id"=>"25", "name"=>"Coke", "price"=>"12", "stock_status"=>"instock", "created_at"=>"2018-06-20 17:06:22.912408", "updated_at"=>"2018-06-20 17:06:22.912408"}

{"id"=>"6", "name"=>"sssssssssss", "price"=>"12456", "stock_status"=>"outofstock", "created_at"=>"2014-08-15 08:12:00.738468", "updated_at"=>"2018-07-22 22:01:14.777477"}

{"id"=>"20", "name"=>"test79", "price"=>"79", "stock_status"=>"outofstock", "created_at"=>"2017-04-28 11:36:09.717674", "updated_at"=>"2018-08-09 21:35:28.725748"}

{"id"=>"26", "name"=>"lemon", "price"=>"1", "stock_status"=>"instock", "created_at"=>"2018-10-19 08:53:40.840277", "updated_at"=>"2018-10-19 08:53:55.391151"}