Commit Graph

145 Commits

Author SHA1 Message Date
Godfrey Chan
2d24eb4ee7 Clearly mark these as WIP, and invite people to contribute. [ci skip] 2014-08-19 18:50:13 -07:00
Sean Griffin
79d8fb7cfe require 'test_help' -> require 'rails/test_help' 2014-08-18 22:04:10 -06:00
Aditya Kapoor
864469018c fix broken link [ci skip] 2014-08-19 01:26:54 +05:30
Kasper Timm Hansen
1e2ffe7ae6 Prepare for partial release.
- Default to Rails::DeprecatedSanitizer in ActionView::Helpers::SanitizeHelper.
- Add upgrade notes.
- Add sanitizer to new applications Gemfiles.
- Remove 'rails-dom-testing' as a dependency.
2014-08-17 19:25:47 +02:00
Godfrey Chan
49798b52bf Merge pull request #16300 from vast/mention-changes-to-nil-serialization-in-upgrading-from-3.2
Mention changes to `nil` handling in serialized attributes
2014-08-10 20:31:10 -07:00
Stefan Kanev
c294e91d00 Add after_bundle to the release notes and upgrade guide 2014-08-05 19:38:48 +03:00
Vasily Polovnyov
4bfd0cef5b [ci skip] Clarify the "Serialized Attributes" section
Mention that the change in nil handling for serialized attributes
affects custom coders.
2014-07-26 22:47:24 +04:00
Vasily Polovnyov
9c8826bcd2 [ci skip] Mention the change in nil handling for serialized attributes
in "Upgrading from Rails 3.2 to Rails 4.0"
2014-07-26 22:42:50 +04:00
Godfrey Chan
da6472c916 Document the change in nil handling for serialized attributes
Also updated the test case to reflect that
2014-07-15 09:08:31 -07:00
Eugene Gilburg
d703fe5fff [ci skip] Document millisecond precision change in ActiveSupport::TimeWithZone#as_json 2014-07-09 14:23:30 -07:00
Nick Pellant
9c3cb751f0 [ci skip] Improve callback code example for 4.1 upgrade docs.
The previous code example for the new explicit block requirement when
setting callbacks was a little confusing. This commit makes the example
more obvious.
2014-07-07 13:24:26 +01:00
Nick Pellant
489e531334 Add callbacks documentation for upgrading to 4.1.
It is now expected in 4.1 to use an explicit block rather than implicit
when setting callbacks through ActiveSupport::Callbacks. This commit
highlights this new expectation as part of the upgrading documentation.
2014-07-07 12:02:26 +01:00
Juanito Fatas
e9700d6218 [ci skip] Add missing prologue section of upgrading ruby on rails guide. 2014-07-01 22:35:20 +08:00
Yves Senn
b0594a773d Merge pull request #15810 from maurogeorge/guides-rails-update
Add rails:update to the upgrading guides
2014-06-24 09:57:47 +02:00
Anton Cherepanov
e2960fb293 Small typo 2014-06-23 23:15:58 +06:00
Mauro George
469264ff5f Add rails:update to the upgrading guides
[ci skip]
2014-06-19 18:04:29 -03:00
Dan Rice
69b54fcfd8 [ci skip] Fix typo in 4.1 upgrade/flash structure 2014-06-19 12:40:03 -04:00
Zachary Scott
88421bd7e5 Create 4.2 release notes guide scaffold [ci skip]
Point to future 4-2-stable branch for detailed changes. [ci skip]

Sync Active Support changelogs with release notes [ci skip]

4.2 Release Notes is a work in progress [ci skip]

Assorted fixes for AS release notes [ci skip]

* `Hash#deep_transform_keys` has already been backported
* Mentioning `ActiveSupport::SafeBuffer#prepend` in the "Deprecations" section would be enough
* Fix syntax in `Kernel#concern` example

Sync AS release notes with the latest commits [ci skip]

Synced 4.2 release notes with commits in railties [ci skip]

Sync AP Deprecations and Notable changes from CHANGELOG [ci skip]

Removed 4.2 release notes from the index [ci skip]

This deprecation was reverted in 489a8f2 [ci skip]

Synced Active Record changelogs for 4.2 release notes [ci skip]

Synced Active Model changelog with the release notes [ci skip]

Added cc26b6b as a 'Removal' item in AP release notes [ci skip]

Use 'character' instead of 'symbol' to avoid confusion [ci skip]

Edit pass on 4.2 release notes [ci skip]

