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
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
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
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
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
Malcolm Locke
6eb4271d91
Action mailer can take an array for template_dir
2012-11-09 10:21:03 +13: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
Cesar Carruitero
01c7a1e702
update syntax in routing guide [ci-skip]
2012-11-08 00:36:50 -05: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
Vijay Dev
ee917493e4
copy edits [ci skip]
2012-11-03 01:41:44 +05:30
Juanjo Bazán
0d7dcdcbf4
3.1 and up, in configuring guide.
2012-10-29 11:27:35 +01:00
Daniele Sluijters
851f8c1023
atomicc.rb: Don't assume we may chown/chmod a file.
...
Previously this code just assumed it is capable of changing the file
ownership, both user and group. This will fail in a lot of scenario's
unless:
* The process is run as a superuser (root);
* The owning user and group are already set to the user and group we're
trying to chown to;
* The user chown'ing only changes the group to another group it is a
member of.
If either of those conditions are not met the filesystem will simply
deny the operation throwing an error.
It is also not always possible to do a chmod, there might be a SELinux
policy or another limitation preventing the user to change the file
mode. To this end the chmod call has also been added to the rescue
block.
I've also added a little comment above the chmod command that doing a
chmod on a file which has an ACL set will cause the ACL to be
recalculated / modified.
2012-10-29 10:04:59 +01:00
Carlos Antonio da Silva
94aadf7680
Add syntax highlight to code blocks in javascript guide [ci skip]
2012-10-28 12:26:07 -02:00
Carlos Antonio da Silva
f47026e7f9
Add backticks around link_to example in javascript guide [ci skip]
2012-10-28 12:15:35 -02:00
Michael Bashkirov
3b76725e0b
fix typo in button_to helper example
2012-10-28 16:26:02 +04:00
John Gallagher
c570ba70fe
Changed comment section to be more explicit. I had an issue with rolling back a migration and couldn't understand why 'rake db:reset' didn't work.
2012-10-27 21:54:44 +01:00
Rafael Mendonça França
e3dad960e8
Add the Working with JavaScript Guides in the guides home as WIP
2012-10-27 13:14:02 -02:00
Agis Anastasopoulos
cc81af2fe4
Use a better word
2012-10-26 23:18:34 +03:00
Carlos Antonio da Silva
d200cb905e
Remove ActiveRecord::Model entry from 4.0 Release Notes [ci skip]
2012-10-26 13:37:04 -02:00
Jaime Iniesta
b1e5c1660b
Fix a pair of typos on Active Record Querying guide
2012-10-26 14:56:37 +02:00
Francesco Rodriguez
65be1a0e7a
encourage use of Ruby 1.9 syntax [ci skip]
2012-10-25 20:06:16 -05:00
Henrik N
cc5dfccdda
AJAX -> Ajax in layouts_and_rendering guide.
...
Fixed in the JS guide in 8c38172ba59e16d8e523ac4f1c5ae29b6851d3ee
2012-10-25 13:46:11 +02:00
Xavier Noria
4fee5dfed2
Revert "Improve grammar a bit"
...
This reverts commit 507e522e26b4073455b2337bcf1670e52bba5429.
2012-10-24 22:52:59 +02:00
Xavier Noria
fe470411c6
Revert "Explain where the acronym AJAX stands for & replace "JavaScript writer" with "JavaScript developer""
...
This reverts commit 1332cf53af981d0a7a6f801edd9632eb5c118a3f.
2012-10-24 22:52:43 +02:00
Xavier Noria
c8dec40c5e
Revert "Improve "request response" term typing & fix a minor typo"
...
This reverts commit a6d383c8b2afb253c009ad67d31aae3aa8dcc457.
2012-10-24 22:52:18 +02:00
Xavier Noria
7cbce85054
Revert "fix a typo"
...
This reverts commit 6d927fb4da7a0a17d62109b7ef8798a8e75082a7.
2012-10-24 22:51:58 +02:00