| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
| |
Passing `true` to the association has been deprecated.
|
|
|
|
| |
Add `:other_than` option documentation.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
[restful-authentication](https://rubygems.org/gems/restful-authentication/versions/1.2.1) hasn't been updated since
September 6th, 2012 so it might not be a great idea to recommend that Rails users try it out.
Devise seems like a much more popular and secure solution that automatically resets sessions on sign in and out
so it's a great example in this case.
/cc @tenderlove @josevalim
|
|
|
|
| |
[ci skip]
|
|
|
|
|
|
|
|
| |
[ci skip]
Sync AV, AR, AJ, AS, AM changelogs with our 5.0 release notes draft.
This is a follow up to c94045d and contains changes made since the
release of beta1.
|
|
|
|
|
|
|
|
|
|
| |
[ci skip]
This updates the 5.0 release notes guide to reflect changes that
happened after beta1 has been released.
I'll sync the other changelogs later today but I'll push this batch to
prevent against cumbersome merge conflicts.
|
|
|
|
| |
Follow up to 625baa69d14881ac49ba2e5c7d9cac4b222d7022
|
| |
|
| |
|
|
|
|
|
|
| |
The logger interface to get all Rails features is not obvious. This change adds documentation on how to assign a logger that will use all Rails features.
We are also matching the stdout logging interface to the default logger in bootstrap https://github.com/rails/rails/blob/f5a5988352b165143f0f9d622707c351c1470882/railties/lib/rails/application/bootstrap.rb#L42-L45.
|
| |
|
|
|
|
|
| |
In this patch, all log-related stuff in `ActiveSupport::Dependencies`
is removed because the logging is no longer useful.
|
| |
|
| |
|
|
|
|
| |
Follow up to #24115.
|
|
|
|
|
|
| |
Clarifies the documentation here to mean all options are for when the
relation is destroyed; also now reflects the documentation on this same
option found in the has_one section.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
`Sprockets` does not respond to the call method, so I changed the
example to use a fake `MyRackApp`.
Closes #22579.
[ci skip]
|
|\
| |
| |
| |
| | |
Conflicts:
guides/source/association_basics.md
|
| |
| |
| |
| |
| |
| |
| | |
- We no longer add `null: false` for timestamps columns as per
rails/rails@a939506.
- Followup of
https://github.com/rails/docrails/commit/14867b1a9af813b0147bba2ae06675137d61d77b.
|
| |
| |
| |
| |
| |
| |
| |
| | |
- We no longer add `null: false` for timestamps columns as per
https://github.com/rails/rails/commit/a939506f297b667291480f26fa32a373a18ae06a.
- Similarly `references` and `belongs_to` columns no longer mention
`index: true` in migration files. It's added by default as per
https://github.com/rails/rails/commit/909818b93b8f1bd4d7053a1c5d8135b9b0cbe865.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Follow up 8c629bf463b47643712570d4511a68b9a3da1476.
`bundle exec rake test` in 'activerecord' runs tests for
* sqlite3
* mysql2
* postgresql
|
| |
| |
| |
| | |
Follow up to ddf4c953ae8d10489e0bfd6008bd76395f6e1267
|
| |
| |
| |
| |
| |
| |
| |
| | |
In the latest security releases render with a trailing slash no more call
render :file.
Also add a note about the security implications of using it with user
parameters.
|
| |
| |
| |
| |
| | |
`config.assets.raise_runtime_errors` and `config.assets.digest` are enabled
by default in sprockets-rails 3.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The `before_save` callback used with `set_author` results in the
validation error "Author must exist," due to the change in `belongs_to`
behavior introduced by #18937.
Use `before_validation` instead.
|
|\ \
| | |
| | | |
add `scaffold_stylesheet` method to guide [ci skip]
|
| | |
| | |
| | |
| | | |
`scaffold_stylesheet` was added in #20479.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Since f6e4814 was written we've made collection caching explicit.
Thus the documentation is outdated and needs a rewrite.
|
|/ / |
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | |
| | | |
Deprecate `Module.local_constants`
|
| | |
| | |
| | |
| | |
| | | |
After Ruby 1.9, we can easily get the constants that have been
defined locally by `Module.constants(false)`.
|
|\ \ \
| | | |
| | | |
| | | | |
Add option to error on ignored order or limit
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ignored in batches
add some documentation and add 4 tests regarding error vs. warning behavior
fix a typo when referring to the message
go back to default in tests so that ordering is not important. use a constant instead of method. fix assert_nothing_raised call. use self.klass to allow per class configuration
remove logger warn assets as that is tested elsewhere. pass error_on_ignore through find_each and find_in_batches also.
add blocks to the finds so that the code is actually executed
put the setting back to default in an ensure
Add a changelog entry
|
|\ \ \ \
| | | | |
| | | | | |
Fix value of CSS background-color property in Ruby on Rails guide
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Change background-color value to transparent, which is the default value of background-color.
[ci skip]
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch fixes some typos in the Action View Overview section of the Rails guide.
[ci skip]
|
| | | | |
|