| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Refactor Rails::Generator::TestCase into modules
|
| | |
|
|\ \
| |/
|/| |
Cookie-base session store auto-upgrade
|
| |
| |
| |
| | |
Automatically configure cookie-based sessions to use the best cookie jar given the app's config
|
| |
| |
| |
| | |
Introduced in 59d20af2238f7ab553f41b96282722889d8d4393.
|
| |
| |
| |
| |
| | |
Do the absolute bare minimum needed to define this task, no need to compute
gem paths everytime you call rake.
|
| |
| |
| |
| |
| | |
This code is executed every time you run a rake task, there is no need to, specially
adding a penalty to test suites.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
activerecord/test/cases/adapter_test.rb
guides/source/testing.md
[ci skip]
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The goal of these refactors is to have the same code generating
edge and doc:rails APIs, and the rails gem is not available in
LOAD_PATHS because it has no lib directory.
|
| | | |
|
| | |
| | |
| | |
| | | |
doesn't exist anymore in Gemfile
|
| |/
|/| |
|
| |
| |
| |
| | |
provided
|
| |
| |
| |
| | |
based on a discussion with @rafaelfranca
|
| |
| |
| |
| |
| |
| | |
- Remove obsolete/misleading comment about assets only being used production
- Remove unnecessary group :assets
- Eliminate blank lines if options[:skip_javascript] is not specified
|
| | |
|
|\ \
| | |
| | | |
Transparently upgrade signed cookies when setting secret_key_base
|
| | |
| | |
| | |
| | | |
signed cookies generated by Rails 3 to avoid invalidating them when upgrading to Rails 4
|
|/ /
| |
| |
| | |
v3 of pull request based on additional feedback from @jeremy
|
| |
| |
| |
| | |
completes https://github.com/rails/rails/commit/6f3f0f86332004fcee5c2f05d52bbff08c22f980
|
|\ \
| | |
| | | |
Add #to_s method to VERSION modules
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Check 862389c9537dbb6f65fd26c4325e07607ed437b5 for more background.
|
| |
| |
| |
| | |
Check pull request #9789 for more information.
|
| |
| |
| |
| | |
v2 of pull request based on feedback from @rafaelfranca, @schneems, and @carlosantoniodasilva
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: assigned but unused variable - task_name
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |
| |
| |
| | |
Cache the value of "super" in a variable and use it instead.
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Add `rails test` command to run the test suite
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Also, print out deprecation warning for other rake tasks except
`rake test` and `rake` (default)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* `rails test -f` will run the test suites with all fixtures loaded
* New application will now generated without `fixtures :all` line
enabled by default.
|
| | |
| | |
| | |
| | |
| | | |
Any flags that got set will be passed through to MiniTest::Unit.runner,
such as `-n`, `-s-, and `-v`.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
|
|
| |
minor comment fix for consistency
|
|
|
|
|
|
| |
I've also added a proper acceptance test which reproduced the issue.
Closes #9513, #9515.
|