aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* 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-242-9/+0
| | | | the update action of resources
* Add config.default_method_for_update to support PATCHDavid Lee2012-02-222-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:statusPeter Mitchell2012-02-171-1/+49
|
* Fix tests, Rails.env may be different on CIPiotr Sarnacki2012-02-161-2/+5
|
* Refactor Rails::Console to make it easier to test and add tests for itPiotr Sarnacki2012-02-161-0/+84
|
* Display annotations from .coffee files in `rake notes`Bartlomiej Kozal2012-02-051-10/+12
|
* Add convenience method to hide a generator from the available onesCarlos Antonio da Silva2012-02-032-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 isRafael Mendonça França2012-02-012-2/+1
| | | | not preset
* Fix GH #4737. Missing helper file (LoadError) in mountable plugin.kennyj2012-02-021-7/+8
|
* Don't run bundle install when passed with --pretend optionkennyj2012-02-011-0/+5
|
* Only add ActiveRecord configuration if it is presentRafael Mendonça França2012-01-311-0/+1
|
* Merge pull request #4727 from railsaholic/dependent_restrict_should_add_errorJon Leighton2012-01-311-0/+5
|\ | | | | has_many/has_one, :dependent => :restrict, deprecation added
| * has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-291-0/+5
| |
* | 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
|
* Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with ↵José Valim2012-01-221-3/+3
| | | | | | | | bash, zsh, etc, closes #4602 Conflicts: railties/test/generators/migration_generator_test.rb
* 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
|
* Add therubyracer gem commented in default GemfileGuillermo Iguaran2012-01-121-4/+2
|
* 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
|
* Fix tests, ./ is not needed for relative entries in Gemfile in newest ↵Piotr Sarnacki2012-01-071-2/+2
| | | | bundler version
* Add Gemfile entry when creating a plugin in application's directoryPiotr Sarnacki2012-01-071-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-1Aaron Patterson2012-01-061-28/+0
|\ | | | | Remove more references to Test::Unit
| * Test::Unit::Util::BacktraceFilter is never definedRafael Mendonça França2012-01-061-28/+0
| |
* | require minitest rather than test/unitAaron Patterson2012-01-063-3/+3
|/
* 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-0535-35/+36
|
* 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-038-305/+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
|
* Use 1.9 hash syntax instead.José Valim2011-12-242-13/+13
|
* assert_not_match -> assert_no_match.José Valim2011-12-242-6/+6
|
* Tidy up migration types.José Valim2011-12-243-3/+8
|
* added ability to specify from cli when generating a model/migration whether ↵Dmitrii Samoilov2011-12-243-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::IntegrationTestSergey Nartimov2011-12-231-0/+5
| | | | set AD::IntegrationTest.app in railtie initializer
* Depend on 4.0.0.beta gems. Use https for github urls.Jeremy Kemper2011-12-221-1/+1
|
* 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