aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/railties
Commit message (Collapse)AuthorAgeFilesLines
* Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-061-2/+4
| | | | method_missing.
* Forgot to move that line to railtie on rebasePiotr Sarnacki2010-09-031-1/+1
|
* Include all helpers from non-namespaced enginesPiotr Sarnacki2010-09-031-9/+3
|
* Set only helpers_path on inherited hook in action_controller/railtie.rb and ↵Piotr Sarnacki2010-09-031-4/+2
| | | | use helper(:all) just after that
* Moved ActionMailer and ActionController railties options to inherited hookPiotr Sarnacki2010-09-031-0/+28
| | | | | | | | | | | This change is needed, because we must take namespace into account and if controller's/mailer's class is namespaced, engine's paths should be set instead of application's ones. The nice side effect of this is removing unneeded logic in ActionController::Base.inherited - now the helpers_path should be set correctly even for engine's controllers, so helper(:all) will always include correct helpers.
* Move ActionController::Railties::RoutesHelpers and ↵Piotr Sarnacki2010-09-031-17/+0
| | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers
* Include application's helpers and router helpers by default, but include ↵Piotr Sarnacki2010-09-031-0/+17
| | | | engine's ones for controllers inside isolated namespace
* This is not neededPiotr Sarnacki2010-09-031-26/+0
|
* Add mounted_helpers to routesPiotr Sarnacki2010-09-031-0/+26
| | | | | | | | | | | | | | | | mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post)
* Clean up AM and AC railties.José Valim2010-07-241-14/+0
|
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-241-56/+0
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Consistent routing languageJoshua Peek2010-03-301-3/+3
|
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+2
|
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-1/+1
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-1/+1
|
* Fix 1.9 issueYehuda Katz2010-02-261-1/+1
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-0/+14
|
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-9/+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.
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-1/+1
|
* Lookup the status code and rework the Completed line a bitDavid Heinemeier Hansson2010-02-051-2/+1
|
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-211-1/+5
| | | | anything in the middleware stack.
* Move parameters to the top on logging.José Valim2010-01-191-2/+6
|
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-171-6/+1
|
* Do not send the whole controller in notifications, cherry pick required pieces.José Valim2010-01-151-10/+7
|
* Small tweaks in ActionController subscriber messages format.José Valim2010-01-151-2/+2
|
* Tidy up ActiveRecord and Views runtime information on process action logger.José Valim2010-01-141-1/+2
|
* Test fragment/page cache and send data/file notifications.José Valim2010-01-131-5/+5
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-131-0/+62