📝 💄 Use `.xyz` and `#xyz` appropiately [ci skip]
2014-06-13 12:00:48 -07:00
George Ogata
1033b7fb52 Update guides to mention 3.2.18.
And reword things a little to mention the specific patch release less.
2014-05-30 11:52:00 -04:00
John Kelly Ferguson
d02c810e29 Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] 2014-05-21 23:01:45 -04:00
Josef Šimánek
981dda53db Use generated binstubs in guides examples.
[ci skip]
2014-05-20 13:29:18 +02:00
Yves Senn
779ff5cdeb doc, pg hstore and json columns are mapped as Hash. [ci skip]
Closes #15141.
2014-05-17 00:25:53 +02:00
Yves Senn
e83a6ff5b7 remove trailing whitespace. [ci skip] 2014-05-17 00:24:50 +02:00
Parth Bharadiya
3fe7b5f4a1 Correct factual error for page not found 2014-04-10 15:41:09 +05:30
Rafael Mendonça França
040a1dbb11 Merge pull request #14654 from Alamoz/secret_key
Expand explanation of how to set secrets.yml.
2014-04-09 13:05:44 -03:00
Yves Senn
7cf46ad889 upgrading section for 4.1 is no longer WIP. [ci skip] 2014-04-09 11:23:33 +02:00
Adrien Lamothe
a4e5587236 Expand explanation of how to set secrets.yml. [ci skip] 2014-04-08 21:18:26 -07:00
Carlos Antonio da Silva
5aa4157ae4 Fix cookie serializer docs
The option actually needs to be set on action_dispatch. [ci skip]
2014-04-02 13:19:13 -03:00
Alessandro Tagliapietra
8ae3f24eb7 Fixed small documentation typo
Using `Rails.application.config.cookies_serializer :hybrid` throws an exception, fixed to `=`.
2014-04-02 16:02:13 +02:00
Godfrey Chan
3dad856a1a Added a warning about serializing data with JSON cookie jars [skip ci]
Closes #14409
2014-03-19 15:39:22 -07:00
Yves Senn
8d486c63d6 docs, flash message keys are normalized to strings. [ci skip]
This is a follow up to a668beffd64106a1e1fedb71cc25eaaa11baf0c1
2014-03-05 09:53:39 +01:00
Kuldeep Aggarwal
5ce58dbcee [ci skip] update guides to new version of rails 3.2.x 2014-02-21 01:05:26 +05:30
Amit Thawait
b74490e4f2 Typo fix for unscope 2014-02-18 11:26:54 -08:00
Prem Sichanugrist
ede0f8c62d Update upgrading guide regarding render :text 2014-02-18 12:11:41 -05:00
Rafael Mendonça França
6c496a6d2a Merge pull request #14095 from rails/rm-scopes
Document `default_scope` changes
2014-02-18 14:06:29 -03:00
Rafael Mendonça França
fc641a1a5b Don't use # => when it is not the expression values
[ci skip]
2014-02-18 13:49:31 -03:00
Rafael Mendonça França
967a6dc898 Fix the column name [ci skip] 2014-02-18 13:49:31 -03:00
Rafael Mendonça França
6370e69143 Document the default scopes change on the release notes, CHANGELOG
and upgrating guides

[ci skip]
2014-02-18 13:49:30 -03:00
Carlos Antonio da Silva
76fec334ee Minor grammar/punctuation fixes [ci skip] 2014-02-18 12:50:02 -03:00
Arthur Neves
4921d39488
Doc: assets:precompile:all was removed on 4 [skip ci] 2014-02-18 10:32:05 -05:00
Godfrey Chan
0b86a6e950 Updated CHANGELOG, docs, guides and release notes.
Also added a `cookies_serializer.rb` initializer to the app template.
2014-02-11 02:52:07 -08:00
Arel English
7f255245bd Fix a typo that says you application [ci skip] 2014-01-20 00:37:48 -05:00
Rajesh Thummalapally
610a3e8bdb Correcting link that is pointing to Rails blog [ci skip] 2014-01-19 23:47:48 -05:00
Rashmi Yadav
b20d4453dd Spring in now under rails/spring [ci skip] 2014-01-19 10:52:49 +01:00
Chulki Lee
1ab6c656d6 Use single quotes in generated files 2014-01-14 11:13:42 -08:00
Rystraum Gamonez
25a9623422 Updated Changelog to reflect removal of :dependent => :restrict
Based on https://github.com/rails/rails/issues/2502, the option has
been removed.
2014-01-14 01:29:26 +08:00
Jon Leighton
ff7ab3bc78 Automatically maintain test database schema
* Move check from generated helper to test_help.rb, so that all
  applications can benefit
* Rather than just raising when the test schema has pending migrations,
  try to load in the schema and only raise if there are pending
  migrations afterwards
* Opt out of the check by setting
  config.active_record.maintain_test_schema = false
* Deprecate db:test:* tasks. The test helper is now fully responsible
  for maintaining the test schema, so we don't need rake tasks for this.
  This is also a speed improvement since we're no longer reloading the
  test database on every call to "rake test".
2014-01-02 13:49:00 +00:00
Jeremy Kemper
d3fcaba626 Mention new CSRF protection gotcha in upgrade guide 2013-12-17 15:40:11 -07:00
Jeremy Kemper
2b096c7170 Merge pull request #13314 from laurocaetano/blacklist_array_methods
Create a blacklist to disallow mutator methods to be delegated to Array

Conflicts:
	guides/source/upgrading_ruby_on_rails.md
2013-12-17 11:29:23 -07:00
Yves Senn
bb0bc7a26f Merge pull request #13346 from chancancode/release_notes_etc
Release notes fixes [ci skip]
2013-12-17 08:56:27 -08:00