| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The original patch that added this concept can be found
[here](https://web.archive.org/web/20090601022739/http://dev.rubyonrails.org/ticket/9767).
The current default behavior is to cache everything except serialized
columns, unless the user specified otherwise. If anyone were to specify
otherwise, many types would actually be completely broken. Still, the
method is left in place with a deprecation warning in case anyone is
actually still calling this method.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add has_one? docs
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Add test cases for #in? and #presence_in
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Remove deprecation warning
|
| | |_|/ / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Ensure `column_types` returns a type object, and not a column
|
| | |_|/ / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Remove YAML serialization workaround for columns
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We are no longer including column objects in YAML serialization, thanks
to https://github.com/rails/rails/pull/15621
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Follow up to #15636.
/cc @hundredwatt
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix Apache Directives [ci skip]
|
|/ / / / / /
| | | | | |
| | | | | | |
Directives need to be placed on their own lines in order to work. Tested on: `Server version: Apache/2.2.22 (Ubuntu); Server built: Mar 19 2014 21:11:15`
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | |
| | | | | | |
add missing changelog entry. refer [#16db90d] [ci skip]
|
|/ / / / / |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
No need to decorate columns twice
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We never want result types to override column types, and
`decorate_columns` can only affect column types. No need to go through
the decoration multiple times, we can just exclude the column types from
the result types instead.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Fix doc for javascript_helper
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Correct Bundler link [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Refine Action Mailer guide.
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Wrap 80 words if possible.
* Make attachment hash options more readable. (L239-L243)
Before:

After:

* L619 Wrap "location" in code: `"location"`.
* L628 Use actual section name.
* L697 Remove unnecessary `./` when refer to other guide.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
remove deprecation call while initializing `ClassCache` object
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
fix error with long keys in ActiveSupport::Cache::FileStore
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Improve enable_starttls_auto documentation (Action Mailer).
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Add Docs for strip_insignificant_zeros option in number_to_human
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Remove deprecated method ActiveRecord::Base.quoted_locking_column
|
| |/ / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
[ci skip] Correct output and use valid options of number helpers
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix warnings in tests
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
```
activerecord/test/cases/adapters/postgresql/range_test.rb:159: warning: (...) interpreted as grouped expression
activerecord/test/cases/finder_test.rb:38: warning: shadowing outer local variable - e
activerecord/test/cases/finder_test.rb:43: warning: shadowing outer local variable - e
```
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Keep the types of virtual columns after yaml serialization
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
On MySQL and PostgreSQL, the adapter does not type cast virtual columns
for us.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
remove depricated Validatior#setup
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Fix cache_digest rake tasks
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bring cache_digests:* rake tasks up-to-date with the API changes introduced in
637bb726cac60aaa1f7e482836458aa73e17fbb7
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Inline PG array type casting helper
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Senn]
This is a follow up to #15602 which rendered the guides in a weird state:
> You can also specify some options just after the field type between curly
braces. You can use the following modifiers:
> `null` Allows or disallows `NULL` values in the column.
> NOTE: `null` and `default` cannot be specified via command line.
The modifiers are now moved into a separate section. The generator
simply referes to that section.
Related to #15583.
/cc @JuanitoFatas
|