- 20 1月, 2016 19 次提交
-
-
由 schneems 提交于
Revert "Its ideal to set Vary: Accept-Encoding, irrespective of whether gzipped version exists or not. This is helpful for CDN's to later distinguish assets, based on previous, current copies and introduced gzip version if any." This reverts commit 067c52f6. Conversation: https://github.com/rails/rails/pull/23120#issuecomment-173007011
-
由 Sean Griffin 提交于
We want this method to be the single canonical source of information about type metadata related to a model. This is the method I've been continuously recommending people use if they need this sort of access, as I have no plans to remove or change it at any point in the future. We can do ourselves a favor and get people to use this instead of relying on some other part of the internals that they shouldn't be by making this method public.
-
由 Richard Schneeman 提交于
Its ideal to set Vary: Accept-Encoding, irrespective of whether gzipped or not
-
由 Rafael França 提交于
[ci skip] update guide for Puma web server instead of Webrick
-
由 Gaurav Sharma 提交于
Rails 5.0 default server puma web server. following commit - https://github.com/rails/rails/commit/ae48ea69
-
由 Yves Senn 提交于
- Changed from bin/rake to bin/rails at more application places. [ci skip]
-
由 Vipul A M 提交于
- Only ones left are from the upgrading guide, and command line guide explicit section about rake Follow up of https://github.com/rails/rails/pull/23119 [ci skip]
-
由 Richard Schneeman 提交于
[close #23084] Deprecated StrongParameters
-
由 Jon Moss 提交于
use bin/rails default instead of rake commands [ci skip]
-
由 schneems 提交于
-
由 Vipul A M 提交于
Its ideal to set Vary: Accept-Encoding, irrespective of whether gzipped version exists or not. This is helpful for CDN's to later distinguish assets, based on previous, current copies and introduced gzip version if any. For ref: https://www.fastly.com/blog/best-practices-for-using-the-vary-header This change sets `Vary` header always, to be on safer side
-
由 Gaurav Sharma 提交于
I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …`
-
由 schneems 提交于
It's reasonable to expose different value readers.
-
由 schneems 提交于
We can provide a more flexible upgrade experience by warning users they are using unsafe methods instead of forcing the safe API by deprecating before removal. This PR provides this functionality.
-
由 David Heinemeier Hansson 提交于
Guides header changes
-
由 Vipul A M 提交于
- Add new logo for guides header [ci skip]
-
由 Yves Senn 提交于
Fix test failure on PostgreSQL by sorting the result before comparison
-
由 Prathamesh Sonpatki 提交于
-
由 Yves Senn 提交于
Closes #21986. This makes it possible to write custom types that define a different mapping for STI columns.
-
- 19 1月, 2016 17 次提交
-
-
由 Abdelkader Boudih 提交于
Mention that halting chain does not re-raise `ActiveRecord::RecordIn…
-
由 प्रथमेश Sonpatki 提交于
Make text about render :html option clearer to state, text will get e…
-
由 Vipul A M 提交于
Mention that halting chain does not re-raise `ActiveRecord::RecordInvalid` exception as well, similar to `ActiveRecord::Rollback` Fixes #22297 [ci skip]
-
由 Vipul A M 提交于
Make text about render :html option clearer to state, text will get escaped if not marked as safe by using html_safe Fixes #22648 [ci skip]
-
由 Kasper Timm Hansen 提交于
refer to rails command instead of rake in environment error
-
由 yuuji.yaginuma 提交于
It has been to use an overall rails command in ea4f0e2b, in order to unify.
-
由 Kasper Timm Hansen 提交于
Fix discrepancies in associations guide [ci skip]
-
由 प्रथमेश Sonpatki 提交于
`ApplicationRecord` instead of `ActiveRecord::Base` in Association G…
-
由 amitkumarsuroliya 提交于
-
由 Kasper Timm Hansen 提交于
Forgot to remove it, when I changed the expectations in 88881d2b.
-
由 Kasper Timm Hansen 提交于
If running `bin/rails t test/models/bunny_test.rb:` we'd implicitly run all the tests in the bunny test. I now highly doubt that people would ever put in a line filter without a line *and* want that to mean run all tests in that file. Instead, change regex to require a line digit after the colon, so runs without a line at the end would fail to require the test file. This also has the side benefit of breaking requiring a file with many colons: `bin/rails t test/models/bunny_test.rb:::::::::::::4` Think this means I've had enough colonoscopy to last me through the year :)
-
由 Kasper Timm Hansen 提交于
Changed options for find_each and variants to have options start/finish
-
由 Kasper Timm Hansen 提交于
CodeStatistic will now ignore hidden files:
-
由 Edouard CHIN 提交于
- Modify the default regex to not match hidden files
-
由 Jon Moss 提交于
Association Guide replaces Order as example with Author-Book Example …
-
由 amitkumarsuroliya 提交于
fixes #21500
-
- 18 1月, 2016 4 次提交
-
-
由 Jon Moss 提交于
Add clarification about `first` and `last` behavior when using `order` [ci skip]
-
由 Santiago Pastorino 提交于
Checked in changes to Gemfile.lock on latest master
-
由 Jon Moss 提交于
Updated the guides for having a distinct has_many through at the data…
-
由 Jon Moss 提交于
[ci skip] Improve Action Cable configuration explanations
-