Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ruby 1.9.2: work around changes to flatten and nil.to_str | Jeremy Kemper | 2009-11-08 | 1 | -1/+1 |
| | |||||
* | Simplify helper use of ActiveSupport::Dependencies, and use super better for ↵ | Yehuda Katz + Carl Lerche | 2009-06-10 | 1 | -5/+10 |
| | | | | in #helpers | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -3/+5 |
| | |||||
* | Opt in to Dependencies | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | Explicit dependency on Module extensions | Jeremy Kemper | 2009-03-28 | 1 | -0/+3 |
| | |||||
* | Hack in env variable setting for Dependencies.mechanism | Jeremy Kemper | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | Narrow dependencies | Jeremy Kemper | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | Explicit NameError dependency | Jeremy Kemper | 2009-03-26 | 1 | -0/+1 |
| | |||||
* | Explicit dependency on Inflector and Object#blank? | Jeremy Kemper | 2009-03-24 | 1 | -4/+6 |
| | |||||
* | Explicitly require set | Jeremy Kemper | 2009-03-21 | 1 | -0/+2 |
| | |||||
* | Ensure constant_watch_stack is protected by a mutex, so concurrent requires ↵ | Charles Nutter | 2009-01-30 | 1 | -5/+14 |
| | | | | | | | | do not corrupt it. [#1816 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Properly parenthasize calls to defined?(Rails) in 75fa82418 [#1563 ↵ | Frederick Cheung | 2008-12-15 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Prefer Rails.logger over RAILS_DEFAULT_LOGGER | Joshua Peek | 2008-12-10 | 1 | -3/+3 |
| | |||||
* | alternative resolution to vendor load problem | Matt Jones | 2008-11-20 | 1 | -21/+22 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | add vendor/ back to load paths; catch errors in constant loading | Matt Jones | 2008-11-18 | 1 | -15/+19 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵ | David Heinemeier Hansson | 2008-11-17 | 1 | -5/+1 |
| | | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH] | ||||
* | Only track new constant definitions when we're reloading dependencies | Jeremy Kemper | 2008-11-10 | 1 | -2/+10 |
| | |||||
* | Consistently use the framework's configured logger and avoid reverting to ↵ | Joshua Peek | 2008-08-18 | 1 | -3/+7 |
| | | | | RAILS_DEFAULT_LOGGER unless necessary. | ||||
* | Added config.dependency_loading to enable or disable the dependency loader ↵ | Joshua Peek | 2008-07-24 | 1 | -19/+59 |
| | | | | after initialization | ||||
* | Refactor ActiveSupport::Dependencies injector so it would be possible to ↵ | Joshua Peek | 2008-07-19 | 1 | -104/+114 |
| | | | | disable it | ||||
* | Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved] | Cheah Chu Yeow | 2008-07-09 | 1 | -2/+2 |
| | |||||
* | Fix typo in apparently-dead will_unload? method. | Jeremy Kemper | 2008-06-27 | 1 | -1/+1 |
| | |||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -392/+393 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | Fixed Dependencies so load errors are not masked behind a 'Expected x.rb to ↵ | Tom Ward | 2008-05-31 | 1 | -9/+10 |
| | | | | | | define X' message when mechanism is not set to :load [#87 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix Dependencies watch_frames collection. [#24 state:resolved] | Tom Ward | 2008-05-20 | 1 | -1/+1 |
| | | | | | | | | | | Previously, the code collecting watch_frames could fail leaving watch_frames defined but nil. The cleanup code checks watch_frames is defined, but not that it holds a value, raising an undefined method on NilClass error rather than the original cause. This can make debugging the underlying cause a total pain. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9 compat: compatibility wrapper for new Module#const_defined? behavior | Jeremy Kemper | 2008-05-01 | 1 | -5/+16 |
| | |||||
* | Cheaper Dependencies#log_call to resolve irritating error message w/ rake ↵ | David Heinemeier Hansson | 2008-04-30 | 1 | -4/+6 |
| | | | | db:create (Sven) [#56 state:resolved] | ||||
* | Don't need to explicitly pass the same params to super. Remove trailing ↵ | Jeremy Kemper | 2008-03-30 | 1 | -62/+60 |
| | | | | | | whitespace. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: dependencies uses Module#local_constant_names. References ↵ | Jeremy Kemper | 2007-12-22 | 1 | -3/+3 |
| | | | | | | #1689 [Frederick Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert const_missing bypass in favor of Duration constant lookup tweak | Jeremy Kemper | 2007-12-15 | 1 | -5/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Bypass const_missing lookup for toplevel constants. Optimizes for Ruby 1.9 ↵ | Jeremy Kemper | 2007-12-15 | 1 | -7/+12 |
| | | | | | | const_defined. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat, consistent load paths | Jeremy Kemper | 2007-10-02 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Dependencies Ruby 1.9 compat | Jeremy Kemper | 2007-09-27 | 1 | -11/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixes rake annotations to search erb and builder files as well (closes ↵ | David Heinemeier Hansson | 2007-09-22 | 1 | -1/+1 |
| | | | | | | #9150) [m.langenberg] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -6/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON ↵ | Sam Stephenson | 2007-03-18 | 1 | -3/+3 |
| | | | | | | decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update Dependencies to ignore constants inherited from ancestors. Closes #6951. | Nicholas Seckar | 2007-03-14 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove noisy nodoc for Ruby 1.8.4 | David Heinemeier Hansson | 2007-01-28 | 1 | -1/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Nodoc the irrelevant (from 1.2) | David Heinemeier Hansson | 2007-01-26 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Check for nil name also. Closes #6561. | Jeremy Kemper | 2006-12-31 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix Dependencies.autoloaded? to ignore anonymous modules. Closes #6561. | Nicholas Seckar | 2006-12-31 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update load once paths to prevent nested once constants from being detected ↵ | Nicholas Seckar | 2006-12-24 | 1 | -2/+6 |
| | | | | | | and claimed by an external non-once load. References #6720 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix remove_constant to correctly handle constant names of the form ↵ | Nicholas Seckar | 2006-12-09 | 1 | -1/+2 |
| | | | | | | "::A::...". References #6720. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update dependencies to delete partially loaded constants. | Nicholas Seckar | 2006-11-07 | 1 | -19/+34 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update dependencies to allow constants to be defined alongside their siblings. | Nicholas Seckar | 2006-11-01 | 1 | -5/+79 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add 'unloadable', a method used to mark any constant as requiring an unload ↵ | Nicholas Seckar | 2006-10-15 | 1 | -17/+71 |
| | | | | | | after each request. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Undo accidental commit | Nicholas Seckar | 2006-10-14 | 1 | -42/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5303 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Rename overlapping test names | Nicholas Seckar | 2006-10-14 | 1 | -16/+42 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5302 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix loadable_constants_for_path to handle load paths that do not end with a ↵ | Nicholas Seckar | 2006-09-06 | 1 | -8/+7 |
| | | | | | | slash. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix logic error in determining what was loaded by a given file. Closes #6039. | Nicholas Seckar | 2006-09-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |