Commit Graph

2326 Commits

Author SHA1 Message Date
ZENATI YASSINE
1497529d05 [ci skip] Added link to ruby-lang.org installation. 2014-04-14 17:07:05 +02:00
Christopher Owen
0e9fab5ff5 - Fix lingering reference to :text instead of the newer :plain
- Section references `form_tag` instead of the `form_for` used in the example
2014-04-14 12:06:59 +10:00
Nick Borromeo
0debba8899 Disable assest cache store in docs [ci skip] 2014-04-13 12:01:45 -07:00
Juanito Fatas
982a19edc9 [ci skip] Use plain underscore instead of "\_". 2014-04-13 23:56:59 +08:00
Marcel Morgan
2ddbe87e7a Update documentation to use Rails.application instead
References to ``AppName::Application` removed in favour of ``Rails.application``
as generated with a new rails 4.1 app.

[ci skip]
2014-04-13 05:52:04 -05:00
Afshin Mokhtari
7782fdcf2b Missing 'are' in note - [ci skip]
This is in the note at the end of Section 2: Controller Naming Convention.  [ci skip]
2014-04-12 17:43:23 -07:00
Robin Dupret
80d0dd53ca Fix a few typos [ci skip]
This is a follow up to 545afc15.
2014-04-12 20:12:47 +02:00
Vipul A M
73bfb51011 Change links to 37signals and svn blog to point to new destinations. [ci skip] 2014-04-12 12:46:04 +05:30
Rafael Mendonça França
7bb8fd2f64 Merge pull request #14646 from deivid-rodriguez/provide_byebug_by_default
Improve debugging support
2014-04-11 13:55:10 -03:00
Rafael Mendonça França
4e9c0b7874 Fix version indicator on guides and link to Rails 4.0 [ci skip] 2014-04-11 13:39:37 -03:00
Rafael Mendonça França
f166f1da46 Merge pull request #14689 from matthewd/asset_initializer
Move assets precompile (and version) to an initializer
2014-04-11 12:56:03 -03:00
Rafael Mendonça França
08775e347f Merge pull request #14707 from minio-sk/fix-issue-14702
Be explicit about allowed constraint values, fixes #14702
2014-04-11 11:10:59 -03:00
Jano Suchal
aca64fed43 Be explicit about allowed constraint values, fixes #14702 2014-04-11 15:19:37 +02:00
Matthew Draper
f612c2b052 Move assets precompile (and version) to an initializer
sprockets-rails 2.1 needs the precompile list to be available in all
environments.
2014-04-11 22:47:54 +09:30
Rafael Mendonça França
d0b5484b5d Merge pull request #14705 from akshay-vishnoi/doc_changes
Add more test case for #demodulize, Improve documentation
2014-04-11 09:46:22 -03:00
Akshay Vishnoi
075a1e21fa Add more test case for #demodulize, Improve documentation 2014-04-11 17:57:16 +05:30
David Rodríguez de Dios
545afc150e Re-review the debugging guide.
Tested on a brand new app to exactly match current byebug's behaviour.
2014-04-11 13:55:42 +02:00
David Rodríguez de Dios
8834847a37 Minor fixes in the rails debugging guide 2014-04-11 11:00:19 +02:00
Rafael Mendonça França
632d9d2237 Merge pull request #14694 from heironimus/callback_guide
Add after_commit/after_rollback to callback list
2014-04-10 17:13:17 -03:00
Akshay Vishnoi
8c1406cf25 [ci skip] Remove false documentation 2014-04-11 01:28:47 +05:30
Kyle Heironimus
16f481b28b Add after_commit/after_rollback to callback list
Adding after_commit/after_rollback to list of callbacks in order helps
explain the callback order as well as making it consistent with the API
docs at http://api.rubyonrails.org/classes/ActiveRecord/Callbacks.html
2014-04-10 14:58:36 -05:00
Rafael Mendonça França
85b48d2bcb Merge pull request #14677 from JuanitoFatas/update-initialization-code-snippets
[ci skip] Update code snippets to latest master (initialization.md).
2014-04-10 14:10:10 -03:00
Juanito Fatas
3664e3a430 [ci skip] Update code snippets to latest master (initialization.md).
Also update the `server.run` example (Replace Mongrel with Puma).
2014-04-10 22:44:47 +08:00
Parth Bharadiya
3fe7b5f4a1 Correct factual error for page not found 2014-04-10 15:41:09 +05:30
Rafael Mendonça França
b053a47b3e depend_on_asset is not required anymore on sprockets-rails 2.1.2 2014-04-09 14:07:31 -03:00
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
Vadim Golub
fec69b9b8d Guides: minor typo fixed [ci skip] 2014-04-09 02:54:42 +03:00
Rafael Mendonça França
30a41e76f6 new CHANGELOGs entries are in the top [ci skip] 2014-04-08 17:34:34 -03:00
Matias Korhonen
f0125a19b9 Updates the maintenance policy with new Rails versions 2014-04-08 23:18:49 +03:00
David Rodríguez de Dios
eb2d555f5c Update debugging guide to use byebug 2014-04-08 20:59:28 +02:00
Jarmo Isotalo
2bc0271e3d Added OS X specific commands to installation guide [ci skip]
Recommended using homebrew for installing MySQL and PostgreSQL
2014-04-07 00:07:46 +03:00
Andy Callaghan
3779c1d45e W3C CSP document moved to gihub.io URL [ci skip]
The old link https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html is now being soft redirected to this new URL
2014-04-05 17:01:59 +01:00
Łukasz Adamczak
251840f20a Improve error message for guides:generate:kindle
With `kindlegen` missing from the PATH, the task
keeps suggesting to `gem install kindlerb`.
This change provides a more meaningful error
message for guides:generate:kindle.
2014-04-03 21:31:27 +02:00
Rafael Mendonça França
7e6630329e Merge pull request #14569 from matthewd/sqlite_relative_deprecated
Revise 'sqlite3:' URL handling for smoother upgrades

Conflicts:
	activerecord/CHANGELOG.md
2014-04-03 11:12:54 -03:00
ariabov
34a3d425ea In Active Record Querying guide, currently Merging of scopes section uses a concept of default scope in its example before it is introduced in the following section titled Applying a default scope.
It makes more sense to switch the ordering to introduce default scopes (`Applying a default scope`) first and then go into `Merging of scopes` section where it is used.
2014-04-02 23:39:22 -07:00
Rafael Mendonça França
79f06a9134 Merge pull request #14564 from killthekitten/patch-2
Fix default_url_options example in i18n guide
2014-04-02 20:53:12 -05:00
Nikolay Shebanov
3f70c69437 Fix default_url_options example in i18n guide [ci skip] 2014-04-03 05:46:44 +04: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
Matthew Draper
f846828dae Revise 'sqlite3:' URL handling for smoother upgrades
Restore the 4.0 behaviour for 'sqlite3:///', but deprecate it. We'll
change to the absolute-path interpretation in 4.2.

The current "correct" spellings for in-memory, relative, and absolute
URLs, respectively, are:

    sqlite3::memory:
    sqlite3:relative/path
    sqlite3:/full/path

Substantially reverses/defers fbb79b517f3127ba620fedd01849f9628b78d6ce.
Uncovered by @guilleiguaran while investigating #14495, though that
sounds like a different issue.
2014-04-03 01:30:27 +10:30
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
Vijay Dev
3ae33961e0 Merge branch 'master' of github.com:rails/docrails 2014-03-29 17:08:40 +05:30
Vijay Dev
f8872d658e copy edit [ci skip] 2014-03-29 17:08:07 +05:30
Gaurish Sharma
15a18c18e4 Clarify environment_name for logs
[ci skip]
2014-03-27 16:37:47 +05:30
Juanito Fatas
c7ab4fc4e2 [ci skip] Fix Pull Request URL in 4.1 release note. 2014-03-27 01:39:58 +08:00
Yves Senn
dcda6e32b4 link to "Schema migration" Wikipedia page. Closes #14479. [ci skip] 2014-03-26 09:06:31 +01:00
Yves Senn
10b68955dc synchronize changelogs and 4.1 release notes. [ci skip]
Conflicts:
	actionpack/CHANGELOG.md
	activerecord/CHANGELOG.md
	activesupport/CHANGELOG.md
	railties/CHANGELOG.md
2014-03-25 10:06:01 +01:00
Iain D Broadfoot
3bbc96048d fix log_tags request object grammar 2014-03-21 14:59:42 +00: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