aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Stop calling "super" twice in Rails::Server#appCarlos Antonio da Silva2013-03-121-1/+4
| | | | Cache the value of "super" in a variable and use it instead.
* Replace assert_(no_)match args from regexps to strings to remove warningsCarlos Antonio da Silva2013-03-111-40/+40
| | | | | | Using regexps as arguments without parentheses end up raising: warning: ambiguous first argument; put parentheses or even spaces
* Merge pull request #9666 from sikachu/master-fix-test_test_failureRafael Mendonça França2013-03-111-1/+17
|\ | | | | Make sure that the test case is run under test env
| * Make sure that the test case is run under test envPrem Sichanugrist2013-03-111-1/+17
| | | | | | | | | | | | * Unset $RAILS_ENV that got set by abstract_unit to trigger the default. * split out environment setting since Ruby 1.9.3 doesn't support inline ENV setting.
* | Mention that debugging can be slow.Steve Klabnik2013-03-111-0/+2
|/ | | | | | https://github.com/rails/rails/pull/3180\#issuecomment-14705821 has mention of rendering going from 1-2ms to 4 seconds with this on, which seems reasonable: debugging is slow.
* Fix test failure introduced in 3ed41e57Prem Sichanugrist2013-03-111-5/+3
| | | | I forgot to run the test suit after changing the task name. :bomb:
* Merge pull request #9080 from sikachu/master-rails-testRafael Mendonça França2013-03-117-65/+532
|\ | | | | Add `rails test` command to run the test suite
| * Make sure that `rails test` load test in test envPrem Sichanugrist2013-03-094-7/+55
| |
| * Update Rake tasks to call `rails test` insteadPrem Sichanugrist2013-03-092-62/+41
| | | | | | | | | | Also, print out deprecation warning for other rake tasks except `rake test` and `rake` (default)
| * Improve wording for rails test commandDalibor Nasevic2013-03-094-35/+38
| |
| * Load fixtures only when running suites, or `-f`Prem Sichanugrist2013-03-094-3/+80
| | | | | | | | | | | | * `rails test -f` will run the test suites with all fixtures loaded * New application will now generated without `fixtures :all` line enabled by default.
| * Add support for MiniTest flags in TestRunnerPrem Sichanugrist2013-03-093-39/+88
| | | | | | | | | | Any flags that got set will be passed through to MiniTest::Unit.runner, such as `-n`, `-s-, and `-v`.
| * Add `rails test` command to run the test suitePrem Sichanugrist and Chris Toomey2013-03-094-0/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To run the whole test suite: $ rails test To run the test file(s): $ rails test test/unit/foo_test.rb [test/unit/bar_test.rb ...] To run the test suite $ rails test [models,helpers,units,controllers,mailers,...] For more information, see `rails test --help`. This command will eventually replacing `rake test:*`, and `rake test` command will actually invoking `rails test` instead.
* | Cleanup tests for unused variablesVipul A M2013-03-111-1/+1
| |
* | Make sure that debugger isn't included in production environment.Teng Siong Ong2013-03-091-1/+1
|/
* Fix race condition in testJon Leighton2013-03-091-2/+2
| | | | | | | | | | | This should fix travis. For real this time! This is the one! The readpartial(100) meant that an earlier assert_stdout could chomp up the output that a later assert_stdout wants, meaning that the later assertion fails. Reading only 1 byte at a time ensure that we don't read any more than is necessary to verify the assertion.
* Use "Fixes" in place of "Fix" in changelogs for consistency [ci skip].Yves Senn2013-03-091-7/+7
|
* Bump up timeoutsJon Leighton2013-03-091-3/+3
| | | | | | This should fix travis. Also ensuring that we don't try to kill when pid is nil.
* Renumbering the comments in the application boot process.wangjohn2013-03-091-4/+4
|
* Remove extra whitespace and fix a commentAgis Anastasopoulos2013-03-091-2/+2
| | | minor comment fix for consistency
* Fix failing test regarding console change to fix sandboxingCarlos Antonio da Silva2013-03-081-11/+10
| | | | Introduced in be3e10cd26bc8ec29c6474d03a08a8e733108e7d.
* Merge pull request #8670 from sanemat/fix/rake-descVijay Dev2013-03-081-0/+2
|\ | | | | Add rake test description
| * Add rake test descriptionsanemat2013-01-011-0/+2
| | | | | | | | No behavior change
* | The console --sandbox transaction should not be joinableJon Leighton2013-03-081-10/+8
| | | | | | | | Thanks @neerajdotname for noticing this bug.
* | Fix rails console --sandboxJon Leighton2013-03-082-9/+77
| | | | | | | | | | | | I've also added a proper acceptance test which reproduced the issue. Closes #9513, #9515.
* | add prompt to 422 page to check logsNihad Abbasov2013-03-041-2/+3
| |
* | Bring config.allow_concurrency backJosé Valim2013-03-033-19/+48
| | | | | | | | | | Since the Rack::Lock still exists in development, let's provide a way to disable it explicitly.
* | Merge pull request #9512 from Jacke/masterGuillermo Iguaran2013-03-024-33/+127
|\ \ | | | | | | New 404, 422, 500 pages, they are more stylish and bring ruby essence…
| * | New beauty pages(404, 422, 500)Stanislav2013-03-024-33/+127
| | | | | | | | | | | | | | | | | | moving changelog note to unreleased section New beauty pages(404, 422, 500)
* | | Remove hard coded references to Active Record in railtiesJosé Valim2013-03-022-19/+7
| | |
* | | :scissors: extra blank lineAkira Matsuda2013-03-021-1/+0
|/ /
* | Support creating a table migration generatorSammy Larbi2013-03-011-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes you want to create a table without an associated model and test, which is also not a join table. With this commit, you can now do that. Example: rails g migration create_posts title:string or rails g migration CreatePosts title:string This commit also moves the template the model generator uses for the migration to the migration templates folder, as it seems a more sensible place for it now that it is shared code.
* | Ensure plugins generated with plugin new can boot the dummy applicationJosé Valim2013-02-286-53/+51
| |
* | There's no need to access Railties through self.classSantiago Pastorino2013-02-271-1/+2
| | | | | | | | Closes #9386
* | Merge pull request #9442 from czarneckid/adjust-generator-languageXavier Noria2013-02-261-1/+1
|\ \ | | | | | | Use less hyperbole in the language re: allowed parameters
| * | Use less hyperbole in the language re: allowed parametersDavid Czarnecki2013-02-261-1/+1
| | |
* | | Update CHANGELOGSRafael Mendonça França2013-02-261-0/+3
|/ /
* | Merge pull request #9419 from banyan/change-default-root-route-helperGuillermo Iguaran2013-02-252-2/+2
|\ \ | | | | | | Change default root route helper
| * | Change default root route helperKohei Hasegawa2013-02-262-2/+2
| | |
* | | Apparently we can't get away from adding lib to the load pathJosé Valim2013-02-251-0/+1
| | |
* | | Plugins can use a similar bootscript to Rails appsJosé Valim2013-02-251-8/+3
| | |
* | | Bump sass-rails and coffee-rails to 4.0.0.beta1 in GemfileGuillermo Iguaran2013-02-251-2/+2
| | |
* | | Remove sprockets-rails from the Gemfile generatorrobertomiranda2013-02-251-1/+0
|/ /
* | Preparing for 4.0.0.beta1 releaseDavid Heinemeier Hansson2013-02-252-2/+2
| |
* | Revert "Use sass compressor as the default CSS compressor"Guillermo Iguaran2013-02-251-1/+1
| | | | | | | | | | | | | | This reverts commit 3eef1c7c5d0c4538efb9e061b6fe68011f0352b1. The css compressor should be set in sass-rails plugin. Check https://github.com/rails/sass-rails/commit/339529f9f6433047df6358c0439e6641cb74f045 for the fix.
* | Use sass compressor as the default CSS compressorRafael Mendonça França2013-02-251-1/+1
| | | | | | | | | | | | | | With the new sprockets-rails we need to explicitly set the CSS compressor. See https://github.com/rails/sprockets-rails#changes-from-rails-3x
* | Improve `rake stats` for JavaScript and CoffeeScript.Hendy Tanata2013-02-254-46/+394
| | | | | | | | Ignore block comments and calculates number of functions.
* | Merge pull request #9401 from sikachu/master-remove-builder-optionRafael Mendonça França2013-02-2412-183/+7
|\ \ | | | | | | Remove `--builder` option from `rails` command
| * | Remove `--builder` option from `rails` commandPrem Sichanugrist2013-02-2412-183/+7
| | | | | | | | | | | | | | | | | | | | | Ability to use a custom builder by passing `--builder` (or `-b`) has been removed. Consider using application template instead. See this guide for more detail: http://guides.rubyonrails.org/rails_application_templates.html
* | | Merge pull request #9400 from senny/remove_auto_explain_threshold_in_secondsXavier Noria2013-02-243-19/+0
|\ \ \ | | | | | | | | remove config.auto_explain_threshold_in_seconds