| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
kamipo/use_select_rows_instead_of_select_one_in_select_values
Use `select_rows` instead of `select_one` in `select_value`
|
| |
| |
| |
| |
| | |
`select_one` create `ActiveRecord::Result` instance. It is better to use
`select_rows` instead of `select_one` for performance.
|
|\ \
| | |
| | | |
Remove :rescue_format option for translate helper
|
| | |
| | |
| | |
| | | |
supported by I18n.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Provide mention of pgcrypto extension for Postgres UUID support
[ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
From the Postgresql 9.4+ docs
> If you only need randomly-generated (version 4) UUIDs, consider using
the gen_random_uuid() function from the pgcrypto module instead.
[ci skip]
|
| | | | |
|
| | | | |
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
deep_dup method, remove old key from duplicated hash
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Handle raise flag in translate when both main and default translation is missing.
|
| | | | |
| | | | |
| | | | |
| | | | | |
missing. Fixes #19967
|
| | | | |
| | | | |
| | | | |
| | | | | |
Explain what the interceptor is used for and how to remove it.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Apply schema cache dump when creating connections
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The `db:schema:cache:dump` rake task dumps the database schema structure
to `db/schema_cache.dump`. If this file is present, the schema details
are loaded into the currently checked out connection by a railtie while
Rails is booting, to avoid having to query the database for its schema.
The schema cache dump is only applied to the initial connection used to
boot the application though; other connections from the same pool are
created with an empty schema cache, and still have to load the structure
of each table directly from the database.
With this change, a copy of the schema cache is associated with the
connection pool and applied to connections as they are created.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
refactor ActiveSupport::TestCase.test_order method with memoization
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
Silence ambiguous first argument warning
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This silences:
actionpack/test/journey/route_test.rb:33: warning: ambiguous first
argument; put parentheses or a space even after `/' operator
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add more information about passing variables to translation definitions
and also merge this part with the "Interpolation" one as the latter
didn't bring any new information. Moreover, each one was referring to
the other for further information.
[ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
[ci skip]
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Adds/Corrects use case for adding an error message
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
I believe this is a use case that was supposed to be supported, and it's
a small fix.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fix a few typos
* Wrap lines to 80 chars
* Use `+` instead of `<tt>`
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Use a preview interceptor to search for inline cid: urls in src
attributes and convert them to data urls.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Display attachment filenames as a comma separated list rather than
showing the inspect output for the array.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use the mail gem's own API to locate the correct part.
Fixes #14435.
|
|\ \ \ \
| | | | |
| | | | | |
Give authentication methods the ability to customize response message.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Digest allowed the messages.
Add the same feature to basic and token
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
method_missing fallback for ActiveModel::Serialization methods option
|
| | | | |
| | | | |
| | | | |
| | | | | |
`ActiveModel::Serialization#serializable_hash`
|
| | | | |
| | | | |
| | | | |
| | | | | |
In my machine the output is different
|
| | | | |
| | | | |
| | | | |
| | | | | |
We are only using for one test class
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The usage of these classes where removed at
8017e6af31caa58a58787274ff0ca01397219e49.
cc @arthurnn @senny
|
|\ \ \ \ \
| | | | | |
| | | | | | |
More exercise the create index sql tests
|
| | | | | | |
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
MySQL does not support partial index. And, the create index algorithm in
create table can not be specified.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
remomueller/fix-actionmailer-preview-links-on-subdirectories
Mailer preview now uses `url_for` to fix links to emails for apps runnin...
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
a subdirectory, closes #19092.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Removed `assigns` from functional_test templates
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Based on DHH's suggestion about deprecating `assigns` in
https://github.com/rails/rails/pull/18305#issuecomment-68605166.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Dump indexes in `create_table` instead of `add_index`
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If the adapter supports indexes in create table, generated SQL is
slightly more efficient.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Actionview image tag size option override
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
yuki24/change-record-not-saved-and-not-destroyed-to-include-error-msg
AR::RecordNotSaved & RecordNotDestroyed from save!/destroy! should include an error message
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
When `AR::Base.save!` or `AR::Base.destroy!` is called and an exception
is raised, the exception doesn't have any error message or has a weird
message like `#<FailedBulb:0x0000000907b4b8>`. Give a better message so
we can easily understand why it's failing to save/destroy.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Correctly dump `:options` on `create_table` for MySQL
|