From 84ca8c8cd07d700598e87b418370268f146b122c Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Wed, 28 Mar 2012 06:58:17 -0700 Subject: Merge pull request #5633 from drogus/embed-auth-token-in-remote-forms Embed auth token in remote forms --- actionpack/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 465d19e50d..d275569cf6 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,7 @@ ## Rails 3.2.3 (unreleased) ## +* Add `config.action_view.embed_authenticity_token_in_remote_forms` (defaults to true) which allows to set if authenticity token will be included by default in remote forms. If you change it to false, you can still force authenticity token by passing `:authenticity_token => true` in form options *Piotr Sarnacki* + * Do not include the authenticity token in forms where remote: true as ajax forms use the meta-tag value *DHH* * Turn off verbose mode of rack-cache, we still have X-Rack-Cache to -- cgit v1.2.3 From dd69076eb8210fdbf86acd6b9f9fbe70db881538 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Thu, 29 Mar 2012 10:55:47 -0300 Subject: Add missing CHANGELOG entry --- actionpack/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index d275569cf6..fd6a26c6db 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,7 @@ ## Rails 3.2.3 (unreleased) ## +* Fix #5632, render :inline set the proper rendered format. *Santiago Pastorino* + * Add `config.action_view.embed_authenticity_token_in_remote_forms` (defaults to true) which allows to set if authenticity token will be included by default in remote forms. If you change it to false, you can still force authenticity token by passing `:authenticity_token => true` in form options *Piotr Sarnacki* * Do not include the authenticity token in forms where remote: true as ajax forms use the meta-tag value *DHH* -- cgit v1.2.3 From b395ca1fda3a3a41714511b111d353b8dade3b6c Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Thu, 29 Mar 2012 11:19:26 -0300 Subject: Add missing CHANGELOG entry --- actionpack/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index fd6a26c6db..b0e7890512 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -2,6 +2,8 @@ * Fix #5632, render :inline set the proper rendered format. *Santiago Pastorino* +* Fix textarea rendering when using plugins like HAML. Such plugins encode the first newline character in the content. This issue was introduced in https://github.com/rails/rails/pull/5191 *James Coleman* + * Add `config.action_view.embed_authenticity_token_in_remote_forms` (defaults to true) which allows to set if authenticity token will be included by default in remote forms. If you change it to false, you can still force authenticity token by passing `:authenticity_token => true` in form options *Piotr Sarnacki* * Do not include the authenticity token in forms where remote: true as ajax forms use the meta-tag value *DHH* -- cgit v1.2.3 From 5c7bb86a1bafbc6f067452768f37e566d6020918 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Fri, 30 Mar 2012 11:39:18 -0300 Subject: Remove the leading \n added by textarea on assert_select --- actionpack/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index b0e7890512..ed3135f384 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,7 @@ ## Rails 3.2.3 (unreleased) ## +* Remove the leading \n added by textarea on assert_select. *Santiago Pastorino* + * Fix #5632, render :inline set the proper rendered format. *Santiago Pastorino* * Fix textarea rendering when using plugins like HAML. Such plugins encode the first newline character in the content. This issue was introduced in https://github.com/rails/rails/pull/5191 *James Coleman* -- cgit v1.2.3