Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fisting stack trace [#4349 state:resolved] | Aaron Patterson | 2010-04-08 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | LINE on class_eval need + 1, also removed comments [#4281 state:committed] | Santiago Pastorino | 2010-03-27 | 1 | -20/+20 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | fixing inconsistency with cattr_reader and matter_reader [#4172 state:resolved] | Kabari Hendrick | 2010-03-27 | 1 | -5/+9 | |
| | | | Signed-off-by: wycats <wycats@gmail.com> | |||||
* | Merge branch 'master' into docrails | wycats | 2010-03-26 | 3 | -1/+27 | |
|\ | ||||||
| * | Singleton classes returns parent's methods with instance_methods(false) and ↵ | José Valim | 2010-03-19 | 1 | -1/+3 | |
| | | | | | | | | this makes remove_method in Module#delegate fail. Add a test case and fix the bug. | |||||
| * | Remove some 1.9 warnings (resulting in some fixed bugs). Remaining AM ↵ | wycats | 2010-03-17 | 1 | -0/+14 | |
| | | | | | | | | warnings are in dependencies. | |||||
| * | Eliminate warnings for AM on 1.8 | wycats | 2010-03-16 | 2 | -1/+11 | |
| | | ||||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-02-14 | 4 | -55/+34 | |
|\| | | | | | | | | | | | | | | | Conflicts: railties/README railties/guides/source/active_support_core_extensions.textile railties/guides/source/getting_started.textile railties/lib/generators/rails/app/templates/README | |||||
| * | fixes Module#anonymous? for 1.9 | Xavier Noria | 2010-02-11 | 1 | -2/+6 | |
| | | ||||||
| * | moves Class#reachable? to Module#reachable?, bases implementation on ↵ | Xavier Noria | 2010-02-11 | 1 | -0/+10 | |
| | | | | | | | | anonymous? and constantize, and adds test coverage | |||||
| * | defines Module#anonymous? | Xavier Noria | 2010-02-11 | 1 | -0/+20 | |
| | | ||||||
| * | removes Module#as_load_path, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -25/+0 | |
| | | ||||||
| * | removes Module#included_in_classes, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -30/+0 | |
| | | ||||||
* | | removes p calls in rdoc examples | Xavier Noria | 2010-02-06 | 1 | -8/+8 | |
| | | ||||||
* | | reformats an example in the rdoc of delegate | Xavier Noria | 2010-02-06 | 1 | -2/+7 | |
| | | ||||||
* | | removes that beloved typo you only catch in github colored diff | Xavier Noria | 2010-01-21 | 1 | -1/+1 | |
| | | ||||||
* | | rewords rdoc about :allow_nil in Module#delegate | Xavier Noria | 2010-01-21 | 1 | -4/+4 | |
| | | ||||||
* | | a hash has no final key | Xavier Noria | 2010-01-21 | 1 | -2/+2 | |
|/ | ||||||
* | synchronization.rb needs active_support/core_ext/array/extract_options | Xavier Noria | 2010-01-01 | 1 | -0/+1 | |
| | ||||||
* | loading.rb needs active_support/core_ext/string/inflections because it uses ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+2 | |
| | | | | underscore | |||||
* | Allow delegating to nil, because the method might actually exist on it | Bryan Helmkamp | 2009-08-10 | 1 | -4/+9 | |
| | ||||||
* | Friendlier runtime exception if delegatee is nil | Jeremy Kemper | 2009-06-18 | 1 | -3/+9 | |
| | ||||||
* | Delegated methods report the expected file/line in backtraces | Jeremy Kemper | 2009-06-18 | 1 | -2/+3 | |
| | ||||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -25/+0 | |
| | ||||||
* | Add #element and #collection to ModelName | Jeremy Kemper | 2009-06-08 | 1 | -3/+5 | |
| | ||||||
* | Make module dependency DSL opt in | Joshua Peek | 2009-05-07 | 1 | -26/+0 | |
| | ||||||
* | Refactor ActionView::Template | Yehuda Katz + Carl Lerche | 2009-04-27 | 1 | -1/+3 | |
| | | | | | | | | ActionView::Template is now completely independent from template storage, which allows different back ends such as the database. ActionView::Template's only responsibility is to take in the template source (passed in from ActionView::Path), compile it, and render it. | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 4 | -9/+15 | |
| | ||||||
* | Switch last module core extension to class reopen | Jeremy Kemper | 2009-04-22 | 1 | -8/+6 | |
| | ||||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 2 | -2/+28 | |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | |||||
| * | Add depends_on, use, and setup to abstract up ideas about module inheritance. | Yehuda Katz and Carl Lerche | 2009-04-07 | 1 | -0/+26 | |
| | | ||||||
| * | Sync with rails/rails/master, merge two metaprogramming annotation efforts | Michael S. Klishin | 2008-12-28 | 5 | -39/+39 | |
| |\ | ||||||
| * | | Annotated metaprogramming code across ActiveSupport | Michael S. Klishin | 2008-12-28 | 1 | -23/+23 | |
| | | | ||||||
* | | | Dice up ActiveSupport::Deprecation | Jeremy Kemper | 2009-04-17 | 1 | -0/+9 | |
| | | | ||||||
* | | | Convert Module aliasing and introspection extension modules to class reopen | Jeremy Kemper | 2009-03-28 | 2 | -147/+139 | |
| | | | ||||||
* | | | Explicit dependency on Array#extract_options! | Jeremy Kemper | 2009-03-24 | 1 | -24/+28 | |
| |/ |/| | ||||||
* | | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 5 | -39/+39 | |
|/ | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Add :allow_nil option to delegate [#1127 state:resolved] | Sergio Gil | 2008-12-21 | 1 | -1/+27 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Ensure only delegations to methods can have an automatic prefix. [#1235 ↵ | Daniel Schierbeck | 2008-11-21 | 1 | -0/+4 | |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Simplified the implementation of the :prefix option. | Daniel Schierbeck | 2008-10-19 | 1 | -1/+1 | |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#984 state:committed] | |||||
* | Added documentation of the new :prefix option. | Daniel Schierbeck | 2008-10-19 | 1 | -0/+25 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Made the :prefix option on Module#delegate accept a custom prefix. | Daniel Schierbeck | 2008-10-19 | 1 | -1/+1 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Added :prefix option to Module#delegate. | Daniel Schierbeck | 2008-10-19 | 1 | -1/+3 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Ruby 1.9 compat: use method_defined? instead of instance_methods.include? ↵ | Jeremy Kemper | 2008-09-06 | 1 | -3/+6 | |
| | | | | Don't encourage args abuse by flattening. | |||||
* | Database connections are now pooled, one pool per #establish_connection call. | Jeremy Kemper | 2008-09-02 | 3 | -147/+155 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pools start out empty and grow as necessary to a maximum size (default is 5, configure size with key 'pool' in your database configuration). If no connections are available, a thread will wait up to a 'wait_timeout' time (default is 5 seconds). Connections are verified and reset when checked out from the pool (usually upon first access to ActiveRecord::Base.connection), and returned back to the pool after each request. If you would like to use connection pools outside of ActionPack, there is an ActiveRecord::Base.connection_pool method that gives you access to the pool, and you can manually checkout/checkin connections, or supply a block to ActiveRecord::Base.connection_pool.with_connection which takes care of the checkout/checkin for you. [#936 state:resolved] | |||||
| * | Move some core extension methods into a module under the ↵ | Hongli Lai (Phusion) | 2008-08-29 | 3 | -147/+155 | |
| | | | | | | | | | | | | | | | | ActiveSupport::CoreExtensions namespace, instead of extending core classes directly. This is more friendly for API reference generators. [#915 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Add synchronization to connection pool also | Nick | 2008-08-29 | 1 | -2/+2 | |
| | | ||||||
* | | Module#synchronize: Add testcase to ensure that singleton methods can be wrapped | Nick | 2008-08-29 | 1 | -1/+0 | |
| | | ||||||
* | | Add method punctuation handling to #synchronize | Nick | 2008-08-29 | 1 | -3/+5 | |
| | | ||||||
* | | Adds Module#synchronize for easier method-level synchronization. | Nick | 2008-08-29 | 1 | -0/+35 | |
|/ |