Skip to content
Browse files

Adds title and basic description where needed.

  • Loading branch information...
1 parent 596300a commit 4ad6103c4f42c2dd2d2cad9b6f515737e9bf9de3 @rizwanreza rizwanreza committed
View
1 activerecord/lib/active_record/aggregations.rb
@@ -1,4 +1,5 @@
module ActiveRecord
+ # = Active Record Aggregations
module Aggregations # :nodoc:
extend ActiveSupport::Concern
View
1 activerecord/lib/active_record/attribute_methods.rb
@@ -1,6 +1,7 @@
require 'active_support/core_ext/enumerable'
module ActiveRecord
+ # = Active Record Attribute Methods
module AttributeMethods #:nodoc:
extend ActiveSupport::Concern
include ActiveModel::AttributeMethods
View
2 activerecord/lib/active_record/autosave_association.rb
@@ -1,6 +1,8 @@
require 'active_support/core_ext/array/wrap'
module ActiveRecord
+ # = Active Record Autosave Association
+ #
# AutosaveAssociation is a module that takes care of automatically saving
# your associations when the parent is saved. In addition to saving, it
# also destroys any associations that were marked for destruction.
View
2 activerecord/lib/active_record/base.rb
@@ -21,6 +21,8 @@
require 'active_record/errors'
module ActiveRecord #:nodoc:
+ # = Active Record
+ #
# Active Record objects don't specify their attributes directly, but rather infer them from the table definition with
# which they're linked. Adding, removing, and changing attributes and their type is done directly in the database. Any change
# is instantly reflected in the Active Record objects. The mapping that binds a given Active Record class to a certain
View
2 activerecord/lib/active_record/callbacks.rb
@@ -1,6 +1,8 @@
require 'active_support/core_ext/array/wrap'
module ActiveRecord
+ # = Active Record Callbacks
+ #
# Callbacks are hooks into the lifecycle of an Active Record object that allow you to trigger logic
# before or after an alteration of the object state. This can be used to make sure that associated and
# dependent objects are deleted when +destroy+ is called (by overwriting +before_destroy+) or to massage attributes
View
1 activerecord/lib/active_record/counter_cache.rb
@@ -1,4 +1,5 @@
module ActiveRecord
+ # = Active Record Counter Cache
module CounterCache
# Resets one or more counter caches to their correct value using an SQL
# count query. This is useful when adding new counter caches, or if the
View
4 activerecord/lib/active_record/dynamic_finder_match.rb
@@ -1,4 +1,8 @@
module ActiveRecord
+ # = Active Record Dynamic Finder Match
+ #
+ # Provides dynamic attribute-based finders such as find_by_country if, for
+ # example, the Person has an attribute with that name.
class DynamicFinderMatch
def self.match(method)
df_match = self.new(method)

0 comments on commit 4ad6103

Please sign in to comment.
Something went wrong with that request. Please try again.