ActiveRecord Attributes ClassMethods module ClassMethods Ruby on Rails edge Since v5.0.7.2 Available in: v5.0.7.2 v5.1.7 v5.2.8.1 v6.0.6.1 v6.1.7.10 v7.0.10 v7.1.6 v7.2.4 v8.0.5.1 v8.1.4 edge Compare with: (choosing a version navigates to the comparison) Choose a version v5.0.7.2 · changed v5.1.7 · changed v5.2.8.1 · changed v6.0.6.1 · changed v6.1.7.10 · changed v7.0.10 · changed v7.1.6 · changed v7.2.4 · changed v8.0.5.1 · changed v8.1.4 · changed Active Record Attributes Constants ActiveRecord::Attributes::ClassMethods::PendingDatabaseDefault ActiveRecord::Attributes::ClassMethods::PendingDefault ActiveRecord::Attributes::ClassMethods::PendingType Methods (defined here) # attribute # define_attribute # reload_schema_from_cache # type_for_attribute Private methods (2) Show private methods Implementation detail — not part of the public API. # reset_default_attributes # resolve_type_name On this page Constants Methods Private methods (2) Support Bug Reports can be filed for the Ruby on Rails project on GitHub. Feature requests should be discussed on the rubyonrails-core forum. License Released under the MIT license.