1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/guides
José Valim a5dda97602 Define a convention for descendants and subclasses.
The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children.

By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
2010-07-05 13:01:27 +02:00
..
assets remove executable permission from files that don't need it. [#4802 state:resolved] 2010-06-20 00:50:48 +02:00
rails_guides guides: adds support in the indexer for custom header IDs, and some refactors 2010-04-06 15:20:44 -07:00
source Define a convention for descendants and subclasses. 2010-07-05 13:01:27 +02:00
rails_guides.rb guides generation: undoes output buffer workaround, more refactors 2010-03-15 22:06:27 +01:00
w3c_validator.rb Ignore file guides/output/layout.html on W3C validations 2010-06-21 12:39:27 +02:00