| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Inspect uses double quotes.
* Inspect puts a hash as in #<User ...>.
* Documents the return value, and makes explicit it can be an invalid record.
* Documents the method is not atomic.
* Documents a way to handle UNIQUE contraint violations in the event of a race condition.
* Removes the "Examples" header according to our guidelines.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* It is no longer true that options are passed to find.
* Documents that ActiveRecord::RecordNotFound may be raised.
* Documents that the reload happens in-place.
* Documents that caches are wiped.
* Documents that the method returns self.
* Documents a couple of use cases.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
After some discussion on Twitter with @skud, the documentation on ActionDispatch::Response is
a bit sparse. This class is useful when you're writing tests, as often you want to assert various
things about the response that's coming back. Better docs would make this easier for people new
to testing in Rails.
I only added some descriptions for various properties that were defined, and mostly just a sentence
or two. Most of these things are familliar if you're working with HTTP, but some words is better
than no words at all.
Hopefully further commits will fix up things that aren't just documentation.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Adding the ability to filter routes by the verb
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
environment works correctly.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix word order in documentation for with_lock [ci skip]
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Extract ActionDispatch::Request#deep_munge
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ActionDispatch::Request#deep_munge was introduced as a private method,
but was turned into a public one for the use of
ActionDispatch::ParamsParser.
I have extracted it into ActionDispatch::Request::Utils, so it does not
get mixed up with the Request public methods.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix regression in has_secure_password.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
If the confirmation was blank, but the password wasn't, it would still save.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
senny/10782_routes_inspector_deals_with_controller_regexp
`RoutesInspector` deals with routes using regexp as `:controller` option
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Use grep instead of select with === in QueryMethods
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
pass block directly to grep
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Running isolated tests
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
These stopped running don't know when.
But these should be running now.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Minor refactor of ActiveRecord::SchemaMigration
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Base, override table_exists method, and switch to preferred style for class method definitions.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
PostgreSQL specific test cleanup
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This branch is composed of #10629 and #10708
Closes #10629
Closes #10708
Fixes #10628
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|/| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fixes bug 10628.
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / /
|/| | | | | | | | | |
Add notice on server boot if binding to 0.0.0.0
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
test cleanup, replace `define_method` and `remove_method` with stubs.
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
senny/10615_join_should_not_return_readonly_records
using `#joins` does not imply `readonly = true`.
|
| | | | | | | | | | |
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
test-case for `Array#to_sentence` with `blank?` items.
|
| |/ / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
compatability => compatibility
|
| |/ / / / / / / |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Fix some typo in method names, variables
|
| | |_|/ / / /
| |/| | | | | |
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Because decorators aren't referenced by the application, they won't get
autoloaded. And because we recommend the pattern, it would be irresponsible
to not show how to load them properly.
Fixes #10647.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
docs, adjust the application.rb snippets to match the generated file.
Closes #10449
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
`if defined?(Bundler)` is no longer used in our current application.rb
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix the `:primary_key` option for `has_many` associations.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
When removing records from a `has_many` association it used
the `primary_key` defined on the association.
Our test suite didn't fail because on all occurences of `:primary_key`,
the specified column was available in both tables. This prevented the
code from raising an exception but it still behaved badly.
I added a test-case to prevent regressions that failed with:
```
1) Error:
HasManyAssociationsTest#test_has_many_assignment_with_custom_primary_key:
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: essays.first_name: UPDATE "essays" SET "writer_id" = NULL WHERE "essays"."writer_id" = ? AND "essays"."first_name" IS NULL
```
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | |
| | | | | | | | |
Closes #10716
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
their setup in their constructor now.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
minitest/autorun required minitest/spec and we are avoiding to require
it.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Eliminate minitest warnings
|