method
readonly?
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::Core
readonly?()public
Returns true if the record is read only. Records loaded through joins with piggy-back attributes will be marked as read only since they cannot be saved.