Commit Graph

1013 Commits

Author SHA1 Message Date
Jaime Iniesta
6f7402d32b non-singleton true and false should go on regular font 2010-07-22 01:28:31 +02:00
Jaime Iniesta
402aaa56f5 Active Record Validations and Callbacks guide: Fixed typos and rephrased some paragraphs for clarity 2010-07-22 01:28:30 +02:00
José Valim
cd1536887b Improve contribuition guide. 2010-07-21 12:30:38 +02:00
Łukasz Strzałkowski
fc71d59219 Introduced redefine_method 2010-07-19 23:44:46 +08:00
Xavier Noria
631b9564d2 Merge remote branch 'docrails/master' 2010-07-17 20:00:48 +02:00
Xavier Noria
caddee253c new guide: API Documentation Guidelines, ported and revised from the docrails github wiki 2010-07-17 19:42:44 +02:00
Xavier Noria
181e0d326d AS guide: revised the docs of class_attribute and cattr_* macros 2010-07-16 00:48:08 +02:00
Santiago Pastorino
fcb230144b Bump up nokogiri, memcache-client, sqlite3-ruby, fcgi, mail and tzinfo 2010-07-15 13:18:47 -07:00
Santiago Pastorino
3952268929 Bump up to rack-mount 0.6.9 and rack-mount-0.6.6.pre removed from action_dispatch vendor 2010-07-15 13:18:44 -07:00
Jaime Iniesta
5543e8bd6b Migrations guide: minor typos corrected 2010-07-15 17:42:41 +02:00
Xavier Noria
c7d79a4ce1 Merge remote branch 'docrails/master' 2010-07-15 10:19:31 +02:00
Xavier Noria
897f86a974 layouts and rendering guide: use content_for? instead of the yield or yield idiom 2010-07-15 09:47:22 +02:00
Xavier Noria
5994567839 AR queying guide: let limit and offset be different numbers to help making clear what is what in the explanation, rewords also a bit 2010-07-14 13:18:07 +02:00
Michael Hutchinson
438bff6ccd Active Record Query Interface Guide: Corrected the explanation for the OFFSET example. 2010-07-14 03:36:55 -07:00
Michael Hutchinson
6de6fa8010 Active Record Query Interface Guide: Fixed a few typos and made minor changes to improve readability. 2010-07-14 02:30:12 -07:00
Michael Hutchinson
981258cf5e Active Record Query Interface Guide: Fixed minor typos. 2010-07-14 01:39:00 -07:00
Xavier Noria
00f49c74e8 AS guides: reword the docs of Enumerable#group_by 2010-07-13 23:36:29 +02:00
Jaime Iniesta
4209cb97e3 Merge branch 'master' of github.com:lifo/docrails 2010-07-12 18:24:56 +02:00
Jaime Iniesta
cf69a01079 Getting started guide: typos and changelog 2010-07-12 18:23:13 +02:00
Steven Hancock
1a35b6215f Removed deprecated |map| block argument from routing docs since it is no longer generated in edge Rails config/routes.rb
Didn't touch plugins guide since I'm not too clear on how routes work in plugins.
2010-07-11 23:57:26 -07:00
Jaime Iniesta
1dddc79fee Getting started guide: Post validation example is clearer if we do p=Post.new;p.save better than p=Post.create;p.save 2010-07-11 21:47:31 +02:00
Jaime Iniesta
b0fab0c5c4 Getting started guide: rephrase the paragraph about the root route for better understanding 2010-07-11 19:17:36 +02:00
Xavier Noria
c81e476d6d missing article, only seen in github's colored diff by the beard of the prophet 2010-07-10 00:56:17 +02:00
Xavier Noria
86d5c728fb revises recent commit related to :uniq => true 2010-07-10 00:50:59 +02:00
Neeraj Singh
44b752bea1 expanding on :uniq option in has_many 2010-07-09 16:39:34 -04:00
Jaime Iniesta
c6f4c5916e Minor typos: 'built-in' instead of 'built in', 'built into' instead of 'built in to' 2010-07-09 17:53:47 +02:00
Norman Clarke
d7ffa3c077 Describe recent changes in Multibyte::Chars. 2010-07-08 19:24:44 -03:00
Xavier Noria
a9587935de copy-edits some docs 2010-07-08 16:53:37 +02:00
Xavier Noria
64c75d6618 Merge remote branch 'docrails/master' 2010-07-07 12:58:46 +02:00
Andrew White
0f96cea322 Add note about incompatibility of namespace and :controller 2010-07-07 05:32:26 +01:00
Xavier Noria
92ff71bb14 documents automatic management of join models in hmt associations, in particular the gotcha that deletion is direct 2010-07-06 17:29:34 +02:00
l4u
e5c95b1871 Fixed minor typo app/view to app/views 2010-07-06 21:15:14 +08:00
José Valim
a5dda97602 Define a convention for descendants and subclasses.
The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children.

By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
2010-07-05 13:01:27 +02:00
Andrew White
7d04a4be6b Reword routing guide so that we talk about prefixing as a use of :as rather than as a specific prefixing option (which :name_prefix used to be). 2010-07-04 08:05:58 +01:00
Jeff Dean
a7988fcf41 Added release notes for 3 changes to helpers 2010-07-04 00:35:34 -04:00
Andrew White
547199ee4a Updated routing guide to reflect the fact that :name_prefix is now :as 2010-07-03 09:18:02 +01:00
Andrew White
52e526a8e3 :singular is no longer a valid option for resources [#5037 state:resolved] 2010-07-03 09:01:01 +01:00
Uģis Ozols
5360014a5d Changed passed argument to :validate => false in validation skipping section. 2010-07-03 03:16:04 +03:00
Santiago Pastorino
2ef8a2b403 bump erubis version to 2.6.6 and thor version to 0.13.7
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-02 01:51:03 +02:00
Jeremy Kemper
d7c1057652 Bump bundler dependency to 1.0.0.beta.2 or later 2010-07-01 10:44:53 -07:00
José Valim
53b34e8476 Avoid calls to Rails::Application since this is not the official API.
Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
2010-07-01 18:43:44 +02:00
Xavier Noria
4329f8133f Merge remote branch 'rails/master' 2010-06-28 00:12:15 +02:00
Xavier Noria
c37f7d66e4 your beloved and infamuous typo only spottable in github colored diff, thank you 2010-06-28 00:04:38 +02:00
Xavier Noria
8de0939708 AS guide: documents String|conversions 2010-06-27 23:59:01 +02:00
Trevor Turk
81e9627c7f Provide example for working around that regexp anchors can't be in route constraints 2010-06-25 18:50:56 -05:00
Neeraj Singh
dd5924d8ca added to_xml section for controller 2010-06-25 14:13:47 -04:00
Neeraj Singh
a2242a608e regexp anchors can't be in route constraints 2010-06-25 10:07:09 -04:00
rohit
3ac5a53397 Guides: replace reference to hpricot with nokogiri [#3290 state:resolved] 2010-06-23 18:22:02 +05:30
Jamison Dance
36d1e90e22 fixing some comma and grammar problems in the note about SQLite3 and other database configurations 2010-06-22 03:27:29 -06:00
Jeremy Kemper
1b369be02f Bump rack-mount to 0.6.5 for tokenizer speedup 2010-06-21 18:28:00 -07:00