Commit Graph

33737 Commits

Author SHA1 Message Date
Agis Anastasopoulos
472b25c1a6 Minor improvements & fixes 2012-11-15 19:51:50 +02:00
Agis Anastasopoulos
42707dba12 Update table of contents as a result of #bf63c4971d73e80739c9f2619a9fa0dfb2223435 2012-11-15 19:28:03 +02:00
Agis Anastasopoulos
c1a661479e Improve the starting sentence 2012-11-15 19:22:00 +02:00
Agis Anastasopoulos
bf63c4971d Move "Using Action View outside of Rails" at the bottom
See 8db41ff7698eed542fb09821de37fc7ea1f2bd5d why
2012-11-15 19:13:33 +02:00
Agis Anastasopoulos
c675922fa5 Some minor fixes & improvements 2012-11-15 19:08:32 +02:00
Agis Anastasopoulos
8db41ff769 Add a consideration note
I believe this paragraph should move to the end as it's a little out of the scope of Rails guides.
2012-11-15 18:56:38 +02:00
Agis Anastasopoulos
763c82e623 Some minor fixes 2012-11-15 16:28:32 +02:00
Agis Anastasopoulos
2d7ea2cc2b Remove unecessary word 2012-11-15 14:15:13 +02:00
Agis Anastasopoulos
f76b64c04c Slightly improve the syntax & grammar 2012-11-15 14:10:17 +02:00
Agis Anastasopoulos
168f5b1cd7 Add a note for the example in Setting Custom Headers 2012-11-15 14:08:09 +02:00
Agis Anastasopoulos
08bf5492bf Wrap before & after words in quotes when they're referring to filters
Using these words without quotes (example sentence: Before filters are run) can be confusing to a newcomer.
2012-11-15 13:58:29 +02:00
Agis Anastasopoulos
b3a3870765 Slightly improve the syntax 2012-11-15 13:51:19 +02:00
Agis Anastasopoulos
688d8bf443 Replace "name" with "author" in the Cookies example
I think doing `@comments.name` is a little confusing, just doesn't sounds right.
2012-11-15 13:46:09 +02:00
Agis Anastasopoulos
c15b65db13 Minor punctuation improvement in ActionController guide 2012-11-15 13:33:15 +02:00
Agis Anastasopoulos
a84dd201c3 Use the more compact syntax in the example 2012-11-15 13:24:36 +02:00
schneems
25648ce35b add AR deep dive video links to guides 2012-11-14 13:29:30 +02:00
Daniel Lopes
d7536e6108 add details on password confirmation used with has_secure_password 2012-11-13 17:31:46 -06:00
Matthew Robertson
7864f83165 Updated the preformance_testing guide to reflect the fact that prof-rails no longer needs to be fetched from github 2012-11-12 17:16:28 -08:00
Guillermo Iguaran
8132bb6f79 Update production.rb: Split long comment in two lines 2012-11-12 11:35:06 -05:00
Guillermo Iguaran
40f5f31952 Update production.rb documentation: only files in app/assets are in config.assets.precompile 2012-11-12 11:19:20 -05:00
burningTyger
8dabfbebdb use em-dashes instead of two minuses in guides 2012-11-10 23:00:00 +01:00
burningTyger
46100f0ccb make comments fit the comment boxes (mostly) in API doc guides 2012-11-10 22:18:18 +01:00
AvnerCohen
8553b7ac2f 1.9 hash syntax in activesupport 2012-11-10 22:15:13 +02:00
AvnerCohen
890da5149d 1.9 Syntax related changes 2012-11-10 17:16:21 +02:00
Will Gray
dcf401e3bc Update guides/source/rails_application_templates.md
Add `#environment`
2012-11-09 15:10:39 -06:00
Will Gray
407e7d499c Update guides/source/rails_application_templates.md
Update function signatures for `#gem` and `#generate`.
2012-11-09 15:09:50 -06:00
Cesar Carruitero
d89b03a7c3 update syntax and add note about prompt use of HttpHelpers [ci-skip] 2012-11-09 11:40:26 -05:00
Cesar Carruitero
477cf3151a correct link syntax [ci-skip] 2012-11-09 10:30:10 -05:00
Cesar Carruitero
0500becd3f change rdoc syntax for adecuate render [ci-skip] 2012-11-09 10:21:34 -05:00
Steve Klabnik
d2a0781b03 Further explain the CDN and caching situation. 2012-11-09 15:19:40 +01:00
Steve Klabnik
e85cb2d3bb Add note about asset pipeline and CDNs.
Fixes #2468.
2012-11-09 15:13:18 +01:00
Steve Klabnik
4d61d1f8f5 Fix default cache store documentation.
It's actually the FileStore.

