Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mounted helpers should be included in ActionMailer | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 | |
| | ||||||
* | Revert "Just add connection management middleware if running in a concurrent ↵ | Jeremy Kemper | 2010-08-20 | 1 | -11/+1 | |
| | | | | | | environment." This reverts commit 6b29dc876fe185881d46731c3ae170478a3828fe. | |||||
* | Fix a failing test in Railtie and properly define all severity levels in ↵ | José Valim | 2010-07-20 | 1 | -14/+5 | |
| | | | | MockLogger for LogSubscriber. | |||||
* | Just add connection management middleware if running in a concurrent ↵ | José Valim | 2010-07-12 | 1 | -1/+11 | |
| | | | | environment. | |||||
* | Add a test to ensure url helpers are not action methods in ActionMailer. | José Valim | 2010-07-07 | 1 | -0/+19 | |
| | ||||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 2 | -2/+2 | |
| | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally. | |||||
* | adding missing assertion and fixing the test | Neeraj Singh | 2010-06-24 | 1 | -2/+4 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | fixing test by replacing assert with assert_equal | Neeraj Singh | 2010-06-24 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Array#sample now exists, so test for #forty_two instead | Jeremy Kemper | 2010-06-24 | 1 | -1/+1 | |
| | ||||||
* | Revert "files in the lib directory are no longer autoloaded" | Xavier Noria | 2010-06-21 | 1 | -3/+1 | |
| | | | | | | | This patch is not consistent since it leaves similar directories in load_paths, needs more thought. This reverts commit b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f. | |||||
* | files in the lib directory are no longer autoloaded | Xavier Noria | 2010-06-21 | 1 | -1/+3 | |
| | | | | | | | | | | | Conceptually, the lib directory is closer 3rd party libraries than to the application itself. Thus, Rails adds it to Ruby's load path ($LOAD_PATH, $:) but it is no longer included in dependencies' load paths. To enable autoloading back put this in your config/application.rb config.load_paths += %W( #{config.root}/lib ) | |||||
* | I18n.reload! is only called if any of the locale files actually changed. | José Valim | 2010-06-20 | 1 | -19/+114 | |
| | ||||||
* | Clear DescendantsTracker on each request. | José Valim | 2010-06-19 | 1 | -1/+1 | |
| | ||||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 1 | -1/+1 | |
| | | | | not "ActiveRecord" | |||||
* | abort generation/booting on Ruby 1.9.1 | Xavier Noria | 2010-06-10 | 1 | -1/+3 | |
| | ||||||
* | removes Array#random_element and backports Array#sample from Ruby 1.9, ↵ | Xavier Noria | 2010-06-05 | 1 | -2/+2 | |
| | | | | thanks to Marc-Andre Lafortune | |||||
* | Add lib to load paths when application is inherited to be able to load lib ↵ | José Valim | 2010-06-02 | 1 | -0/+17 | |
| | | | | code during configuration. | |||||
* | Renames Array#rand -> Array#random_element | Rizwan Reza | 2010-05-17 | 1 | -2/+2 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Fixed two failing tests in railties on 1.9.2-head [#4609 state:commited] | rohit | 2010-05-16 | 1 | -2/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Expose remaining hooks to minimize the need for a Railtie based on feedback ↵ | José Valim | 2010-05-16 | 1 | -5/+23 | |
| | | | | from plugin developers. | |||||
* | Reorganized initializers a bit to enable better hooks for common cases ↵ | wycats | 2010-05-15 | 1 | -13/+0 | |
| | | | | | | | | | | | | | | | without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie. | |||||
* | Change event namespace ordering to most-significant first [#4504 state:resolved] | Justin George | 2010-05-02 | 1 | -1/+1 | |
| | | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 1 | -2/+2 | |
| | | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings. | |||||
* | Fix Sam Ruby's tests and deprecation warnings | Carlhuda | 2010-03-04 | 1 | -2/+2 | |
| | ||||||
* | Fix a test that assumes that defined?(ActiveRecord) == ↵ | Carlhuda | 2010-03-02 | 1 | -1/+1 | |
| | | | | defined?(ActiveRecord::Base) | |||||
* | Add a test for default_url_options in AM. | José Valim | 2010-02-21 | 1 | -0/+11 | |
| | ||||||
* | Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵ | José Valim | 2010-02-19 | 1 | -3/+15 | |
| | | | | after_initializer is executed after to_prepare callbacks. | |||||
* | Ensure config.after_initializer is executed before building the middleware ↵ | José Valim | 2010-02-18 | 1 | -0/+14 | |
| | | | | stack. | |||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -1/+1 | |
| | ||||||
* | Add more tests to some key points in Railties. | José Valim | 2010-01-28 | 2 | -2/+20 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Refactor railties test, break huge files in smaller chunks and move ↵ | José Valim | 2010-01-26 | 7 | -0/+349 | |
initializers to application folder. |