Commit Graph

919 Commits

Author SHA1 Message Date
Andy Lindeman
5c2eb889c2 config.action_mailer.async is no longer used 2012-12-10 13:43:29 -05:00
Henare Degan
0939a812a0 Globalize2 is only compatible with Rails 2 so link to Globalize3 instead 2012-12-09 23:17:33 +11:00
Steve Klabnik
07e2f0e53e Security Guide: removing Mass Assignment.
Since mass assignment doesn't exist anymore, we don't need to discuss it.

I checked with @fxn last night before making this change.
2012-12-08 11:24:14 -08:00
Vijay Dev
0a33fcd68b Merge branch 'master' of github.com:lifo/docrails 2012-12-08 23:11:37 +05:30
Vijay Dev
729798068a copy edits [ci skip] 2012-12-08 23:10:38 +05:30
Vijay Dev
4085dd6010 Revert "Introduce Bundler and Gemfiles in a NOTE"
This reverts commit 83cb6fbd13f3c5ea3106b9a57964b1a6fb243682.

Reason: very trivial

[ci skip]
2012-12-08 23:02:52 +05:30
Steve Klabnik
aa1b9037bf Fill out API Documentation Guidelines 'you will learn' list. 2012-12-07 23:31:17 -08:00
Steve Klabnik
1ef8138f9e Fill out Active Support Core Extensions 'you will learn' list. 2012-12-07 23:26:13 -08:00
Steve Klabnik
350b122ecc Remove reference to background queue in mailer guide.
Mailers are always async now, and we already discuss
queueing lower down in the guide.
2012-12-07 23:22:51 -08:00
Steve Klabnik
ed78770b1a Remove references to Rails versions.
There's no reason for guides to reference old behaviors. They should
be current as of the versions of Rails that they ship with, and including
older information just clutters thing.

