- 20 8月, 2016 1 次提交
-
-
由 Jon Atack 提交于
Listening to a few developers today discussing their troubles in understanding how to use the asset pipeline, it turns out that the precompile examples in the guides and assets.rb template have over time become a bit inconsistent. This PR makes the examples consistent in code style, spacing, and asset names, removes the old 'swfObject.js' example, and in a couple of places wraps lines at 80 characters including in the assets.rb template. Re-add spaces inside array parentheses.
-
- 13 8月, 2016 12 次提交
-
-
由 Rafael França 提交于
Ensure app/mailers is removed when skipping action-mailer
-
由 Brian Cardarella 提交于
Closes #26145
-
由 Rafael França 提交于
Add documentation about `ActiveSupport.on_load`
-
由 mrageh 提交于
[ci skip] This commit adds some docs that explain how `LazyLoadHooks.on_load` method works.
-
由 Rafael França 提交于
Use `ActiveRecord::TestCase` rather than `ActiveSupport::TestCase` in AR test cases
-
由 Rafael França 提交于
Make cache max-age durations self-explanatory
-
由 Rafael França 提交于
Pass over changelogs
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
They are not part of the public API
-
由 Jon Moss 提交于
Update example in Http::Headers object to use `.from_hash`
-
由 Javier Julio 提交于
When initializing an `ActionDispatch::Http::Headers` object it takes a request object (Rails 5) whereas before it took a hash (Rails 4.x) but the documented example still shows a hash given to the constructor (due to commit 34fa6658) so this is just a documentation change to use the new `from_hash` method introduced in that earlier commit.
-
由 Nathan Long 提交于
-
- 12 8月, 2016 11 次提交
-
-
由 Rafael França 提交于
Ensure values are strings before calling gsub
-
由 Mike Virata-Stone 提交于
-
由 Jon Moss 提交于
[ci skip] Fix the wrong ActionCable documentation in the guide.
-
由 Jon Moss 提交于
[ci skip] Add documentation to Parameter Encoding
-
由 Aaron Patterson 提交于
Fix unsafe query generation risk. Redo of CVE-2012-2660, CVE-2012-2694 and CVE-2013-0155 CVE-2016-6317
-
由 Sean Griffin 提交于
Creating a new Topic class instead of class_eval for the existing one
-
由 Sean Griffin 提交于
Fix warning: ambiguous first argument
-
由 Ryuta Kamizono 提交于
-
由 Andrew Carpenter 提交于
Many helpers mark content as HTML-safe without escaping double quotes -- including `sanitize`. Regardless of whether or not the attribute values are HTML-escaped, we want to be sure they don't include double quotes, as that can cause XSS issues. For example: `content_tag(:div, "foo", title: sanitize('" onmouseover="alert(1);//'))` CVE-2016-6316
-
由 Eric Zhang 提交于
-
由 Eric Zhang 提交于
-
- 11 8月, 2016 12 次提交
-
-
由 Yasuo Honda 提交于
since it affects another test `ReflectionTest#test_read_attribute_names` Address #26099
-
由 Alex Kitchens 提交于
-
由 Kasper Timm Hansen 提交于
add missing require rake
-
由 yuuji.yaginuma 提交于
In ff8035df, require rake is deferred. Therefore, it is necessary to require rake even `Engine::CommandsTasks.
-
由 Ryuta Kamizono 提交于
-
由 Kasper Timm Hansen 提交于
Fix actionview test failure
-
由 Ryuta Kamizono 提交于
Caused by #26092.
-
由 Guillermo Iguaran 提交于
Minor doc fix related to ActiveModel::SecurePassword [ci skip]
-
由 Xavier Noria 提交于
Thinking .. relative to files is not natural, we are used to think "parent of a directory", and we have __dir__ nowadays.
-
由 Aditya Kapoor 提交于
-
由 Vipul A M 提交于
Add documentation for `http_cache_forever`. [ci skip]
-
由 Aaron Patterson 提交于
Allow specifying encoding of parameters by action
-
- 10 8月, 2016 4 次提交
-
-
由 Santosh Wadghule 提交于
-
由 Yves Senn 提交于
Fix a NoMethodError schema_statements.rb
-
由 Andrew White 提交于
In c546a2b0 parameter handling in AC test cases was changed to round tripping through encoders/decoders so that they matched reality and in 0adb8f8f the old methods were removed but the `html_format?` method was overlooked.
-
由 Genadi Samokovarov 提交于
If you call `remove_index` with wrong options, say a type, like I did, you get: ``` == 20160810072541 RemoveUniqueIndexOnGoals: migrating ========================= -- remove_index(:goal, {:coulmn=>:kid_id, :unique=>true}) rails aborted! StandardError: An error has occurred, this and all later migrations canceled: undefined method `ArgumentError' for #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x007fb7dec91b28> ``` What happened is that I mistyped column (coulmn) and got a `NoMethodError`, because of a missing comma during the raise. This made Ruby think we're calling the method `ArgumentError`.
-