aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/concern.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #20489 - ActiveSupport::Concern#class_methods affects parent classesKristijan Novoselic2015-06-121-1/+1
|
* Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846robertomiranda2015-01-311-1/+1
| | | | ref: https://github.com/rails/rails/pull/18763#issuecomment-72349769
* [ci skip] Reword a comment in concern's documentationGenadi Samokovarov2014-09-191-1/+1
| | | | | Nothing biggie. Skimmed through `ActiveSupport::Concern` docs these days and this one comment seemed a bit off.
* Introduce Concern#class_methods and Kernel#concernJeremy Kemper2014-02-231-1/+9
|
* Use symbols instead of stringsBrian Cardarella2013-06-101-6/+6
| | | | | | | | | | ActiveSupport::Concern is used all over Rails This PR will only create 3 new objects as keys are never recreated and are not subject to garbage collection. The strings were being uniquely created and garbage collected. I don't have any performance numbers but this should be better than all of the GC.
* Raise when multiple included blocks are definedMike Dillon2013-05-161-0/+8
|
* Fix another AS::Concern example (class_eval is already called by included)maximerety2012-11-151-4/+2
|
* Fix AS::Concern example (current example doesn't work)maximerety2012-11-151-1/+3
|
* Update examples in AS::Concern to use correct scope syntax. [ci skip]José Corcuera2012-09-211-2/+2
|
* update AS docs [ci skip]Francesco Rodriguez2012-09-171-9/+12
|
* add :nodoc: to internal implementations [ci skip]Francesco Rodriguez2012-06-221-3/+2
|
* Remove deprecations from Active Support.José Valim2011-12-201-5/+0
|
* Deprecate InstanceMethods namespace handling in ActiveSupport::Concern.José Valim2011-11-211-10/+5
| | | | This avoids the unnecessary "yo dawg, I heard you like include, so I put a module that includes your module when it is included" approach when building extensions.
* Fix the example in ActiveSupport::Concernzhengjia2010-12-171-1/+1
|
* reviews commit dcc9d38Xavier Noria2010-08-151-32/+22
|
* Documentation just before Concern moduleJosep M. Bach2010-08-151-115/+115
|
* Documented active_support/concern dependency handlingJosep M. Bach2010-08-151-1/+81
|
* Fix ActiveSupport::Callbacks' define_callbacks and ActiveSupport::Concern ↵Tom Stuart2010-08-051-8/+8
| | | | documentation to look like native English
* adding documentation to ActiveSupport::Concern ht:strictly typed for an ↵Neeraj Singh2010-08-041-0/+35
| | | | | | awesome example some minor documentation changes
* Refactor AS concern to avoid hacking the "include" method.Joshua Peek2009-10-131-6/+10
| | | Ruby Magic!
* AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-291-0/+2
|
* AS::Concern includes InstanceMethods module if it existsJoshua Peek2009-05-291-0/+1
|
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-281-0/+22
"included" block DSL into separate modules. But, unify both approaches under AS::Concern.