reload

- 1.0.0 (0)
- 1.1.6 (0)
- 1.2.6 (28)
- 2.0.3 (0)
- 2.1.0 (0)
- 2.2.1 (0)
- 2.3.2 (0)
- 2.3.8 (0)
- 3.0.0
- 3.0.9
- 3.1.0
- 3.2.1
- 3.2.8
- 3.2.13
- 4.0.2
- 4.1.8
- 4.2.1
- 4.2.7
- 4.2.9
- 5.0.0.1
- 5.1.7
- 5.2.3
- 6.0.0
- 6.1.3.1
- What's this?
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.

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

reload is deprecated? what's the new alternative?
What’s the recommended alternative to reload for more recent versions of Rails?

Moved to ActiveRecord::Persistence
This isn’t deprecated, it was just moved in Rails 3. See: