aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #5162 from kennyj/schema_cache_dumpAaron Patterson2012-03-072-0/+45
|\ \ \ | |/ / |/| | [Proposal] Schema cache dump
| * | Support judgement expired schema cache dump.kennyj2012-03-011-0/+14
| | |
| * | Load db/schema_cache.dump duaring boot time.kennyj2012-03-011-0/+12
| | |
| * | Add db:schema:cache:dump and db:schema:cache:clear tasks.kennyj2012-03-011-0/+19
| | |
* | | Add config.middleware.api_only!Carlos Antonio da Silva and Santiago Pastorino2012-03-051-0/+30
| | |
* | | Now all the models need to explicitly declare the accessible attributesRafael Mendonça França2012-03-041-0/+1
| | |
* | | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225)Piotr Sarnacki2012-03-032-1/+14
|/ / | | | | | | | | | | | | | | This makes rails behave properly when you serve static assets and you have X-Sendfile headers enabled. Nevertheless in most cases you should not rely on that and serve static assets with a webserver like Apache or Nginx (as you already have it in place anyway if you use X-Sendfile)
* | put and patch both are allowed for updateArun Agrawal2012-02-251-1/+7
| |
* | fixes a test: rake routes now includes PATCH for resourcesXavier Noria2012-02-241-0/+1
| |
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-241-4/+0
| | | | | | | | the update action of resources
* | Add config.default_method_for_update to support PATCHDavid Lee2012-02-221-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.
* | Correctly print names of non-timestamped migrations with db:migrate:statusPeter Mitchell2012-02-171-1/+49
| |
* | Display annotations from .coffee files in `rake notes`Bartlomiej Kozal2012-02-051-10/+12
| |
* | Remove the dependent_restrict_raises configuration if activerecord isRafael Mendonça França2012-02-011-1/+0
| | | | | | | | not preset
* | fix assets testSergey Nartimov2012-01-311-1/+1
| |
* | fix a small typo [ci skip]Vijay Dev2012-01-271-1/+1
| |
* | Remove redundant instance_variables (@colorize_logging)kennyj2012-01-271-0/+5
| |
* | Merge pull request #4497 from carlosantoniodasilva/action-controller-refactorJosé Valim2012-01-171-0/+8
|\ \ | | | | | | Action controller refactor - remove Compatibility module
| * | Remove deprecated default_charset= from AC::BaseCarlos Antonio da Silva2012-01-171-0/+8
| | | | | | | | | | | | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead
* | | Deprecate RAILS_CACHE constant.kennyj2012-01-181-2/+2
|/ /
* | Fix railties testsPiotr Sarnacki2012-01-151-4/+4
| | | | | | | | | | SchemaMigration model is loaded on rails initialization, which means that it will not be cleaned on each request.
* | Don't hardcode assets route skipped in route inspectorGuillermo Iguaran2012-01-141-0/+14
| |
* | config.force_ssl should mark the session as secure.José Valim2012-01-131-0/+30
| |
* | Fix GH #3980. Support assets:cache:clean method to respect sprockets cache.kennyj2012-01-131-1/+13
| |
* | Remove dead codeSantiago Pastorino2012-01-101-4/+0
| |
* | Rails initialization with initialize_on_precompile = false should set assets_dirSantiago Pastorino2012-01-101-0/+6
| |
* | require minitest rather than test/unitAaron Patterson2012-01-061-1/+1
| |
* | use a regular expression for the number of passes. We only care thatAaron Patterson2012-01-061-1/+1
| | | | | | | | all tests pass, not the number of tests.
* | convert railties to use AS::TestCaseAaron Patterson2012-01-0531-31/+31
| |
* | Merge pull request #4192 from mptre/masterJosé Valim2012-01-051-0/+9
|\ \ | | | | | | Align rake notes
| * | Align rake notes.Anton Lindqvist2011-12-261-0/+9
| | |
* | | Rails::Plugin has goneSantiago Pastorino2012-01-031-1/+0
|/ /
* | Correctly display rack apps with dynamic constraints in RoutesInspectorPiotr Sarnacki2011-12-261-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class.
* | Test::Unit::Util::BacktraceFilter not available in ruby19 test/unitVishnu Atrai2011-12-261-17/+0
| |
* | remove checks for encodings availabilitySergey Nartimov2011-12-251-1/+1
| |
* | remove Rails application fallback from AD::IntegrationTestSergey Nartimov2011-12-231-0/+5
| | | | | | | | set AD::IntegrationTest.app in railtie initializer
* | just require things onceAaron Patterson2011-12-211-4/+2
| |
* | append puts the routes after the default, which causes a 404. instead use ↵Aaron Patterson2011-12-211-1/+1
| | | | | | | | prepend
* | Move SubTestTask. Soften up tests.Jeremy Kemper2011-12-211-10/+7
| |
* | Merge pull request #4079 from drogus/http_digest_issueJosé Valim2011-12-212-1/+37
|\ \ | | | | | | Fix http digest authentication when url ends with `/` or `?`
| * | Add ORIGINAL_FULLPATH to envPiotr Sarnacki2011-12-212-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH
* | | Get rid of more 1.8.x dead codeJosé Valim2011-12-201-6/+2
| | |
* | | This test is rubbish.José Valim2011-12-201-39/+0
|/ /
* | don't encode an UTF-8 encoded templateXu Pan2011-12-201-1/+2
| |
* | Rename STRUCTURE to DB_STRUCTURE, update dump task description and add ↵Dieter Komendera2011-12-181-0/+8
| | | | | | | | simple testcase.
* | Wait a full second so we have time for changes to propagateJosé Valim2011-12-161-0/+3
| |
* | Fix failing asset test.José Valim2011-12-161-1/+3
| |
* | Show detailed exceptions no longer returns true if the request is local in ↵José Valim2011-12-161-0/+1
| | | | | | | | production.
* | Improve the specs on exceptions app.José Valim2011-12-161-1/+1
| |
* | Allow a custom exceptions app to set.José Valim2011-12-161-0/+14
| |