how do i updated multiple records column value of based selected id : In products table i have fields like

    id   product_name   product_value   quantity    status
    1     abc             10000           50        received
    2     efg             5000            15        shipment
    3     hij             850             100       received
    4     klm             7000            20        shipment
    5     nop             350             50        received

I can select multiple rows at a time.And here i selected id=2,4 and need to change the status='received'. How to do multiple update at single time in rails