Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 1 | -0/+30 | |
| | | | ||||||
* | | | Now all the models need to explicitly declare the accessible attributes | Rafael Mendonça França | 2012-03-04 | 1 | -0/+1 | |
| | | | ||||||
* | | | Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225) | Piotr Sarnacki | 2012-03-03 | 2 | -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 update | Arun Agrawal | 2012-02-25 | 1 | -1/+7 | |
| | | ||||||
* | | fixes a test: rake routes now includes PATCH for resources | Xavier Noria | 2012-02-24 | 1 | -0/+1 | |
| | | ||||||
* | | 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. | |||||
* | | Correctly print names of non-timestamped migrations with db:migrate:status | Peter Mitchell | 2012-02-17 | 1 | -1/+49 | |
| | | ||||||
* | | Display annotations from .coffee files in `rake notes` | Bartlomiej Kozal | 2012-02-05 | 1 | -10/+12 | |
| | | ||||||
* | | Remove the dependent_restrict_raises configuration if activerecord is | Rafael Mendonça França | 2012-02-01 | 1 | -1/+0 | |
| | | | | | | | | not preset | |||||
* | | fix assets test | Sergey Nartimov | 2012-01-31 | 1 | -1/+1 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Merge pull request #4497 from carlosantoniodasilva/action-controller-refactor | José Valim | 2012-01-17 | 1 | -0/+8 | |
|\ \ | | | | | | | Action controller refactor - remove Compatibility module | |||||
| * | | 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 | |||||
* | | | Deprecate RAILS_CACHE constant. | kennyj | 2012-01-18 | 1 | -2/+2 | |
|/ / | ||||||
* | | Fix railties tests | Piotr Sarnacki | 2012-01-15 | 1 | -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 inspector | Guillermo Iguaran | 2012-01-14 | 1 | -0/+14 | |
| | | ||||||
* | | config.force_ssl should mark the session as secure. | José Valim | 2012-01-13 | 1 | -0/+30 | |
| | | ||||||
* | | Fix GH #3980. Support assets:cache:clean method to respect sprockets cache. | kennyj | 2012-01-13 | 1 | -1/+13 | |
| | | ||||||
* | | Remove dead code | Santiago Pastorino | 2012-01-10 | 1 | -4/+0 | |
| | | ||||||
* | | Rails initialization with initialize_on_precompile = false should set assets_dir | Santiago Pastorino | 2012-01-10 | 1 | -0/+6 | |
| | | ||||||
* | | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 | |
| | | ||||||
* | | use a regular expression for the number of passes. We only care that | Aaron Patterson | 2012-01-06 | 1 | -1/+1 | |
| | | | | | | | | all tests pass, not the number of tests. | |||||
* | | convert railties to use AS::TestCase | Aaron Patterson | 2012-01-05 | 31 | -31/+31 | |
| | | ||||||
* | | Merge pull request #4192 from mptre/master | José Valim | 2012-01-05 | 1 | -0/+9 | |
|\ \ | | | | | | | Align rake notes | |||||
| * | | Align rake notes. | Anton Lindqvist | 2011-12-26 | 1 | -0/+9 | |
| | | | ||||||
* | | | Rails::Plugin has gone | Santiago Pastorino | 2012-01-03 | 1 | -1/+0 | |
|/ / | ||||||
* | | Correctly display rack apps with dynamic constraints in RoutesInspector | Piotr Sarnacki | 2011-12-26 | 1 | -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/unit | Vishnu Atrai | 2011-12-26 | 1 | -17/+0 | |
| | | ||||||
* | | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 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 | |||||
* | | Move SubTestTask. Soften up tests. | Jeremy Kemper | 2011-12-21 | 1 | -10/+7 | |
| | | ||||||
* | | Merge pull request #4079 from drogus/http_digest_issue | José Valim | 2011-12-21 | 2 | -1/+37 | |
|\ \ | | | | | | | Fix http digest authentication when url ends with `/` or `?` | |||||
| * | | Add ORIGINAL_FULLPATH to env | Piotr Sarnacki | 2011-12-21 | 2 | -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 code | José Valim | 2011-12-20 | 1 | -6/+2 | |
| | | | ||||||
* | | | This test is rubbish. | José Valim | 2011-12-20 | 1 | -39/+0 | |
|/ / | ||||||
* | | don't encode an UTF-8 encoded template | Xu Pan | 2011-12-20 | 1 | -1/+2 | |
| | | ||||||
* | | Rename STRUCTURE to DB_STRUCTURE, update dump task description and add ↵ | Dieter Komendera | 2011-12-18 | 1 | -0/+8 | |
| | | | | | | | | simple testcase. | |||||
* | | Wait a full second so we have time for changes to propagate | José Valim | 2011-12-16 | 1 | -0/+3 | |
| | | ||||||
* | | Fix failing asset test. | José Valim | 2011-12-16 | 1 | -1/+3 | |
| | | ||||||
* | | Show detailed exceptions no longer returns true if the request is local in ↵ | José Valim | 2011-12-16 | 1 | -0/+1 | |
| | | | | | | | | production. | |||||
* | | Improve the specs on exceptions app. | José Valim | 2011-12-16 | 1 | -1/+1 | |
| | | ||||||
* | | Allow a custom exceptions app to set. | José Valim | 2011-12-16 | 1 | -0/+14 | |
| | | ||||||
* | | Fix diagnostics page for routing errors. | José Valim | 2011-12-15 | 1 | -2/+13 | |
| | | ||||||
* | | Clean up the cache before the request in case we are running in the ↵ | José Valim | 2011-12-15 | 3 | -6/+52 | |
| | | | | | | | | reload_classes_only_on_change schema. | |||||
* | | FileUpdateChecker should be able to handle deleted files. | José Valim | 2011-12-13 | 1 | -0/+32 | |
| | | ||||||
* | | Add config.file_watcher so developers can provide their own watchers (for ↵ | José Valim | 2011-12-13 | 1 | -3/+79 | |
| | | | | | | | | instance, hooking on fsevents). |