I discussed this change with @fxn and he agrees.
2012-12-07 23:20:35 -08:00
Francesco Rodriguez
f19e41fb16 update guides to use _action callbacks [ci skip] 2012-12-07 23:43:46 -05:00
Katie Oldaker
fc6336d1be Punctuation, capitalization, grammar fixes in rails guides 2012-12-07 16:32:06 -05:00
Max Katz
38db4e2ca9 Fix small grammatical error 2012-12-07 10:57:24 -07:00
Katie Oldaker
7c05ea23a0 Fixed grammar in a lot of guide prologues. 2012-12-07 12:50:09 -05:00
Ian C. Anderson
70b809436f Added overview items to Guides Guidelines prologue 2012-12-07 12:00:48 -05:00
Xavier Noria
0adcf6d90e let @version be always externally set in guides generation [fixes #8221]
Shelling out was there for authors convenience, but we are
rather going to have the tag or SHA1 always in RAILS_VERSION
and if the environment variable is blank, then just use
"local" as a reminder that you are just working locally.

The docs server has been updated to set the long SHA1 in
RAILS_VERSION when generating edge guides.
2012-12-07 15:20:56 +01:00
Carlos Antonio da Silva
23b9cc8423 Merge pull request #8332 from amatsuda/ar_where_chain
Relation.where with no args can be chained with not, like, and not_like

Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/relation/query_methods.rb
2012-12-07 00:46:06 -02:00
Drew Dara-Abrams
4bdbf0a4a6 changing tense, since Rails 3.2 has been released 2012-12-06 16:04:53 -08:00
Pablo Torres
83cb6fbd13 Introduce Bundler and Gemfiles in a NOTE 2012-12-05 21:39:58 -05:00
Fabrizio Regini
86e3aaab93 Adding filter capability to ActionController logs 2012-12-05 11:07:14 +01:00
Pablo Torres
cb389fc6d0 Define a generator before referring to it 2012-12-04 21:38:06 -05:00
Pablo Torres
ad223520bf Correct bad English 2012-12-04 21:10:54 -05:00
Carlos Antonio da Silva
129eac0243 Fix Active Record validation error messages markup in guides
The other way it was not marking the text as italic, it was showing the
underlines as normal text.

Also fixes some code examples indentation and # => marks in Active Model
and Active Record guides.

[ci skip]
2012-12-04 21:05:44 -02:00
Carlos Antonio da Silva
7f395600ce Improve the Active Model guide [ci skip] 2012-12-04 19:22:38 -02:00
Tony Jian
52e1a42498 add a notice about loading assets in production mode 2012-12-05 02:39:49 +08:00
Ershad K
638957151a Fixing a couple of spelling mistakes 2012-12-04 23:57:42 +05:30
Vijay Dev
40e16121c0 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/migrations.md
2012-12-04 22:26:16 +05:30
Vijay Dev
9d3ce6c7d2 Updated 4.0 release notes
The release notes is changed to include only the major changes and point
to the changelogs for the complete list. This lets us talk more about the
features included in the upcoming release and make the guide more useful
and interesting than just a list of all changelogs.

This is still a WIP guide pending a lot of work.

[ci skip]
2012-12-04 22:17:29 +05:30
kennyj
0f47c49678 Fix wrong doc and message about rails profiler. 2012-12-04 02:21:31 +09:00
1334
47d95c8c3c fix some formatting 2012-12-03 14:01:27 +01:00
Xavier Noria
c9c1e6b9e6 Merge pull request #8375 from steveklabnik/migrations_guide
Updates to the Migration Guide
2012-12-03 02:43:49 -08:00
Yoni Yalovitsky
57c60d36d3 added full file path in all file references
It's really comfy being able to copy-paste the file paths.

I suppose there's also some benefit in trying to figure out the file name as a small exercise, but I don't think that sort of thing belongs in "Getting Started".
2012-12-03 03:11:16 +02:00
Yoni Yalovitsky
ef4e8352fe removed an extra slash before the 'app' dir 2012-12-03 02:57:40 +02:00
Pablo Torres
286e56ffe7 Standardize use of "route globbing" and "wildcard segments" [ci skip] 2012-12-02 16:57:47 -05:00
Pablo Torres
1d36963754 Add counterexample for regex [ci skip] 2012-12-02 16:57:47 -05:00
Pablo Torres
25e75153b4 Convert parragraph about security to a NOTE [ci skip] 2012-12-02 16:57:46 -05:00
Pablo Torres
51b26298e6 Add clarity to static segments docs in non-resourceful routes [ci skip] 2012-12-02 16:57:46 -05:00
Pablo Torres
c5539cdbdd Correct grammar [ci skip] 2012-12-02 16:57:46 -05:00
Pablo Torres
7d6cb7585d Convert a section to a tip to highlight it [ci skip] 2012-12-02 16:57:46 -05:00
Pablo Torres
082f4f98cc Normalize use of colon before code examples in routing guide [ci skip] 2012-12-02 16:57:46 -05:00
Pablo Torres
34f8cd226a Show equivalent routes definition without using concerns [ci skip] 2012-12-02 16:57:40 -05:00
Pablo Torres
12c7f8042d Clarify section titles [ci skip] 2012-12-02 16:55:50 -05:00
Pablo Torres
624069d58a Move note to a meaningful section in the guides [ci skip] 2012-12-02 16:53:18 -05:00
Pablo Torres
d21a468231 Use correct conjunction and connector words [ci skip] 2012-12-02 16:53:18 -05:00
Chris Walquist
c41576ea45 match text with translation file example 2012-12-02 14:37:18 -06:00
Pablo Torres
e309e74189 Capitalize all table column titles in routing guide 2012-12-02 14:28:29 -05:00
Pablo Torres
1ba6cddf89 List instructions in the order to be executed 2012-12-02 14:28:29 -05:00
Pablo Torres
2610797d08 Add shallow nesting to the routing guide 2012-12-02 14:28:29 -05:00
Aditya Sanghi
193c31c9a6 Add Mailer Callback section to Mailer guides 2012-12-02 00:50:48 +05:30
Steve Klabnik
4a93836291 Migration Guide: General fix-up
This introduces a bunch of editing/re-writing to the migrations guide.
There were a bunch of small changes, and a few larger ones:

* mysql does support transactions.
* Add a section about db/seeds.rb
* Largely re-wrote the first few sections
2012-12-01 10:40:41 -08:00