Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Define a convention for descendants and subclasses. | José Valim | 2010-07-05 | 1 | -6/+0 | |
| | | | | | | 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. | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -0/+2 | |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | |||||
* | Add an asset_host accessor for consistency. | José Valim | 2010-06-02 | 1 | -2/+1 | |
| | ||||||
* | Extract assets paths and make them available to Action Mailer as well | David Heinemeier Hansson | 2010-06-02 | 1 | -1/+2 | |
| | ||||||
* | add HTTP Token Authorization support to complement Basic and Digest ↵ | rick | 2010-04-30 | 1 | -0/+1 | |
| | | | | Authorization. | |||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 1 | -1/+4 | |
| | | | | delegates to the config object, reducing the number of deprecations and add specific tests. | |||||
* | Move verification to a plugin as well: http://github.com/rails/verification.git | José Valim | 2010-04-10 | 1 | -1/+0 | |
| | ||||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 1 | -1/+1 | |
| | | | | configuration in request.env. This is another step forward removing global configuration. | |||||
* | Make it easier to subclass AC::Metal with most, but not all, of the modules ↵ | wycats | 2010-04-04 | 1 | -43/+45 | |
| | | | | in AC::Base | |||||
* | Whitespace | wycats | 2010-04-04 | 1 | -1/+1 | |
| | ||||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 1 | -2/+1 | |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | |||||
* | Move application configuration to the application configuration object, ↵ | José Valim | 2010-03-26 | 1 | -0/+1 | |
| | | | | remove railtie_name and engine_name and allow to set the configuration object. | |||||
* | Ensure controller filters are executed before stuff starts to happen. | José Valim | 2010-03-13 | 1 | -2/+6 | |
| | ||||||
* | Reinstate dom_id in controllers. | Justin Ko | 2010-03-09 | 1 | -0/+1 | |
| | | | | | | | [#3040 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -0/+2 | |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | |||||
* | Move stuff from compatibility.rb to deprecated.rb | Carlhuda | 2010-03-04 | 1 | -0/+2 | |
| | ||||||
* | Remove a failed attempt at refactoring AC configuration | Carlhuda | 2010-03-03 | 1 | -1/+0 | |
| | ||||||
* | Actually move ImplicitRender into it's own file | Carl Lerche | 2010-03-03 | 1 | -23/+0 | |
| | ||||||
* | Change AV formats so they can delegate to the controller. Now users (or ↵ | Carlhuda | 2010-03-01 | 1 | -1/+1 | |
| | | | | plugins) can override details_for_render in their controllers and add appropriate additional details. Now if only they could *do* something with those details... | |||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 1 | -8/+1 | |
| | ||||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 1 | -1/+1 | |
| | ||||||
* | Update AP to start locking down a public API. This work is parallel to some ↵ | Yehuda Katz | 2010-02-16 | 1 | -1/+1 | |
| | | | | docs I'm working on. | |||||
* | ActionMailer should depend just on AbstractController. | José Valim | 2010-01-29 | 1 | -0/+8 | |
| | ||||||
* | Ensure helpers work from configured path. | José Valim | 2010-01-24 | 1 | -1/+1 | |
| | ||||||
* | Ensure strings given to render with slash are rendered relative to the ↵ | José Valim | 2010-01-22 | 1 | -23/+0 | |
| | | | | configured _prefix. | |||||
* | Make filter parameters based on request, so they can be modified for ↵ | José Valim | 2010-01-21 | 1 | -1/+5 | |
| | | | | anything in the middleware stack. | |||||
* | Tidy up new filter_parameters implementation. | José Valim | 2010-01-21 | 1 | -1/+5 | |
| | ||||||
* | Move ActionController::Translation to AbstractController::Translation. | José Valim | 2010-01-20 | 1 | -1/+1 | |
| | ||||||
* | Bring normalize behavior to AbstractController::Rendering | José Valim | 2010-01-20 | 1 | -21/+8 | |
| | ||||||
* | Move parameters to the top on logging. | José Valim | 2010-01-19 | 1 | -1/+1 | |
| | ||||||
* | Do not send the whole controller in notifications, cherry pick required pieces. | José Valim | 2010-01-15 | 1 | -1/+1 | |
| | ||||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 1 | -1/+4 | |
| | ||||||
* | Added that ActionController::Base now does helper :all instead of relying on ↵ | David Heinemeier Hansson | 2010-01-03 | 1 | -0/+2 | |
| | | | | the default ApplicationController in Rails to do it [DHH] | |||||
* | ActionController::Logger should include AbstractController::Logger and sort ↵ | José Valim | 2009-12-31 | 1 | -1/+0 | |
| | | | | autoloads for easier readability. | |||||
* | controller_path is required by ActionView, so move it up to ↵ | José Valim | 2009-12-31 | 1 | -1/+1 | |
| | | | | AbstractController and refactor AbstractController::Layouts. | |||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 1 | -1/+0 | |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | |||||
* | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 1 | -1/+1 | |
| | ||||||
* | Make ActionMailer::Base inherit from AbstractController::Base | José Valim | 2009-12-22 | 1 | -0/+1 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | |||||
* | AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵ | Yehuda Katz | 2009-12-20 | 1 | -1/+1 | |
| | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency) | |||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2009-12-20 | 1 | -2/+1 | |
|\ | ||||||
| * | Rename RackConvenience => RackDelegation | Joshua Peek | 2009-12-20 | 1 | -1/+1 | |
| | | ||||||
| * | Merge Session stuff into RackConvenience | Joshua Peek | 2009-12-20 | 1 | -1/+0 | |
| | | ||||||
* | | Rename RenderOptions to Renderers | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 | |
|/ | ||||||
* | Renamed Redirector to Redirecting (its a module, not a class) | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 | |
| | ||||||
* | Rename the RenderingController module to just plain Rendering | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 | |
| | ||||||
* | Added alert/notice from 2-3-stable and refactored redirect_to into just ↵ | David Heinemeier Hansson | 2009-12-17 | 1 | -66/+0 | |
| | | | | living in Redirector [DHH] | |||||
* | Reduce usage of interpret_status. It should also return a integer | Joshua Peek | 2009-12-10 | 1 | -4/+12 | |
| | | | | not a string. | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | |||||
* | Base setup for config object in AC. | Yehuda Katz | 2009-10-26 | 1 | -0/+1 | |
| | ||||||
* | Resurrect AC::Benchmarking [#3140 state:resolved] | Joshua Peek | 2009-09-24 | 1 | -0/+1 | |
| |