method

freeze

rails latest stable - Class: ActiveRecord::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

freeze()
public

Freeze the attributes hash such that associations are still accessible, even on destroyed records.