Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add a factory method for queue construction so that apps can have multiple ↵ | Aaron Patterson | 2012-04-27 | 1 | -0/+8 |
| | | | | queues | ||||
* | Revert "Merge pull request #5995 from kennyj/fix_5847-3" | José Valim | 2012-04-27 | 1 | -22/+0 |
| | | | | | | | | Active Record should be lazy loaded and this pull request forced Active Record to always be loaded after initialization. This reverts commit 8cd14c0bc9f9429f03d1181912355d2f48b98157, reversing changes made to 2f0c8c52e66f1a2a3d1c00efc207f227124e96c2. | ||||
* | Missing git add :trollface: | Yehuda Katz | 2012-04-26 | 1 | -0/+114 |
| | |||||
* | Fix #5847 and #4045. Load AR::Base before loading an application model. | kennyj | 2012-04-26 | 1 | -0/+22 |
| | |||||
* | Routes reloader knows how to reload external files | Yehuda Katz | 2012-04-25 | 1 | -0/+61 |
| | |||||
* | Fix missing Rails.env in route inspect tests | Yehuda Katz | 2012-04-25 | 1 | -0/+1 |
| | |||||
* | Allow loading external route files from the router | Jose and Yehuda | 2012-04-25 | 2 | -0/+26 |
| | | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications. | ||||
* | Clean up some straggling build failures | Jose and Yehuda | 2012-04-24 | 1 | -7/+7 |
| | |||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 10 | -37/+37 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | `rake notes` and `rake notes:custom` now support | Teng Siong Ong | 2012-04-22 | 1 | -1/+7 |
| | | | css, scss and css. | ||||
* | Freeze the middleware stack after it's built | Jeremy Kemper | 2012-04-20 | 2 | -17/+25 |
| | | | | | | So apps that accidentally add middlewares later aren't unwittingly dumping them in a black hole. Closes #5911 | ||||
* | Fix a couple more script[type=text/javascript] tests affected by #5748 | Jeremy Kemper | 2012-04-08 | 2 | -8/+8 |
| | |||||
* | Rails.initialized? can be called at any time without raising an exception ↵ | Franck Verrot | 2012-03-28 | 1 | -0/+10 |
| | | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?` | ||||
* | Fixed missing space bug introduces in ↵ | Anton Lindqvist | 2012-03-22 | 1 | -3/+4 |
| | | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940. | ||||
* | Merge pull request #5486 from kennyj/fix_5435 | Aaron Patterson | 2012-03-17 | 1 | -0/+12 |
|\ | | | | | Fix GH #5435. db:structure:dump should be re-enable. | ||||
| * | Fix GH #5435. db:structure:dump should be reenable. | kennyj | 2012-03-17 | 1 | -0/+12 |
| | | |||||
* | | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 1 | -3/+3 |
|/ | |||||
* | Simplify helpers handling. Ensure Metal can run AC hooks. | José Valim | 2012-03-15 | 1 | -1/+30 |
| | |||||
* | Remove --http. | José Valim | 2012-03-14 | 4 | -105/+0 |
| | |||||
* | Fix scaffold controller template, ensure rake scaffold test pass by default | Carlos Antonio da Silva | 2012-03-14 | 1 | -2/+23 |
| | |||||
* | Add test to ensure setting config.generators.http_only actually disables the ↵ | Carlos Antonio da Silva | 2012-03-14 | 2 | -2/+15 |
| | | | | | | generator options [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Allow generator configs from http_only! to be overriden by app | Carlos Antonio da Silva | 2012-03-14 | 1 | -0/+15 |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Add ActionController::HTTP | Santiago Pastorino | 2012-03-14 | 1 | -0/+27 |
| | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | Remove IdentityMap | Carlos Antonio da Silva | 2012-03-13 | 1 | -7/+0 |
| | |||||
* | Merge pull request #5326 from lest/patch-2 | Michael Koziarski | 2012-03-10 | 1 | -4/+14 |
|\ | | | | | configure how unverified request will be handled | ||||
| * | 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 | ||||
* | | Fix broken tests | Santiago Pastorino | 2012-03-10 | 1 | -1/+2 |
| | | |||||
* | | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 1 | -2/+1 |
| | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | | Use one system call whenever possible, group rake and Dir.chdir calls | Carlos Antonio da Silva | 2012-03-08 | 4 | -106/+98 |
| | | |||||
* | | Merge pull request #5162 from kennyj/schema_cache_dump | Aaron Patterson | 2012-03-07 | 2 | -0/+45 |
|\ \ | |/ |/| | [Proposal] Schema cache dump | ||||
| * | Support judgement expired schema cache dump. | kennyj | 2012-03-01 | 1 | -0/+14 |
| | | |||||
| * | Load db/schema_cache.dump duaring boot time. | kennyj | 2012-03-01 | 1 | -0/+12 |
| | | |||||
| * | Add db:schema:cache:dump and db:schema:cache:clear tasks. | kennyj | 2012-03-01 | 1 | -0/+19 |
| | | |||||
* | | 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. |