| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|\
| |
| | |
Fix duplicable? for Complex and Rational
|
| |
| |
| |
| | |
See [this test](https://gist.github.com/utilum/78918f1b64f8b61ee732cb266db7c43a).
|
|\ \
| | |
| | | |
quiet generators log in test
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This quiet the following log.
```
create app/mailers/notifier_mailer.rb
invoke erb
create app/views/notifier_mailer
identical app/views/layouts/mailer.text.erb
identical app/views/layouts/mailer.html.erb
create app/views/notifier_mailer/foo.text.erb
create app/views/notifier_mailer/foo.html.erb
invoke test_unit
create test/mailers/notifier_mailer_test.rb
create test/mailers/previews/notifier_mailer_preview.rb
```
|
|\ \ \
| |/ /
|/| | |
Remove warning in ActiveJob
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Currently it causes:
```
activejob/Rakefile:5: warning: already initialized constant ACTIVEJOB_ADAPTERS
```
|
|\ \
| | |
| | | |
Document and update API for `skip_parameter_encoding`
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This commit changes `parameter_encoding` to `skip_parameter_encoding`.
`skip_parameter_encoding` will set encoding on all parameters to
ASCII-8BIT for a given action on a particular controller. This allows
the controller to handle data when the encoding of that data is unknown,
for example file systems or truly binary parameters.
|
|/ |
|
|\
| |
| | |
fix fixtures loading for models with same table names in different databases
|
|/ |
|
|
|
|
|
| |
Updated the docmentation because "options supports" is not grammatically
correct.
|
|
|
|
| |
Add all the available options, and correct the samples of the
`javascript_include_tag`.
|
|\
| |
| | |
Ruby 2.4 compatibility
|
| | |
|
| |
| |
| |
| | |
Very similar to PR #25758, see more in depth reasoning there.
|
|/
|
|
| |
Bumped to Ruby 2.4 compatible versions
|
|
|
|
| |
Rewrite bits and pieces to mention the command infrastructure.
|
|\
| |
| | |
Revise the "XML is not HTML" test
|
| |
| |
| |
| |
| |
| | |
It was depending on a side-effect of the old html-scanner, so was no
longer proving what it intended to. Instead, assert more directly about
the resulting observable difference.
|
|\ \
| | |
| | | |
Only default the response charset when it is first set
|
| |/
| |
| |
| |
| | |
If it is explicitly cleared (e.g., response.sending_file = true), then
we should not try to set it again.
|
|\ \
| | |
| | | |
Do not clear HTTP_COOKIES header after request
|
| | | |
|
|\ \ \
| | | |
| | | | |
make work bin/test scripts with line filter
|
| | | |
| | | |
| | | |
| | | |
| | | | |
`Rails::LineFiltering` is not automatically loaded, need to load it explicitly.
Ref: 797f1dd, b6f935b
|
|\ \ \ \
| | | | |
| | | | | |
Fix typo in channel generator usage message
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Add note on defaults block option
|
| | | | |
| | | | |
| | | | | |
When I was looking for how to default the entire routes file to JSON I could only find the postfix option. It was mentioned on IRC that you could do this with a block as well and I had not found it in the documentation.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
`ARGV.shift` before calling Rails generators
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Gems like rspec-rails depend on `ARGV` being shifted, and `scaffold`
(for example) not being the first item in `ARGV`. This should allow
rspec-rails to be passing on Rails master.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
Remove useless `test_supports_primary_key`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`supports_primary_key?` method is defined in `AbstractAdapter` so does
not raise any errors.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
there aren't any instance method defined in this class
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Consolidate duplicated elsif branch
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Ensure the support works like form_with.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Has the handy effect of making the initial examples in the form_with
docs work too.
Had to do some finagling such that form_with's without a scope didn't
wrap their names in braces ala `[title]`.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Remote is gone, long live local.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
By using `except` any option provided to `form_with` would become an html
attribute unless explicitly opted out. This proved annoying when adding
new internal keys in the options hash and seeing them pop up in the html
output.
Prevent this by inverting the `except` to `slice` out the keys we want to
allow becoming html attributes, like id and class.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix rake guides:generate:kindle error
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix Fixnum deprecated warning in Ruby 2.4+
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Simplify the regex for `unsigned?` method
|