aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* Rails 3 application can run performance tests now. [#4171 state:resolved]Rizwan Reza2010-03-281-1/+1
|
* Fixes typo in environments/production.rb template.watsonian2010-03-271-1/+1
|
* Do not check for a valid const name in Rails 3.0 applications. [#4200 ↵José Valim2010-03-271-1/+2
| | | | state:resolved]
* Make X-Sendfile default to "" so it works correctly in dev mode.wycats2010-03-261-0/+9
| | | | | Provide a default in production.rb that can be modified, so that people who care about sendfile performance in production mode can get better performance easily.
* Merge branch 'master' into docrailswycats2010-03-26156-121/+11102
|\
| * Just assert for 'Hi' in generated mailer tests.José Valim2010-03-261-1/+1
| |
| * Move application configuration to the application configuration object, ↵José Valim2010-03-266-94/+70
| | | | | | | | remove railtie_name and engine_name and allow to set the configuration object.
| * Revert "find railties and engines by name [4264 state:resolved]"José Valim2010-03-261-4/+0
| | | | | | | | This reverts commit 7b8399b80cfff58cfe2313187ca3c803de8c8955.
| * Make script/dbconsole work with oracle (sqlplus ↵Edgars Beigarts2010-03-261-0/+12
| | | | | | | | | | | | <username>[/<password>][@<connect_identifier>]) [#3773 state:resolved]
| * Improve heuristic for railties default name, otherwise railties may be named ↵José Valim2010-03-262-8/+11
| | | | | | | | :railtie, :engine and so on.
| * find railties and engines by name [4264 state:resolved]Josh Susser2010-03-261-0/+4
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * init.rb in plugins is here to staywycats2010-03-233-31/+22
| |
| * Ensure lib/rails/initializers/*.rb also works for gems.José Valim2010-03-233-30/+32
| |
| * Load plugin initializers from lib/rails/initializers/*.rbJoshua Peek2010-03-231-6/+13
| |
| * Explicitly require files before monkey patching them.José Valim2010-03-231-1/+5
| |
| * rake tasks should use the new app generator path [#4257 state:resolved]Sebastian Martinez2010-03-231-2/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * bin/rails should use the new app generator path.José Valim2010-03-231-1/+1
| |
| * Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-23138-3/+10814
| | | | | | | | former since it's less obstrusive.
| * No -rubygems neededwycats2010-03-221-1/+1
| |
| * Provide a better error if thor is missingwycats2010-03-221-1/+9
| |
| * Autoload Rails::InfoJoshua Peek2010-03-203-5/+0
| |
| * Require info controller from info routesJoshua Peek2010-03-202-0/+4
| |
| * Move railties/builtin into libJoshua Peek2010-03-209-13/+176
| |
| * Use human_name in scaffold.José Valim2010-03-171-0/+4
| |
| * Deprecated framework rake tasks should exit with non-zero exit code [#4177 ↵Chris Griego2010-03-161-3/+3
| | | | | | | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-152-3/+9
|\|
| * Prettify generators description whenever using the default stack [#4143 ↵José Valim2010-03-121-0/+4
| | | | | | | | status:resolved]
| * Load the environment before executing rails console. [#3905 status:resolved]José Valim2010-03-121-1/+1
| |
| * Revert "Always load the environment before executing any command. [#3905 ↵José Valim2010-03-121-4/+6
| | | | | | | | | | | | status:resolved]" This reverts commit 16846553b8866eab2aa3b128a2a23a221a25f7e3.
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-1225-244/+336
|\| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * Always load the environment before executing any command. [#3905 ↵José Valim2010-03-121-6/+4
| | | | | | | | status:resolved]
| * Revert "Rake task for generating Rails documentation updated to support ↵Jeremy Kemper2010-03-111-33/+41
| | | | | | | | | | | | | | | | Bundler." Incredibly slow. Fix gem_path to not load the bundle fresh each call. This reverts commit 58796dcfc0d74fa3def752fa8b779f725f0747f0.
| * Rake task for generating Rails documentation updated to support Bundler.Rizwan Reza2010-03-111-41/+33
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Move middlewares to the Application level. If you want to modify the ↵Carlhuda2010-03-082-4/+4
| | | | | | | | middleware, either use Rails.application.config.middleware or modify it in an initializer (if you need to set it relative to user-specified middleware).
| * Aliasing class_eval makes JRuby ornery.wycats2010-03-071-1/+4
| |
| * If RAILS_PATH isn't set, make a dummy doc taskJeremy Kemper2010-03-071-32/+40
| |
| * rake doc:rails complains loudly if there's no path to generate docs fromJeremy Kemper2010-03-071-1/+3
| |
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-073-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Add mailers to paths in case someone wants to access it directly and ensures ↵José Valim2010-03-062-3/+4
| | | | | | | | deep nesting works in controllers.
| * Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-042-2/+33
| | | | | | | | 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.
| * Move session and session_store onto ActionDispatch and add deprecation warningsCarlhuda2010-03-041-2/+2
| |
| * No need for a module if it's only being included once into an empty class.Carl Lerche2010-03-042-95/+91
| |
| * Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-031-1/+1
| |
| * Start refactoring the method of configuring ActionViewCarlhuda2010-03-031-0/+3
| |
| * Add caller to request_uri deprecation noticeCarlhuda2010-03-031-1/+1
| |
| * Move remote_ip to a middleware:Carlhuda2010-03-032-2/+4
| | | | | | | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies
| * Don't rely on Rails.application global state in ConfigCarlhuda2010-03-033-11/+11
| |
| * Better with #abortJoao Carlos2010-03-031-4/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Use non-deprecated Rails.application instead of ↵Teng Siong Ong2010-03-021-2/+2
| | | | | | | | | | | | | | | | ActionController::Dispatcher.new and ActionDispatch::Integration instead of ActionController::Integration for console. [#4072 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Get the railties tests to pass again.Carlhuda2010-03-021-2/+2
| |