Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure the scaffold tests will pass when using references attributes | Rafael Mendonça França | 2012-12-10 | 1 | -0/+10 |
| | |||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 1 | -22/+0 |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] | ||||
* | Unused variable warning removed | Rashmi Yadav | 2012-11-27 | 1 | -1/+0 |
| | |||||
* | Rake test:uncommitted finds git directory in ancestors. | Nicolas Despres | 2012-11-10 | 1 | -0/+29 |
| | | | | | | | | | | | | | Sometimes your git directory is an ancestor of your application root directory. For example: ./repo/.git/ ./repo/app/Rakefile In this case rake test:uncommitted will be unable to detect your SCM. This patch fixes this and add a test. | ||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -5/+5 |
| | |||||
* | Update test locations | Mike Moore | 2012-10-09 | 1 | -6/+6 |
| | | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional) | ||||
* | Get rid of config.preload_frameworks in favor of config.eager_load_namespaces | José Valim | 2012-08-21 | 1 | -1/+0 |
| | | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly. | ||||
* | Allow users to choose when to eager_load the application or not. | José Valim | 2012-08-21 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | Previously, the eager load behavior was mostly coupled to config.cache_classes, however this was suboptimal since in some environments a developer may want to cache classes but not necessarily load them all on boot (for example, test env). This pull request also promotes the use of config.eager_load set to true by default in production. In the majority of the cases, this is the behavior you want since it will copy most of your app into memory on boot (which was also the previous behavior). Finally, this fix a long standing Rails bug where it was impossible to access a model in a rake task when Rails was set as thread safe. | ||||
* | Fix wrong testcase. This is a testcase for db:test:prepare. | kennyj | 2012-06-28 | 1 | -1/+1 |
| | |||||
* | Change the behavior of db:test:prepare task when schema_format is sql for ↵ | kennyj | 2012-06-26 | 1 | -0/+9 |
| | | | | consistency. | ||||
* | Change the behavior of db:test:clone task when schema_format is sql for ↵ | kennyj | 2012-06-26 | 1 | -0/+9 |
| | | | | consistency. | ||||
* | Don't read csv file during executing db:fixtures:load. | kennyj | 2012-06-17 | 1 | -0/+12 |
| | |||||
* | Added a testcase for #6690. | kennyj | 2012-06-12 | 1 | -0/+11 |
| | |||||
* | Add a testcase for #5847. | kennyj | 2012-05-29 | 1 | -0/+23 |
| | |||||
* | 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. | ||||
* | Fix #5847 and #4045. Load AR::Base before loading an application model. | kennyj | 2012-04-26 | 1 | -0/+22 |
| | |||||
* | Fix GH #5435. db:structure:dump should be reenable. | kennyj | 2012-03-17 | 1 | -0/+12 |
| | |||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -20/+0 |
| | |||||
* | Fix scaffold controller template, ensure rake scaffold test pass by default | Carlos Antonio da Silva | 2012-03-14 | 1 | -2/+23 |
| | |||||
* | Use one system call whenever possible, group rake and Dir.chdir calls | Carlos Antonio da Silva | 2012-03-08 | 1 | -14/+11 |
| | |||||
* | Add db:schema:cache:dump and db:schema:cache:clear tasks. | kennyj | 2012-03-01 | 1 | -0/+19 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | Move SubTestTask. Soften up tests. | Jeremy Kemper | 2011-12-21 | 1 | -10/+7 |
| | |||||
* | Rename STRUCTURE to DB_STRUCTURE, update dump task description and add ↵ | Dieter Komendera | 2011-12-18 | 1 | -0/+8 |
| | | | | simple testcase. | ||||
* | Moves migrations tests from railties/test/application/rake_test.rb to ↵ | Kazimierz Kiełkowicz | 2011-12-07 | 1 | -68/+0 |
| | | | | railties/test/application/rake/migrations_test.rb | ||||
* | Move asset tests to assets_test file | Guillermo Iguaran | 2011-09-13 | 1 | -31/+0 |
| | |||||
* | Merge pull request #2987 from kennyj/master | Santiago Pastorino | 2011-09-12 | 1 | -0/+16 |
|\ | | | | | fix https://github.com/rails/rails/issues/2947 (with testcase) | ||||
| * | fix https://github.com/rails/rails/issues/2947 (with testcase) | kennyj | 2011-09-13 | 1 | -0/+16 |
| | | |||||
* | | Merge pull request #2985 from kennyj/master | Santiago Pastorino | 2011-09-12 | 1 | -0/+16 |
|\| | | | | | fix https://github.com/rails/rails/issues/2582 (with testcase) | ||||
| * | fix https://github.com/rails/rails/issues/2582 (with testcase) | kennyj | 2011-09-13 | 1 | -1/+17 |
| | | |||||
* | | added test for db migrate:redo | Deepak Prasanna | 2011-09-10 | 1 | -0/+25 |
| | | |||||
* | | Merge pull request #2957 from waseem/migration_status_tests | Santiago Pastorino | 2011-09-09 | 1 | -0/+24 |
|\ \ | | | | | | | Tests for rake db:migrate:status. | ||||
| * | | Tests for rake db:migrate:status. | Waseem Ahmad | 2011-09-09 | 1 | -1/+25 |
| |/ | |||||
* / | move route inspecting to an object so that we can more easily test it | Aaron Patterson | 2011-09-09 | 1 | -95/+2 |
|/ | |||||
* | Warnings removed for "assert_match /" Please do | Arun Agrawal | 2011-09-04 | 1 | -3/+3 |
| | | | | not add more.! | ||||
* | Improve formatting of route to Rack application in rake routes. | Hendy Tanata | 2011-07-17 | 1 | -0/+21 |
| | | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/} | ||||
* | Better formatting of route requirements in rake:routes. | Hendy Tanata | 2011-07-16 | 1 | -2/+65 |
| | | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/} | ||||
* | Don't raise on mass assignment for test | José Valim | 2011-07-07 | 1 | -6/+15 |
| | |||||
* | Add test to rake test for error messages | Wen-Tien Chang | 2011-06-30 | 1 | -0/+26 |
| | |||||
* | Solve the RAILS_ENV problem in the railties tests in a more generic way | Jon Leighton | 2011-06-06 | 1 | -1/+5 |
| | |||||
* | Parenthesize arguments when the first one is a Regexp literal. | Sebastian Martinez | 2011-05-23 | 1 | -9/+9 |
| | | | | This fixes 'warning: ambiguous first argument; put parentheses or even spaces'. | ||||
* | Add test to verify production rake tasks flush logger on exit | Jason Rudolph | 2011-05-06 | 1 | -0/+13 |
| | |||||
* | Display custom asset routes in `rake routes` | Peter Suschlik | 2011-05-05 | 1 | -0/+9 |
| | |||||
* | fix db:fixtures:load with FIXTURES specified [#6061 state:resolved] | John Hawthorn | 2011-02-06 | 1 | -0/+17 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add test cases for model and migration generators which use `change` method. | Prem Sichanugrist | 2011-01-04 | 1 | -0/+19 |
| | |||||
* | Ensure that initializers are executed before loading rake tasks | Piotr Sarnacki | 2010-11-18 | 1 | -0/+16 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Strip regexp anchors from rake routes output [#5934 state:resolved] | Andrew White | 2010-11-09 | 1 | -0/+9 |
| | |||||
* | Fix typo and add sanity test for code statistics rake task. | Emilio Tagua | 2010-09-24 | 1 | -1/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) |