Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use . instead of :: for class methods, add CHANGELOG entries | José Valim | 2012-06-10 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #6665 from schneems/schneems/raise-migration-error | José Valim | 2012-06-10 | 1 | -0/+15 | |
|\ | | | | | Notify A User they Have Pending Migrations | |||||
| * | test errors for pending migrations | schneems | 2012-06-09 | 1 | -0/+15 | |
| | | | | | | App should raise error on page_load | |||||
* | | Fix tests, active_authorizer shouldn't include blank values | Piotr Sarnacki | 2012-06-09 | 1 | -1/+1 | |
|/ | | | | Fix for a test failing after: 00ff0a6776 | |||||
* | More assert_match warnings fixed. | Arun Agrawal | 2012-05-30 | 1 | -3/+3 | |
| | ||||||
* | add a factory method for queue construction so that apps can have multiple ↵ | Aaron Patterson | 2012-04-27 | 1 | -0/+8 | |
| | | | | queues | |||||
* | configure how unverified request will be handled | Sergey Nartimov | 2012-03-09 | 1 | -4/+14 | |
| | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception | |||||
* | put and patch both are allowed for update | Arun Agrawal | 2012-02-25 | 1 | -1/+7 | |
| | ||||||
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -4/+0 | |
| | | | | the update action of resources | |||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -2/+45 | |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | |||||
* | fix a small typo [ci skip] | Vijay Dev | 2012-01-27 | 1 | -1/+1 | |
| | ||||||
* | Remove redundant instance_variables (@colorize_logging) | kennyj | 2012-01-27 | 1 | -0/+5 | |
| | ||||||
* | Remove deprecated default_charset= from AC::Base | Carlos Antonio da Silva | 2012-01-17 | 1 | -0/+8 | |
| | | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead | |||||
* | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 1 | -1/+1 | |
| | ||||||
* | remove Rails application fallback from AD::IntegrationTest | Sergey Nartimov | 2011-12-23 | 1 | -0/+5 | |
| | | | | set AD::IntegrationTest.app in railtie initializer | |||||
* | just require things once | Aaron Patterson | 2011-12-21 | 1 | -4/+2 | |
| | ||||||
* | append puts the routes after the default, which causes a 404. instead use ↵ | Aaron Patterson | 2011-12-21 | 1 | -1/+1 | |
| | | | | prepend | |||||
* | Get rid of more 1.8.x dead code | José Valim | 2011-12-20 | 1 | -6/+2 | |
| | ||||||
* | put backtrace_cleaner to env | lest | 2011-11-28 | 1 | -4/+5 | |
| | ||||||
* | middlewares should use logger from env | lest | 2011-11-25 | 1 | -0/+1 | |
| | ||||||
* | Fix railtie configuration test calling PostsController#create which didn't exist | Denis Odorcic | 2011-10-27 | 1 | -1/+1 | |
| | ||||||
* | possibly useless use of :: in void context Warning removed | Arun Agrawal | 2011-09-30 | 1 | -4/+4 | |
| | ||||||
* | Rails.application#env_config is now public API. [Closes #1924] | Franck Verrot | 2011-07-11 | 1 | -0/+9 | |
| | ||||||
* | Make Rails.groups accept arrays. | José Valim | 2011-07-10 | 1 | -1/+1 | |
| | ||||||
* | Add Rails.groups to encapsulate available groups for require. | José Valim | 2011-06-21 | 1 | -0/+15 | |
| | ||||||
* | Fix double definition of #teardown. Thanks @mike-burns :+1: | Jon Leighton | 2011-06-06 | 1 | -3/+0 | |
| | ||||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -0/+4 | |
| | ||||||
* | Fixes failing test, closes #1098. | José Valim | 2011-05-17 | 1 | -1/+1 | |
| | ||||||
* | Test csrf token param name customization | David Lee | 2011-05-10 | 1 | -2/+15 | |
| | ||||||
* | Ensure params wrapper settings are not inherited and calculated each time. | José Valim | 2011-05-06 | 1 | -3/+27 | |
| | ||||||
* | Allow ignore_accept_header through configuration option. | José Valim | 2011-05-02 | 1 | -0/+21 | |
| | ||||||
* | Add `ActionController::ParamsWrapper` to wrap parameters into a nested hash | Prem Sichanugrist | 2011-05-03 | 1 | -0/+10 | |
| | | | This will allow us to do a rootless JSON/XML request to server. | |||||
* | added config.active_record.whitelist_attributes which creates an empty ↵ | Josh Kalderimis | 2011-04-24 | 1 | -0/+12 | |
| | | | | whitelist of attributes available for mass assignment for all models in your app | |||||
* | added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵ | Josh Kalderimis | 2011-04-05 | 1 | -0/+22 | |
| | | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | remove AM delegating register_observer and register_interceptor to Mail and ↵ | Josh Kalderimis | 2011-04-04 | 1 | -0/+65 | |
| | | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Make sure that we set `env["action_dispatch.show_exceptions"]` | Prem Sichanugrist | 2011-02-25 | 1 | -0/+15 | |
| | | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash. | |||||
* | Bring back config.action_view.cache_template_loading [#5847 state:resolved] | Piotr Sarnacki | 2010-12-16 | 1 | -0/+38 | |
| | ||||||
* | 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 | |
| |