Fixes #8130.
2012-11-09 14:52:56 +01:00
Cesar Carruitero
3738ef292a correct double quotes for interpolation in routing guide [ci_skip] 2012-11-08 17:16:57 -05:00
Cesar Carruitero
5fe385ba93 change match to get and add single quotes in routing/redirection [ci-skip] 2012-11-08 17:16:57 -05:00
Malcolm Locke
6eb4271d91 Action mailer can take an array for template_dir 2012-11-09 10:21:03 +13:00
AvnerCohen
3c580182ff 1.9 hash syntax changes 2012-11-08 23:16:54 +02:00
Cesar Carruitero
c04abbaa63 fix bugs in rails_on_rack [ci-skip] 2012-11-08 16:04:39 -05:00
Gaurish Sharma
e3e4fa1f65 make syntax of select.map(&:field) same as pluck
The shortcut ampersand syntax of `select.map(&:field)` is same thing as `.plunk(:field)`. document that
2012-11-08 19:14:35 +05:30
AvnerCohen
8659212df2 Actionmailer to 1.9 hash syntax 2012-11-08 09:48:11 +02:00
Cesar Carruitero
01c7a1e702 update syntax in routing guide [ci-skip] 2012-11-08 00:36:50 -05:00
AvnerCohen
08d3e534ab Hash Syntax to 1.9 converison 2012-11-07 16:50:10 +02:00
Carlos Antonio da Silva
9ef88380af Revert "fix white spaces"
This reverts commit 223ed2b4832d63853b61ccb8e9ff82fcd835e61f.

Reverting since rake routes right align named route. See some discussion in
223ed2b483 (commitcomment-2104595)
2012-11-05 19:49:17 -02:00
Cesar Carruitero
223ed2b483 fix white spaces 2012-11-05 15:28:58 -05:00
comptrol
ebc18cf291 Fixed the wrong terminology usage in 2.2.2 2012-11-03 15:32:23 +02:00
Vijay Dev
3b0bb08699 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	actionpack/lib/action_controller/metal/mime_responds.rb
	activerecord/lib/active_record/attribute_methods.rb
	guides/source/working_with_javascript_in_rails.md
2012-11-03 01:56:16 +05:30
Rafael Mendonça França
974467d70d Add test to avoid regression of 1bfc5b4 2012-11-02 18:16:27 -02:00
Vijay Dev
ee917493e4 copy edits [ci skip] 2012-11-03 01:41:44 +05:30
Vijay Dev
1c3bdfcda4 Revert "Updated activerecord test comments to new hash syntax"
This reverts commit 3b89052014c2bf3b8fbbcfb93f657a17dd7e7ca3.

Reason: changes made to a test, albeit in commented lines - non-uniform
change.

[ci skip]
2012-11-03 01:27:14 +05:30
Vijay Dev
8ffb0dacf9 Revert "dont encourage AC::Parameters#permit_all_parameters usage [ci skip]"
This reverts commit cd17ee5598411728747011566abf6779166be9d3.

Reason: Let's note that this is discouraged, not remove the docs

[ci skip]
2012-11-03 01:16:57 +05:30
Rafael Mendonça França
1bfc5b4068 Revert "Merge pull request #7668 from Draiken/fix_issue_6497"
This reverts commit f4ad0ebe7a6b17658bddfeb996e3c34835b75623, reversing
changes made to 8b2cbb3a832101f0e672ee309beca0f8c555b292.

Conflicts:
	actionpack/CHANGELOG.md

REASON: This added introduced a bug when you have a shorthand route
inside a nested namespace.

See
281367eb77
2012-11-02 14:49:12 -02:00