| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Use the "quit" command instead. This seems to prevents some weirdness on
OS X. See #9761.
|
|
|
|
|
|
| |
SIGTERM is the correct signal for a graceful exit.
This will hopefully resolve #9761.
|
| |
|
| |
|
|
|
|
| |
Check 862389c9537dbb6f65fd26c4325e07607ed437b5 for more background.
|
|
|
|
| |
Check pull request #9789 for more information.
|
|
|
|
| |
This reverts commit c24528fbc94dea9946a563be3bed9559583bdc57.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Using regexps as arguments without parentheses end up raising:
warning: ambiguous first argument; put parentheses or even spaces
|
|\
| |
| | |
Make sure that the test case is run under test env
|
| |
| |
| |
| |
| |
| | |
* 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.
|
|/
|
|
|
|
| |
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.
|
|
|
|
| |
I forgot to run the test suit after changing the task name. :bomb:
|
|\
| |
| | |
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.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
This should fix travis.
Also ensuring that we don't try to kill when pid is nil.
|
| |
|
|
|
| |
minor comment fix for consistency
|
|
|
|
| |
Introduced in be3e10cd26bc8ec29c6474d03a08a8e733108e7d.
|
|\
| |
| | |
Add rake test description
|
| |
| |
| |
| | |
No behavior change
|
| |
| |
| |
| | |
Thanks @neerajdotname for noticing this bug.
|
| |
| |
| |
| |
| |
| | |
I've also added a proper acceptance test which reproduced the issue.
Closes #9513, #9515.
|
| | |
|
| |
| |
| |
| |
| | |
Since the Rack::Lock still exists in development,
let's provide a way to disable it explicitly.
|
|\ \
| | |
| | | |
New 404, 422, 500 pages, they are more stylish and bring ruby essence…
|
| | |
| | |
| | |
| | |
| | |
| | | |
moving changelog note to unreleased section
New beauty pages(404, 422, 500)
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
Closes #9386
|
|\ \
| | |
| | | |
Use less hyperbole in the language re: allowed parameters
|
| | | |
|