aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Have log subscribers subscribe to the actual events, so the subscriber ↵Carlhuda2010-03-023-21/+27
| | | | doesn't subscribe to *every* event, so we can have events that are slow-ish but are not actually run in production.
* Moved initializers for ActionMailer and ActionController into their own railtiesCarlhuda2010-03-021-14/+2
|
* Leverage VERSION constants from gemspecs to avoid tedious updates when releasingBryan Helmkamp2010-03-021-1/+1
|
* Update versions of all components to normalize them to new formatBryan Helmkamp2010-03-021-2/+3
|
* Fix unstated usage of Action DispatchJeremy Kemper2010-03-011-16/+21
|
* Fix unstated usage of PathnameJeremy Kemper2010-03-011-1/+2
|
* Fix unstated usage of inflectorJeremy Kemper2010-03-011-2/+6
|
* Remove implicit controller namespacing from new dslJoshua Peek2010-02-281-1/+2
|
* #exit accepts an integer, not a stringJoao Carlos2010-02-281-1/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Explain why we're calling an empty callbackYehuda Katz2010-02-271-0/+1
|
* 1.9 doesn't like lambda {} being called with argumentsYehuda Katz2010-02-271-1/+1
|
* Revert "Revert "Application detection should also allow dots in the path.""Jeremy Kemper2010-02-271-1/+1
| | | | | | Works after all. Culprit was 226dfc2. This reverts commit 6189480b1878cdadb092fdfa32ba156a91e6a0e1.
* Revert "Application detection should also allow dots in the path."Jeremy Kemper2010-02-271-1/+1
| | | | | | Ruby 1.9 regression. This reverts commit 76237f163ff7ad2a64af926030e3449c547cafa2.
* plugin rails/init.rb deprecation messageJeremy Kemper2010-02-262-15/+17
|
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-1/+1
|
* reload! on console now works as expected. [#3822 status:resolved]José Valim2010-02-261-1/+1
|
* #add_source: Fixed docco + added required newline to line added to GemfileDr Nic Williams2010-02-261-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add autoload to generators modules and fix failing test.José Valim2010-02-261-1/+7
|
* Get URL helpers working again in integration tests.Carlhuda2010-02-251-0/+4
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-0/+6
|
* Get Railties tests passingCarlhuda2010-02-251-1/+1
|
* Application detection should also allow dots in the path.José Valim2010-02-261-1/+1
|
* Remove doubled periodJeremy Kemper2010-02-251-1/+1
|
* Update plugin tasks dirs deprecation warningJeremy Kemper2010-02-251-2/+2
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* Remove references to ActionDispatch::Routing::Routes in favor of ↵Carl Lerche2010-02-241-2/+2
| | | | Rails.appication.routes.
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-0/+1
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-212-3/+3
|
* TypoMartin Schürrer2010-02-211-1/+1
|
* Also check if application is a valid constant in rake rails:update.José Valim2010-02-211-5/+11
|
* Rename engines_load_path to railties_load_path.José Valim2010-02-201-1/+1
|
* Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵José Valim2010-02-191-7/+4
| | | | after_initializer is executed after to_prepare callbacks.
* Ensure config.after_initializer is executed before building the middleware ↵José Valim2010-02-182-4/+7
| | | | stack.
* Fix called_from under Windows so engines works properlyAaron2010-02-181-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add readme as method in Rails::Generators::Actions (as we had in 2.3)José Valim2010-02-171-0/+10
|
* Show deprecation message for rails/init.rb in plugins.José Valim2010-02-171-2/+8
|
* Subscriber should not explode if a non namespaced instrumentation is given.José Valim2010-02-161-1/+2
|
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-165-43/+43
|
* require Strings, not SymbolsYehuda Katz2010-02-141-1/+1
|