aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* s/and and run/and runs/David Chapman2013-03-261-1/+1
| | | | Fixing some typos/grammar.
* default RAILS_ENV to test if we're in a test taskAaron Patterson2013-03-251-0/+4
|
* Fixed typo in railties/testPrathamesh Sonpatki2013-03-252-2/+2
|
* Controller name pluralizedPrathamesh Sonpatki2013-03-251-2/+2
|
* Fix jquery-as-default test to account for switch from gem to github source ↵Jeremy Kemper2013-03-251-1/+1
| | | | in #9904
* Merge pull request #9909 from trevorturk/9740Jeremy Kemper2013-03-241-0/+1
|\ | | | | Transparently upgrade signed cookies when setting secret_key_base
| * Introduce UpgradeLegacySignedCookieJar to transparently upgrade existing ↵Trevor Turk2013-03-241-0/+1
| | | | | | | | signed cookies generated by Rails 3 to avoid invalidating them when upgrading to Rails 4
* | Put coffee-rails in top-level of generated GemfileGabe Kopley2013-03-243-16/+43
|/ | | | v3 of pull request based on additional feedback from @jeremy
* Use jquery-rails from githubSam Ruby2013-03-241-1/+3
| | | | completes https://github.com/rails/rails/commit/6f3f0f86332004fcee5c2f05d52bbff08c22f980
* Fix some typosVipul A M2013-03-243-3/+3
|
* Fix test: ActiveSupport.version is returning now a Gem::Version instead of a ↵Guillermo Iguaran2013-03-241-1/+1
| | | | String
* Merge pull request #8501 from charliesome/version-to-sRafael Mendonça França2013-03-2310-20/+21
|\ | | | | Add #to_s method to VERSION modules
| * add changelog entryCharlie Somerville2013-03-241-0/+4
| |
| * remove references to *::VERSION, replace with *.versionCharlie Somerville2013-03-218-14/+10
| |
| * Add version method to top level modulesCharlie Somerville2013-03-211-6/+7
| |
* | Better styles for the CSS [ci skip]Rafael Mendonça França2013-03-233-38/+38
| |
* | Don't kill the consoleJon Leighton2013-03-221-10/+2
| | | | | | | | | | Use the "quit" command instead. This seems to prevents some weirdness on OS X. See #9761.
* | Send SIGTERM, not SIGQUIT.Jon Leighton2013-03-221-1/+1
|/ | | | | | SIGTERM is the correct signal for a graceful exit. This will hopefully resolve #9761.
* Don't generate a scaffold.css if no-assetsKevin Glowacz2013-03-203-1/+6
|
* fix sentence [ci skip]Neeraj Singh2013-03-191-1/+1
|
* Initialize @app_env_config now that the var name has changedCarlos Antonio da Silva2013-03-191-1/+1
| | | | Check 862389c9537dbb6f65fd26c4325e07607ed437b5 for more background.
* Use @app_env_config instead of @env_configJosé Valim2013-03-181-1/+1
| | | | Check pull request #9789 for more information.
* Revert "instruct RDoc to only parse Ruby files under lib [Fixes #9779]"Xavier Noria2013-03-181-1/+1
| | | | This reverts commit c24528fbc94dea9946a563be3bed9559583bdc57.
* instruct RDoc to only parse Ruby files under lib [Fixes #9779]Xavier Noria2013-03-181-1/+1
|
* More helpful message when starting serverGabe Kopley2013-03-181-1/+1
| | | | v2 of pull request based on feedback from @rafaelfranca, @schneems, and @carlosantoniodasilva
* config.ru uses the effective Rack appYves Senn2013-03-152-1/+2
| | | | | | | | | | We used to pass the Rails::Application subclass to #run. The Rails server then called #to_app to convert that class to the actual Rack application. if you surround `#run` with a call to `#map` the server no longer convertes the class to the instance and we end up with unnecessary delegation calls on every request.
* Warning removed unused variable task_nameArun Agrawal2013-03-151-1/+0
| | | | warning: assigned but unused variable - task_name
* Add support for generate scaffold password:digestSam Ruby2013-03-139-13/+82
| | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture
* Move some railties changelog entries to the top [ci skip]Carlos Antonio da Silva2013-03-131-20/+21
|
* 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.