Commit Graph

194 Commits

Author SHA1 Message Date
Piotr Sarnacki
e6ab0d56cf Lazy load default_form_builder if it's passed as a string
closes #3341
2012-04-28 22:32:46 -07:00
Alexey Vakhov
c6dbaac12b Fix misptint
Injected at dab6c3aa484778b44c1b3cd2b9c46363916295ff
2012-04-28 16:45:05 +04:00
Uģis Ozols
770c2411da Remove unnecessary ). 2012-04-28 13:31:53 +03:00
Oscar Del Ben
4e69a1579e Merge branch 'master' of github.com:lifo/docrails 2012-04-28 11:45:15 +02:00
Oscar Del Ben
943410197c Add REST section to getting started guide 2012-04-28 11:44:50 +02:00
Matthias Schmidt
0297e8e4dd Correct small consistency issue in AR querying guide 2012-04-28 11:29:11 +02:00
Alexey Vakhov
dab6c3aa48 Update guides - run single test for AR testing 2012-04-28 09:30:30 +04:00
Alexey Vakhov
7e75dcbff3 Update contributing guide - run single test 2012-04-28 09:17:10 +04:00
Vijay Dev
4dcaffb04c made a few changes and fixes in getting started guide [ci skip] 2012-04-28 01:37:52 +05:30
Vijay Dev
43af34c0f6 Merge branch 'master' of github.com:lifo/docrails 2012-04-28 00:56:17 +05:30
Vijay Dev
50b1399b31 update docs - disabling prepared statements is not connected to managing connections externally [ci skip] 2012-04-28 00:36:14 +05:30
Oscar Del Ben
fc3d15dcb0 Merge branch 'master' of github.com:lifo/docrails 2012-04-27 14:21:16 +02:00
Oscar Del Ben
f4447607f2 Add delete post section to Getting Started guide 2012-04-27 14:21:02 +02:00
Bernat Foj Capell
39574aa582 find_by_sql actually triggers after_find 2012-04-27 11:13:48 +02:00
Rory O’Kane
504e539166 Active Support Core Extensions guide: reworded "on one hand" and similar to "for one thing" 2012-04-26 18:24:38 -03:00
Jonathan Roes
8bf97d1a84 Minor typo. 2012-04-26 15:47:48 -03:00
Jose and Yehuda
6acebb38bc Allow loading external route files from the router
This feature enables the ability to load an
external routes file from the router via:
  draw :filename

External routes files go in +config/routes+. This
feature works in both engines and applications.
2012-04-25 16:07:17 -05:00
Les Nightingill
a2fac64fb9 Merge branch 'master' of github.com:lifo/docrails 2012-04-25 09:40:43 -07:00
Les Nightingill
047600157a adds a mention of the fact that an engine's lib/assets directory is also on the load path 2012-04-25 09:40:09 -07:00
James Strocel
7f04235e52 Copy Edit 2012-04-25 09:01:59 -07:00
Oscar Del Ben
4179141a01 Merge branch 'master' of github.com:lifo/docrails 2012-04-25 15:43:29 +02:00
Oscar Del Ben
ee4e7125a6 Add partials section to getting started guide 2012-04-25 15:43:10 +02:00
Vijay Dev
4a3ce153f1 Merge branch 'master' of github.com:lifo/docrails 2012-04-25 18:33:36 +05:30
Vijay Dev
8189536aeb copy edits [ci skip] 2012-04-25 18:30:21 +05:30
Jeremy Kemper
bd6203f9f0 Merge pull request #5880 from asanghi/master
Stamp out ruby-debug with debugger everywhere else in the code base
2012-04-25 05:09:14 -07:00
Oscar Del Ben
ccbd32c294 Add partials explanation to getting started guide 2012-04-25 13:18:59 +02:00
Oscar Del Ben
6f09291104 Add screenshot to updating post section 2012-04-25 12:18:55 +02:00
Uģis Ozols
15338530f8 for get -> forget 2012-04-25 08:04:23 +03:00
Jose and Yehuda
56cdc81c08 Remove default match without specified method
In the current router DSL, using the +match+ DSL
method will match all verbs for the path to the
specified endpoint.

In the vast majority of cases, people are
currently using +match+ when they actually mean
+get+. This introduces security implications.

This commit disallows calling +match+ without
an HTTP verb constraint by default. To explicitly
match all verbs, this commit also adds a
:via => :all option to +match+.

