Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 2 | -2/+50 |
| | | | | | | | | | | | | | | | | 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 |
| | |||||
* | Fix tests, Rails.env may be different on CI | Piotr Sarnacki | 2012-02-16 | 1 | -2/+5 |
| | |||||
* | Refactor Rails::Console to make it easier to test and add tests for it | Piotr Sarnacki | 2012-02-16 | 1 | -0/+84 |
| | |||||
* | Display annotations from .coffee files in `rake notes` | Bartlomiej Kozal | 2012-02-05 | 1 | -10/+12 |
| | |||||
* | Add convenience method to hide a generator from the available ones | Carlos Antonio da Silva | 2012-02-03 | 2 | -1/+16 |
| | | | | | | It is usually useful to be able to hide a generator when running rails generate command. Such generators might be used only to dry up generators code and shouldn't be available to end users. | ||||
* | Remove the dependent_restrict_raises configuration if activerecord is | Rafael Mendonça França | 2012-02-01 | 2 | -2/+1 |
| | | | | not preset | ||||
* | Fix GH #4737. Missing helper file (LoadError) in mountable plugin. | kennyj | 2012-02-02 | 1 | -7/+8 |
| | |||||
* | Don't run bundle install when passed with --pretend option | kennyj | 2012-02-01 | 1 | -0/+5 |
| | |||||
* | Only add ActiveRecord configuration if it is present | Rafael Mendonça França | 2012-01-31 | 1 | -0/+1 |
| | |||||
* | Merge pull request #4727 from railsaholic/dependent_restrict_should_add_error | Jon Leighton | 2012-01-31 | 1 | -0/+5 |
|\ | | | | | has_many/has_one, :dependent => :restrict, deprecation added | ||||
| * | has_many/has_one, :dependent => :restrict, deprecation added. | Manoj | 2012-01-29 | 1 | -0/+5 |
| | | |||||
* | | 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 |
| | |||||
* | Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with ↵ | José Valim | 2012-01-22 | 1 | -3/+3 |
| | | | | | | | | bash, zsh, etc, closes #4602 Conflicts: railties/test/generators/migration_generator_test.rb | ||||
* | 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 |
| | |||||
* | Add therubyracer gem commented in default Gemfile | Guillermo Iguaran | 2012-01-12 | 1 | -4/+2 |
| | |||||
* | 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 |
| | |||||
* | Fix tests, ./ is not needed for relative entries in Gemfile in newest ↵ | Piotr Sarnacki | 2012-01-07 | 1 | -2/+2 |
| | | | | bundler version | ||||
* | Add Gemfile entry when creating a plugin in application's directory | Piotr Sarnacki | 2012-01-07 | 1 | -1/+32 |
| | | | | | | | | | | | | After vendor/plugins were removed from rails, the new method to create plugins is to create gem plugins. Most of the time if you create a new plugin in rails application's directory, you want to extract something from that application and use it immediately, ie. add such line to Gemfile: gem 'foo', :path => './vendor/foo' This commit makes plugin new generator to add such line automatically. | ||||
* | Merge pull request #4360 from rafaelfranca/patch-1 | Aaron Patterson | 2012-01-06 | 1 | -28/+0 |
|\ | | | | | Remove more references to Test::Unit | ||||
| * | Test::Unit::Util::BacktraceFilter is never defined | Rafael Mendonça França | 2012-01-06 | 1 | -28/+0 |
| | | |||||
* | | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 3 | -3/+3 |
|/ | |||||
* | 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 | 35 | -35/+36 |
| | |||||
* | 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 | 8 | -305/+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 |
| | |||||
* | Use 1.9 hash syntax instead. | José Valim | 2011-12-24 | 2 | -13/+13 |
| | |||||
* | assert_not_match -> assert_no_match. | José Valim | 2011-12-24 | 2 | -6/+6 |
| | |||||
* | Tidy up migration types. | José Valim | 2011-12-24 | 3 | -3/+8 |
| | |||||
* | added ability to specify from cli when generating a model/migration whether ↵ | Dmitrii Samoilov | 2011-12-24 | 3 | -1/+131 |
| | | | | particular property should be an index like this 'rails g model person name:string:index profile:string' | ||||
* | remove Rails application fallback from AD::IntegrationTest | Sergey Nartimov | 2011-12-23 | 1 | -0/+5 |
| | | | | set AD::IntegrationTest.app in railtie initializer | ||||
* | Depend on 4.0.0.beta gems. Use https for github urls. | Jeremy Kemper | 2011-12-22 | 1 | -1/+1 |
| | |||||
* | 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 |