| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
|
| | |
|
| | |
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | | |
view_cache_dependency API
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A declarative API for specifying dependencies that affect template
cache digest computation. In your controller, specify any of said
dependencies:
view_cache_dependency { "phone" if using_phone? }
When the block is evaluated, the resulting value is included in the
cache digest calculation, allowing you to generate different digests
for effectively the same template. (Mostly useful if you're mucking
with template load paths.)
|
|\ \
| | |
| | | |
set 'alt' attribute for image_submit_tag
|
| | | |
|
| | |
| | |
| | |
| | | |
the discussion on https://github.com/rails/strong_parameters/pull/75.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It includes security bug fixes and changes the initialization of
Rack::File to accept a hash, otherwise generating warnings.
See 295806e for the warnings fix.
|
|\ \ \
| |/ /
|/| | |
Eliminate Rack::File headers deprecation warning
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
See http://intertwingly.net/projects/AWDwR4/checkdepot/section-6.1.html
rake test produces:
"Rack::File headers parameter replaces cache_control after Rack 1.5."
Despite what the message says, it appears that the hearders parameter change
will be effective as of Rack 1.5:
https://github.com/rack/rack/blob/rack-1.4/lib/rack/file.rb#L24
https://github.com/rack/rack/blob/master/lib/rack/file.rb#L24
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously rendering a partial without giving :object or :collection
would generate a local variable with the partial name by default.
This was noticed due to warnings in Ruby 2.0 of not used variables,
which turned out to be the generation of not used variables inside
partials that do not contain objects related to them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some tests were raising the following error:
Could not log "sql.active_record" event. NoMethodError: undefined method
`type' for nil:NilClass`
Due to the way binds were being logged, the column info was considered
always present, but that is not true for some of the tests listed in the
issue.
Closes #8806.
|
|\ \
| | |
| | | |
refactor reset_primary_key and change !blank? to present? in get_primary...
|
| | | |
|
|\ \ \
| | | |
| | | | |
Use absolute path [ci skip]
|
|/ / /
| | |
| | |
| | | |
It is semantically correct than relative path.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Don't require 'turn' from rails/test_help
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If 'turn' is in the Gemfile with `:require => nil`, Rails should
respect that.
This supports the case where 'turn' may or may not be required
depending on different developers' preference or environment. E.g., you
require turn for local testing, but not on your CI server by putting
this in `test/test_helper.rb`:
require 'turn' if ENV['TURN']
|
| | | |
| | | |
| | | |
| | | | |
This avoids "SECURITY WARNING: No secret option provided to Rack::Session::Cookie."
|
|\ \ \ \
| | | | |
| | | | | |
Update guides/source/getting_started.md [ci skip]
|
| |/ / /
| | | |
| | | | |
Reflect change in 009873a that renamed the script/ folder to bin/
|
| | | |
| | | |
| | | |
| | | | |
actions.rb:34: warning: instance variable @in_group not initialized
|
| | | |
| | | |
| | | |
| | | | |
Related to the change introduced in 6cf47c533d7d6784d34fc31406a335555e0c32b8.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
The doc:rails application rake task needs this README.
|
| | | |
| | | |
| | | |
| | | | |
Closes #8804 [ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Improve StrongParameters documentation [ci skip]
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Place article name in the beginning of guides page title
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These warnings were actually a bug in Ruby 2.0, the accessors should not
be raising such warnings, they are only meant for ivars.
-
Revert "fix warnings in Ruby 2.0"
This reverts commit 26702a6d3461f4a1c75165030b96886514ecb877.
-
Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2"
This reverts commit f63d6544e45e78cda29c0c56fbdf3d9e1f405340, reversing
changes made to 3a890681fad8218305585036abed6d7463a44e41.
|
|\ \ \ \
| | | | |
| | | | | |
Access ivars via instance reader methods for consistency
|
|/ / / / |
|
|\ \ \ \
| |_|/ /
|/| | | |
Refactor ShowExceptions' #call to use def-rescue instead of begin-rescue
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Remove begin-rescue in favor of def-rescue
|