1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/generators
Assain 1cda4fb5df Purpose Metadata For Signed And Encrypted Cookies
Purpose metadata prevents cookie values from being
copy-pasted and ensures that the cookie is used only
for its originally intended purpose.

The Purpose and Expiry metadata are embedded inside signed/encrypted
cookies and will not be readable on previous versions of Rails.

We can switch off purpose and expiry metadata embedded in
signed and encrypted cookies using

	config.action_dispatch.use_cookies_with_metadata = false

if you want your cookies to be readable on older versions of Rails.
2018-08-12 21:50:35 +05:30
..
actions Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
css [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
erb Strip duplicated suffixes more strictly 2018-04-22 14:30:07 +09:00
js/assets [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
rails Purpose Metadata For Signed And Encrypted Cookies 2018-08-12 21:50:35 +05:30
test_unit Strip duplicated suffixes more strictly 2018-04-22 14:30:07 +09:00
testing [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
actions.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00
active_model.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
app_base.rb Merge pull request #33202 from deivid-rodriguez/bundler_binstubs 2018-08-11 10:36:42 -04:00
base.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
erb.rb [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
generated_attribute.rb Enable autocorrect for Lint/EndAlignment cop 2018-01-18 17:19:13 +09:00
migration.rb Deprecate safe_level of ERB.new in Ruby 2.6 2018-03-05 18:49:45 +09:00
model_helpers.rb [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
named_base.rb Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
resource_helpers.rb Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
test_case.rb [Railties] require_relative => require 2017-10-21 22:48:26 +09:00
test_unit.rb [Railties] require_relative => require 2017-10-21 22:48:26 +09:00