Closes #5964
2012-04-24 22:52:26 -05:00
Aditya Sanghi
d6c831c198 and one more time 2012-04-24 21:56:41 -05:00
Jonathan Rochkind
cdc9031402 Remove references to 'vendored plugins' except to note they used to exist but are deprecated. 'gemified plugin' is the only supported option now. 2012-04-24 16:47:44 -03:00
James Strocel
f45f1bacb0 Added some useful methods to the generators.textile 2012-04-24 12:08:05 -07:00
Oscar Del Ben
f92814e4cc make sample code more compact 2012-04-24 14:22:19 +02:00
Oscar Del Ben
f0de7172a6 Add update post section to getting started guide 2012-04-24 14:21:07 +02:00
Oscar Del Ben
5acb345a86 Fix some code in getting started guide 2012-04-24 12:30:24 +02:00
Dmytrii Nagirniak
50f79daf59 Fix markdown in textile. 2012-04-23 13:45:22 +10:00
Dmytrii Nagirniak
50c5005baf Make it explicit that Symbol-s are not officially supported.
This will remove a lot of controversy.
As an example, see https://github.com/ernie/squeel/issues/67#issuecomment-5270896
2012-04-23 13:14:52 +10:00
Vijay Dev
023cfd3a5c Merge pull request #92 from geetarista/add-favicon
Adds favicon to guides layout
2012-04-22 13:33:16 -07:00
Robby Colvin
9e60cc2e48 Adds favicon to guides layout 2012-04-22 13:20:22 -07:00
Vijay Dev
c670b57f0f Revert "in feedback solicitation text, correct that docrails is fork, not branch"
This reverts commit 7b7cc1341bd41106c0e6c5eb399f8aff39b43f52.

Reason: docrails isn't a rails fork. See 5444ed56ab38a742b3ddf6612eadd8cf50d8d517

[ci skip]
2012-04-21 22:52:38 +05:30
Oscar Del Ben
c06c842a8a Merge branch 'master' of github.com:lifo/docrails 2012-04-21 12:18:19 +02:00
Oscar Del Ben
3da2b530af Add validation code to getting started guide and improve validation
section
2012-04-21 12:17:51 +02:00
Oscar Del Ben
504ba12e8c Add model validation section to Getting Started guide 2012-04-21 12:01:33 +02:00
Rory O’Kane
7b7cc1341b in feedback solicitation text, correct that docrails is fork, not branch 2012-04-20 15:52:35 -03:00
Oscar Del Ben
d717468888 Merge branch 'master' of github.com:lifo/docrails 2012-04-20 12:53:43 +02:00
Oscar Del Ben
e7e72aa253 Add index and links section to Getting started guide 2012-04-20 12:53:18 +02:00
Oscar Del Ben
2e2afc0ac6 Add show action in getting started guide 2012-04-20 12:06:47 +02:00
Oscar Del Ben
0d5a7ad84d Add "Saving data in the controller" section 2012-04-20 09:59:30 +02:00
Kevin Musiorski
6054e367f1 removed extra "you" 2012-04-19 14:52:21 -05:00
Oscar Del Ben
a4508ed1dc Add model creation step to getting started guide 2012-04-19 13:12:27 +02:00
Oscar Del Ben
e2575b6db9 Fix broken images links 2012-04-19 12:07:35 +02:00
Oscar Del Ben
6f76bf19c4 Add Ruby 1.9.3 recommendation 2012-04-19 11:33:25 +02:00
Oscar Del Ben
57a995b13e Put warning on getting started guide back 2012-04-19 11:16:15 +02:00
Oscar Del Ben
b4d13ed204 Add "Using the change method" title back to make it stand out 2012-04-19 10:50:40 +02:00
Oscar Del Ben
6ece2ee5ca Update guide for rails 3.2.3, fix code download link. 2012-04-19 10:33:15 +02:00
Ivan Evtukhovich
c6663235f6 Add to guides info how to disable prepared statements 2012-04-19 11:27:26 +04:00
Aditya Sanghi
67ede88055 another attempt at the language 2012-04-18 02:24:44 +05:30
Aditya Sanghi
6f80ea2aec review changes for #5875 2012-04-18 01:03:59 +05:30
Vijay Dev
5b336ff443 Merge branch 'master' of github.com:lifo/docrails 2012-04-18 00:10:06 +05:30
Aditya Sanghi
0232543e0d stamp out ruby-debug19 with extreme prejudice :) 2012-04-17 15:31:05 +05:30
Don Petersen
256e317c39 Fix typo where a table name in a join was singular. 2012-04-16 16:22:40 -07:00
luke
749ced1767 Fixed a typo in migrations 2012-04-15 20:54:04 +02:00
Joshua Wood
ca0af8221a Automatically create indexes for references/belongs_to statements in migrations. 2012-04-14 14:18:42 -07:00
Bertrand Chardon
418fb91269 SQL query formatting
Reformatted two SQL queries in Section 6) and 7) to avoid horizontal
scrolling where possible.
2012-04-13 12:08:03 -07:00
Vijay Dev
8248f4202d Merge branch 'master' of github.com:lifo/docrails 2012-04-12 21:44:11 +05:30
Alfonso Cora
05ac3921f8 Fixed markup in security guide 2012-04-12 12:20:12 -03:00
Tim Harvey
63bd01d82f Grammar fix in 3.2 Release Notes guide
Could also be worded 'as an option', but plural made more sense given 
the mention of ':handlers and :formats'.
2012-04-11 17:10:21 -03:00
Vijay Dev
4fb6527e2c Revert "add instructions for adding additional manifests"
This reverts commit f28f1d70b3f3dd9f694067f7cab2e717e302ee2b.

