method

reload

reload(options = nil)
public

Reloads the attributes of this object from the database. The optional options argument is passed to find when reloading so you may do e.g. record.reload(:lock => true) to reload the same record with an exclusive row lock.

1Note

reload equivalent for models

cghawthorne ยท Feb 11, 20104 thanks

The reset_column_information method provides a similar function for the model itself. Most useful during migrations.