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
Godfrey Chan
2003d0409e
Some assorted fixes for the 4.1 release notes:
...
* Added release notes for secrets.yml and mentioned it in the highlights
* Added release notes for Mailer previews and mentioned it in the highlights
* Added release notes for Module#concerning
* Removed mention for AV extraction from the highlights
* Rearranged the major features to put highlighted features first
* Various improvements and typo fixes
[ci skip]
2013-12-17 08:39:07 -08:00
Lauro Caetano
d4ee09cda1
Create a blacklist to disallow mutator methods to be delegated to Array
.
...
This change was necessary because the whitelist wouldn't work.
It would be painful for users trying to update their applications.
This blacklist intent to prevent odd bugs and confusion in code that call mutator
methods directely on the `Relation`.
2013-12-17 13:43:10 -02:00
Carlos Antonio da Silva
8e21ae37ad
Add changelog and upgrading notice related to I18n enforce_available_locales handling
2013-12-17 09:06:56 -02:00
Xavier Noria
6814c78b67
copy-edits 68abbac [ci skip]
...
* Rewording to avoid "you"s.
* Suggest as first natural alternative to refactor the block
to evaluate to the returned value.
* Removes the quotes around "filters", since that is a common
work in our jargon.
2013-12-12 21:22:37 +01:00
Godfrey Chan
68abbac2fc
Warn about using return
inside inline callback blocks [ci skip]
...
Closes #12981
2013-12-11 15:58:12 -08:00
Prashant Sahni
71a7b1f1d4
capitalize words starting after numbered list to maintain consistency [ci skip]
2013-12-06 11:47:22 +05:30
Kuldeep Aggarwal
673a8a8dfe
update guides to new version of rails 3.2.x[ci skip]
2013-12-05 00:08:02 +05:30
Yves Senn
828a8f2145
add Spring as major feature in the 4.1 release notes. [ci skip]
...
Follow up to #12958 .
2013-12-04 11:54:34 +01:00
Godfrey Chan
3fd0bf4896
Added JSON release notes [ci skip]
2013-12-03 16:21:12 -08:00
Victor Costan
ddf27acbc2
Introduce a context for rendering fixtures ERB.
...
Fixture files are passed through an ERB renderer before being read as
YAML. The rendering is currently done in the context of the main object,
so method definitons leak into other fixtures, and there is no clean
place to define fixture helpers.
After this commit, the ERB renderer will use a new subclass of
ActiveRecord::FixtureSet.context_class each time a fixture is rendered.
2013-12-03 02:52:26 -05:00
Yves Senn
8c944dea76
create 4.1 release notes guide scaffold. [ci skip]
2013-11-28 15:49:01 +01:00
Yves Senn
88fec426fc
3.2 to 4.0 section in upgrading guide is no longer wip. [ci skip]
2013-11-28 15:43:28 +01:00
Yves Senn
9bb173cb34
move "HTTP PATCH" paragraph into "Upgrading 3.2 -> 4.0". [ci skip]
2013-11-28 15:43:28 +01:00
Juanito Fatas
66e44862bd
[ci skip] Update gem versions for 3.2 and 3.1. Also change some words.
2013-11-16 10:24:18 +08:00
Rashmi Yadav
6c83aaf4ae
asset_url => asset-url in sass-rails docs [ci skip]
2013-09-13 19:19:28 +02:00
Vipul A M
eb06bb7288
Fix spacing issue
2013-09-03 00:48:50 +05:30
Gary S. Weaver
a394f91009
adding more finder migration information to upgrade guide [ci skip]
2013-08-27 08:59:22 -04:00
Vipul A M
186a9a17b0
Add Finder API changes to upgrading guide [skip ci]
2013-08-26 23:34:54 +05:30
Vijay Dev
9abe72c760
Merge branch 'master' of github.com:rails/docrails
...
Conflicts:
actionview/README.rdoc
activerecord/lib/active_record/migration.rb
guides/source/development_dependencies_install.md
guides/source/getting_started.md
2013-08-17 21:49:16 +05:30
Vijay Dev
ec8ef1e105
Revert "Merge branch 'master' of github.com:rails/docrails"
...
This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing
changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9.
Seems to be a code merge done by mistake.
2013-08-17 21:46:39 +05:30
Rafael Mendonça França
92c5a2244e
Revert change on ActiveRecord::Relation#order method that prepends new
...
order on the old ones
The previous behavior added a major backward incompatibility since it
impossible to have a upgrade path without major changes on the
application code.
We are taking the most conservative path to be consistent with the idea
of having a smoother upgrade on Rails 4.
We are reverting the behavior for what was in Rails 3.x and,
if needed, we will implement a new API to prepend the order clauses in
Rails 4.1.
2013-07-29 23:18:33 -03:00
Robin Dupret
82a2a78be8
Use hyphenated version of assert_url [ci skip]
2013-07-26 16:10:03 +02:00
Nishant Modak
365921557d
Upgrade guide. Renaming Indexes on tables. [ci skip].
...
39eef1a565 (commitcomment-3672522)
2013-07-19 16:53:09 +05:30
Gary S. Weaver
9220bf05b5
grammar fix in upgrade documentation
2013-07-17 17:19:22 -04:00
Rafael Mendonça França
76e95c0ce8
Merge pull request #11143 from robin850/upgrading-rails
...
Add few information about missing steps [ci skip]
2013-07-09 02:40:57 -07:00
Ryan Endacott
746b7ddee7
Removed redundant upgrade docs on new cookies.
...
[ci skip]
2013-07-04 09:35:27 -05:00
Robin Dupret
a08cc47938
Add few information about missing steps [ci skip]
...
Add some deprecations previously note covered such as the confirm
option for the link_to helper or options which aren't needed anymore
Also add a mention about the config.assets.js_compressor option.
2013-06-29 11:37:11 +02:00
Vipul A M
57c0b54a91
existant
=> existent
2013-06-15 09:55:05 +05:30
Vijay Dev
41a398f859
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
guides/source/upgrading_ruby_on_rails.md
2013-06-14 01:14:56 +05:30
Trevor Turk
f308e3c103
Improve upgrade guide documentation about the PUT->PATCH change
2013-06-03 08:41:59 -05:00
Sunny Ripert
606c09b8db
Consistent use of one space only after punctuation
2013-05-28 14:38:02 +02:00
Javan Makhmali
03dbd8af56
Add note about upgrading custom routes from put
to patch
.
2013-05-24 12:41:54 -03:00
Zack Hubert
743ea1afc6
Spelling correction in Upgrading Guide
...
Fixes spelling of 'erratta' to 'errata'
2013-05-20 16:16:49 -06:00
Steve Klabnik
f173c8c533
Adding notes on PATCH to the upgrade guide.
...
Discusses compatibility between PATCH and PUT, as well as how to add
support for JSON PATCH to your application.
Fixes #10439 .
2013-05-13 15:29:05 +01:00
Xavier Noria
593666b5d5
specify that dom_(id|class) are deprecated in controllers, views are fine
2013-05-12 13:38:33 +02:00
Vijay Dev
b15ce4a006
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
guides/source/action_mailer_basics.md
2013-04-11 22:58:14 +05:30
Trevor Turk
ca58bf1543
Improve documentation around the cookie store auto-upgrade to encryption
2013-04-01 11:38:06 -05:00
Santiago Pastorino
f9d23b3848
Merge pull request #9978 from trevorturk/cookie-store-auto-upgrade
...
Cookie-base session store auto-upgrade
2013-04-01 08:10:34 -07:00
Vijay Dev
5190871822
fix upgrading guide [ci skip]
...
I see no need to list the Gemfile contents (twice!) to convey this
message.
2013-03-30 15:58:39 +05:30
Vijay Dev
e63086c135
Merge branch 'master' of github.com:rails/rails
2013-03-30 15:47:38 +05:30
Vijay Dev
6d8c070821
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
activerecord/test/cases/adapter_test.rb
guides/source/testing.md
[ci skip]
2013-03-30 15:46:14 +05:30
Vijay Dev
06e22c01e8
Revert "Using American English spellings over British style spellings"
...
This reverts commit 573df1cf2a5d5d1f288c8a4a5d76194675141832.
Reason: changelog edits aren't allowed in docrails.
[ci skip]
2013-03-30 15:12:23 +05:30
Vinicius Quaiato
9c6ccb3224
info that Gemfile *group :assets* was removed
...
Adding info that Gemfile *group :assets* was removed on upgrading_ruby_on_rails.md
2013-03-29 03:04:50 -03:00
Trevor Turk
274a3aa64c
Allow transparent upgrading of legacy signed cookies to encrypted cookies; Automatically configure cookie-based sessions to use the best cookie jar given the app's config
2013-03-28 14:38:36 -05:00
Yves Senn
441fa86b73
use relative links inside guides [ci skip]
2013-03-25 20:00:13 +01:00
Trevor Turk
0190cba99c
Introduce UpgradeLegacySignedCookieJar to transparently upgrade existing signed cookies generated by Rails 3 to avoid invalidating them when upgrading to Rails 4
2013-03-24 18:20:24 -05:00
Prathamesh Sonpatki
573df1cf2a
Using American English spellings over British style spellings
2013-03-21 20:41:45 +05:30
Trevor Turk
a2b7c0e69d
Raise an ArgumentError when a clashing named route is defined
2013-03-19 23:23:55 -05:00
Trevor Turk
d717882eb5
Document change to clashing named route selection from journey commit 98a9802a
2013-03-12 15:07:17 -05:00
Hendy Tanata
c27f9481df
Some copy edit and formatting for upgrading guide.
2013-03-08 17:30:40 +08:00
Jeremy Kemper
99775fd161
Restore note about nested SCRIPT_NAME handling.
2013-03-01 11:47:04 -07:00
Jeremy Kemper
bb9f8312e7
Wordsmithing @trevorturk's upgrade notes
...
Removed the bit about `SCRIPT_NAME` handling, since setting
`default_url_options[:script_name]` does work correctly.
We ran into an issue with it but it was an app bug.
2013-02-28 21:22:34 -07:00
Trevor Turk
7874c9be83
Document introduction of ActionDispatch::ParamsParser::ParseError
2013-02-28 15:55:27 -06:00
Trevor Turk
5b8b9771d7
Document that scopes require a callable object
2013-02-28 15:53:24 -06:00
Trevor Turk
51876271e2
Document common deprecations
2013-02-28 15:50:28 -06:00
Trevor Turk
0407ef5eaf
Document the deprecation of ActionView::RecordIdentifier
2013-02-28 15:45:37 -06:00