Reason: This is already covered in this guide elsewhere.
2012-04-11 22:39:36 +05:30
Xavier Noria
68a9788cdb rewords the section about default_url_options in the Action Controller Overview guide 2012-04-09 18:26:23 +02:00
Patrick Sharp
f28f1d70b3 add instructions for adding additional manifests 2012-04-09 08:54:02 -05:00
Rafael Mendonça França
c9945b3f0a Document that default_url_options must return a hash with symbolized
keys
2012-04-09 00:01:27 -03:00
Rafael Mendonça França
9efe01ef0d default_url_options does not receive one argument anymore 2012-04-08 23:44:00 -03:00
Jeremy Kemper
0032da1b3e Merge pull request #5748 from ai/no_type_in_html5
Remove unnecessary in HTML 5 type attribute with default value
2012-04-08 06:56:44 -07:00
Ryan Bigg
ef493c9259 Don't use arel_table in published_and_commented example in querying guide 2012-04-07 11:29:18 -05:00
Vijay Dev
5916403991 Revert "Where migration can get wrong help added"
This reverts commit b11113f924d2eb2acbe836954d17a02163f45275.
2012-04-07 16:47:32 +05:30
Vijay Dev
e0672a8e3b copy editing [ci skip] 2012-04-07 16:47:28 +05:30
Anil Wadghule
871cc8c429 Fix 'Everyday Git' link 2012-04-06 14:50:45 +05:30
xyctka@gmail.com
5890ced113 Better class name 2012-04-06 10:04:26 +01:00
xyctka@gmail.com
74fa0d3db0 Update Custom Exception Handler section of Internationalization guide
The previous example with just_raise_that_exception method
stopped working because MissingTranslation is not an instance of
Exception class any more, but has a +to_exception+ method.

Also the cleaner way is to re-raise only the desired exception, passing
 everything else to the default ExceptionHandler.

 Additionally this re-raising conflicts with Pluralization backend thus
 we have to add a check that certain missing translation keys should
 be ignored allowing the backend to fall back to the default
 pluralization rule.
2012-04-06 10:01:34 +01:00
Sandip Ransing
b11113f924 Where migration can get wrong help added 2012-04-06 01:11:42 +05:30
Sandip Ransing
e59b669792 Improvement to migration guide 2012-04-06 00:44:56 +05:30
Vijay Dev
163258ba2a Merge branch 'master' of github.com:lifo/docrails 2012-04-05 22:30:30 +05:30
Vijay Dev
16512704fc lets not show too much output and shadow the intention [ci skip] 2012-04-05 22:28:47 +05:30
Vijay Dev
c94e45088a fix boolean value in guide [ci skip] 2012-04-05 22:14:26 +05:30
Andrey A.I. Sitnik
f3fb416b89 Remove unnecessary in HTML 5 type attribute with default value 2012-04-05 15:32:37 +04:00
Cheah Chu Yeow
d70e1a9d2b Fix slightly awkward English in Action Caching section of Caching With Rails guide.
In particular, removed "pages that require to restrict access somehow" and shortened "Action Caching works like Page Caching except for the fact that the incoming web request does go from the webserver to the Rails stack and Action Pack so that before filters can be run on it before the cache is served".
2012-04-05 17:30:15 +08:00
Martin Eisenhardt
1f4f4d4ccb Optimistic locking: lock_version needed type information. 2012-04-05 11:13:09 +03:00
Sandip Ransing
c91d07f57c Small improvements added to getting started 2012-04-05 02:41:21 +05:30
Ethan Mick
316cb1f7ed Updated migrations.textile to change :integer on line 807 to :boolean, as it was earlier in the example. :flag is a boolean, not an integer. (defaults to false) 2012-04-04 11:07:33 -04:00
Hendy Tanata
bbe31cc523 Improve config.assets.initialize_on_precompile guide. 2012-04-04 22:33:09 +08:00
Hrvoje Šimić
f7a1c64ac3 removed deprecated methods and middlewares 2012-04-04 12:09:10 +02:00
Vijay Dev
02b9c22df8 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/engines.textile
2012-04-04 12:42:22 +05:30
Vijay Dev
f89f74896b Revert "rails 4 will support ruby version 1.9.4 or higher"
This reverts commit 0a35acb8b89603a3135852742f206af82ed61b57.

Reason: Let's cross the bridge when we reach there.
2012-04-04 12:19:29 +05:30
Sandip Ransing
ecb4a649c2 typo mistake fixed
correction to server stop statement added
2012-04-04 02:38:37 +05:30
Sandip Ransing
0a35acb8b8 rails 4 will support ruby version 1.9.4 or higher 2012-04-04 02:14:07 +05:30
Fernando Briano
428149c8f3 Fixed small typo 2012-04-03 15:42:18 -03:00
Mikhail Dieterle
1827bc9524 also <text> replaced by <plain> 2012-04-04 00:46:43 +08:00
Mikhail Dieterle
d586b07f9e Changed engines guide not to use a css tag. <plain> will do just fine.
bb23d6fb00
2012-04-03 22:34:46 +08:00
Hrvoje Šimić
7b1abe84ae Merge branch 'master' of github.com:lifo/docrails 2012-04-02 20:31:54 +02:00
Hrvoje Šimić
4b1ed1d29f update purpose of middleware 2012-04-02 20:31:38 +02:00