Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ensure asset_path defaults to nil for application | José Valim | 2010-12-09 | 1 | -0/+5 | |
| | ||||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -2/+2 | |
| | | | | method_missing. | |||||
* | revises implementation and documentation of csrf_meta_tags, and aliases ↵ | Xavier Noria | 2010-09-11 | 1 | -1/+1 | |
| | | | | csrf_meta_tag to it for backwards compatibilty | |||||
* | Added ability to set asset_path for engines | Piotr Sarnacki | 2010-09-03 | 1 | -0/+15 | |
| | ||||||
* | Move singleton pattern to Railtie and remove Engine::Configurable and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -7/+6 | |
| | | | | Application::Configurable in favor of unified Railtie::Configurable | |||||
* | Removed most of deprecated stuff from Application and Engine | Piotr Sarnacki | 2010-09-03 | 1 | -16/+0 | |
| | ||||||
* | Make sure apps upgrading from 2.3 get defaulted to UTF-8 (ht: parndt) | wycats | 2010-08-15 | 1 | -5/+15 | |
| | ||||||
* | Simplify cookie_store by simply relying on cookies.signed. | José Valim | 2010-05-18 | 1 | -2/+2 | |
| | ||||||
* | Revert "Moved encoding work in progress to a feature branch." | wycats | 2010-05-17 | 1 | -1/+2 | |
| | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517. | |||||
* | Moved encoding work in progress to a feature branch. | Jeremy Kemper | 2010-05-16 | 1 | -2/+1 | |
| | | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c. | |||||
* | Significantly improved internal encoding heuristics and support. | wycats | 2010-05-16 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable | |||||
* | Refactor tests by moving all middleware tests to the same place. | José Valim | 2010-04-26 | 1 | -66/+5 | |
| | ||||||
* | test refactor | Santiago Pastorino | 2010-04-19 | 1 | -2/+8 | |
| | ||||||
* | Added tests for config.action_controller.perform_caching | Chetan Sarva | 2010-04-13 | 1 | -0/+36 | |
| | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵ | José Valim | 2010-04-08 | 1 | -0/+9 | |
| | | | | started in another directory which is not the RAILS_ROOT. | |||||
* | Alleviate the pain in working with utf8 templates by setting a default encoding. | José Valim | 2010-04-07 | 1 | -0/+12 | |
| | ||||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 1 | -0/+16 | |
| | | | | configuration in request.env. This is another step forward removing global configuration. | |||||
* | Make X-Sendfile default to "" so it works correctly in dev mode. | wycats | 2010-03-26 | 1 | -43/+36 | |
| | | | | | 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. | |||||
* | Fix protect_against_forgery | Carlhuda | 2010-03-19 | 1 | -0/+27 | |
| | ||||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 1 | -2/+4 | |
| | | | | 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 | |
| | ||||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 1 | -1/+1 | |
| | | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path. | |||||
* | Makes send_file work again by deferring to Rack::Sendfile. | Carlhuda | 2010-02-23 | 1 | -0/+55 | |
| | | | | | | | | | | * 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. | |||||
* | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 1 | -1/+1 | |
| | ||||||
* | Deprecate AC configuration values which were moved to Rack. | José Valim | 2010-02-01 | 1 | -1/+1 | |
| | ||||||
* | Improve railtie deprecation messages. | José Valim | 2010-01-30 | 1 | -0/+7 | |
| | ||||||
* | Add more tests to some key points in Railties. | José Valim | 2010-01-28 | 1 | -1/+10 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Add config.to_prepare back and add tests for it. | José Valim | 2010-01-28 | 1 | -0/+23 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Refactor railties test, break huge files in smaller chunks and move ↵ | José Valim | 2010-01-26 | 1 | -16/+7 | |
| | | | | initializers to application folder. | |||||
* | Ensure calling a method in Rails::Application does not instantiate a void ↵ | José Valim | 2010-01-26 | 1 | -0/+7 | |
| | | | | application. | |||||
* | Got tests working once again. | José Valim | 2010-01-22 | 1 | -2/+2 | |
| | ||||||
* | Add view paths to Engine setup. | José Valim | 2010-01-22 | 1 | -2/+2 | |
| | ||||||
* | Make filter parameters based on request, so they can be modified for ↵ | José Valim | 2010-01-21 | 1 | -2/+2 | |
| | | | | anything in the middleware stack. | |||||
* | Add deprecation warning for calling filter_parameter_logging ↵ | Prem Sichanugrist | 2010-01-21 | 1 | -0/+12 | |
| | | | | | | ActionController::Base, and allow it to be configured in config.filter_parameters Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | AppName::Application.root should work | Yehuda Katz | 2010-01-02 | 1 | -0/+5 | |
| | ||||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+1 | |
| | | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin | |||||
* | Raise a helpful error if config.frameworks is used | Carl Lerche | 2009-12-31 | 1 | -0/+16 | |
| | ||||||
* | Fully remove config.frameworks in favor of requires in boot.rb | Carl Lerche | 2009-12-31 | 1 | -1/+2 | |
| | ||||||
* | Use the correct method for eager loading autoloads | Carl Lerche | 2009-12-29 | 1 | -0/+16 | |
| | ||||||
* | Merge remote branch 'origin/master' | Carlhuda | 2009-12-23 | 1 | -1/+1 | |
|\ | | | | | | | | | Conflicts: railties/lib/rails/application.rb | |||||
| * | Fix reference to Application#configuration to use #config | Jeremy Kemper | 2009-12-23 | 1 | -1/+1 | |
| | | ||||||
* | | Require active_support/all unless specifically requested to be left out. | Carlhuda | 2009-12-23 | 1 | -0/+6 | |
| | | ||||||
* | | tests pass with requiring the frameworks in rails.rb | Carlhuda | 2009-12-23 | 1 | -19/+22 | |
|/ | ||||||
* | Blog -> Blog::Application. Leave the toplevel module up for grabs. | Jeremy Kemper | 2009-12-21 | 1 | -1/+1 | |
| | ||||||
* | Add the ability for plugins to set default configuration settings. | Carl Lerche | 2009-12-15 | 1 | -0/+21 | |
| | ||||||
* | Remove assert_raises usage that only test-unit 1 supports. Breaks minitest ↵ | Jeremy Kemper | 2009-12-06 | 1 | -2/+2 | |
| | | | | and test-unit 2. | |||||
* | Add support for bare ActiveSupport via config.active_support.bare | Carlhuda | 2009-12-02 | 1 | -0/+9 | |
| | ||||||
* | Remove config.gem in favor of using the bundler. This makes config/boot.rb ↵ | Carl Lerche | 2009-10-16 | 1 | -1/+0 | |
| | | | | | | obsolete. The bundler library is at: http://github.com/wycats/bundler/ and is a rubygem. | |||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -4/+4 | |
| | | | | application's object root) | |||||
* | Have Rails.root be based off of config.ru | Carl Lerche | 2009-10-14 | 1 | -2/+34 | |
| |