Commit Graph

2506 Commits

Author SHA1 Message Date
Jason Noble
bc6d1ebc66 It's more that Rails needs to know how to recreate the columns 2011-12-03 19:31:43 -07:00
Jason Noble
ec2727281c Added "also" to read better 2011-12-03 19:31:43 -07:00
Jason Noble
b3f8cbd9a8 Explain the t.timestamps method a little better 2011-12-03 19:31:43 -07:00
Jason Noble
1f765a2f72 Re-word confusing section 2011-12-03 19:31:43 -07:00
Jason Noble
c8f8ecfd38 Rollback is used elsewhere in the tutorial 2011-12-03 19:31:43 -07:00
Jason Noble
78f6672a43 Alphabetize fields to make reading easier 2011-12-03 19:31:43 -07:00
Jason Noble
f9cc3f0d8e Improve wording, fix some formatting issues 2011-12-03 19:31:43 -07:00
Jason Noble
9d87fb8f68 Constrained to 80 chars per line 2011-12-03 19:31:43 -07:00
Ryan Bigg
d7c2fcd856 Update layouts and rendering guide javascript_include_tag to bring it in line with Rails 3.1 2011-12-04 08:49:55 +11:00
Vijay Dev
baa93a1c2e Merge branch 'master' of github.com:lifo/docrails 2011-12-02 23:43:52 +05:30
Vijay Dev
f402ef5766 rephrase doc on explain threshold 2011-12-02 23:41:50 +05:30
Arun Agrawal
3d550e5174 Added doc about pluck for active_support core ext 2011-12-02 23:15:08 +05:30
Xavier Noria
0306f82e0c implements automatic EXPLAIN logging for slow queries 2011-12-02 04:35:43 -08:00
Arun Agrawal
9f623e2109 [Docs] Information about ActionDispatch::DebugExceptions in rake task 2011-12-02 08:45:11 +05:30
Arun Agrawal
330db28018 Adding information about ActionDispatch::DebugExceptions 2011-12-02 08:44:32 +05:30
Richard Hulse
d72a85c022 [docs] removed last-modifed line from examples
This is no longer best-practice.

ref:
http://stackoverflow.com/questions/8344186/rails-3-1-on-apache-pagespeed-says-specify-cache-validator-when-using-asset-p/8348385#8348385
2011-12-02 10:44:34 +13:00
Tim Sjoberg
bb2adab79b fixed finger-dyslexia in active_support core extensions guide 2011-12-01 14:27:51 +02:00
Vijay Dev
cbeeaa6ea0 expand on pluck docs 2011-12-01 01:42:54 +05:30
Vijay Dev
a72839bc9d minor typo fix 2011-12-01 01:42:54 +05:30
Leandro Santos
fca655f391 typo in the performance testing rails guide 2011-11-30 14:29:17 -05:00
Vijay Dev
0092f0612d Merge pull request #3786 from nashby/add-namespace-to-form
update guides for the namespace option in form helpers
2011-11-30 11:23:37 -08:00
Vijay Dev
88daf08258 Merge branch 'master' of github.com:lifo/docrails 2011-11-30 23:32:01 +05:30
Bogdan Gusiev
a382d60f6a ActiveRecord::Relation#pluck method 2011-11-30 11:03:00 +02:00
Jon Leighton
0b72a04d0c Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
Vasiliy Ermolovich
331080a14f update guides 2011-11-28 20:37:08 +03:00
Sergey Parizhskiy
afa31cf327 there is no need to repeat about possibility of using -h option to get full help 2011-11-28 17:40:14 +02:00
Sergey Parizhskiy
e2e2d6298e Merge branch 'master' of github.com:lifo/docrails 2011-11-28 17:33:23 +02:00
Sergey Parizhskiy
493cf44682 completed documentation for the rails server command 2011-11-28 17:33:01 +02:00
Rodrigo Rosenfeld Rosas
6d05c793ca Update information about foreign key plugins support in the guides
There is not "a number" of up-to-date maintained plugins for dealing with foreign keys.

The foreign_key_migrations does not have any update since 2009 and is also about to be removed:

Extracted from http://www.harukizaemon.com/2009/09/plugins-grab-em-while-theyre-stale.html,
referenced in the plugin reference of the old guide version:

"And so it is that I will very shortly (within the next month) delete most of the plugins from
my GitHub account (harukizaemon)"
2011-11-28 13:15:07 -02:00
Arun Agrawal
e7dff9c1f1 Revert "fixed typo in getting started form_for for comments"
This reverts commit 2f428a6245a18017c7942f8fef3da4a85bec8cc5.

See comments here 2f428a6245a18017c7942f8fef3da4a85bec8cc5
2011-11-28 14:10:23 +05:30
Tim Reischmann
2f428a6245 fixed typo in getting started form_for for comments 2011-11-28 09:27:42 +01:00
Tadas Tamošauskas
9cf285599c Update Object#in? description for https://github.com/rails/rails/pull/3767 2011-11-27 12:44:14 +00:00
Arun Agrawal
28e3935360 [Docs] Adding RequestId middleware in configuring middleware 2011-11-27 12:55:22 +05:30
Arun Agrawal
0ce64ba9aa Documentation about config.log_level config options 2011-11-27 12:34:14 +05:30
Vijay Dev
ab854db649 documenting monday and sunday methods 2011-11-26 23:43:52 +05:30
Vijay Dev
80ac4dc6d0 Adds Time#sunday method 2011-11-26 23:15:11 +05:30
Vijay Dev
a8f2860d0e Convert aliases monday and sunday to methods
A recent change to beginning_of_week and end_of_week added an argument
that can be used to specify the week's starting day as a symbol. Now
these methods were aliased as monday and sunday respectively which as a
consequence of the argument addition, made calls like obj.monday(:sunday)
possible. This commit makes them methods on their own.
2011-11-26 23:08:58 +05:30
Arun Agrawal
fc20d6b681 Let's say this 3.1.3 instead of 3.1.1 in docs 2011-11-26 22:38:58 +05:30
Vijay Dev
8135e5e699 s/end_on_week/end_of_week 2011-11-26 22:06:47 +05:30
Vijay Dev
99ff8fdab5 minor doc changes 2011-11-26 22:06:47 +05:30
Vijay Dev
1d89540686 Merge branch 'master' of github.com:lifo/docrails 2011-11-26 19:14:39 +05:30
Vijay Dev
5c2a2ee76e rephrased ef38c3089e1269e2b315aff503e61c0b23c95f00 and
mentioned about OS X and windows usually having a JS runtime
2011-11-26 19:07:36 +05:30
Xavier Noria
b30b932447 finders guide: adds some pointers to help users interpret the output of EXPLAIN 2011-11-25 14:58:43 -08:00
Xavier Noria
1be9830d4d add the query to AR::Relation#explain output
Rationale: this is more readable if serveral queries
are involved in one call. Also, it will be possible
to let AR log EXPLAINs automatically in production
mode, where queries are not even around.
2011-11-25 14:29:34 -08:00
Xavier Noria
a5b362df56 some tweaks to PR#3547. [Closes #3547] 2011-11-25 12:02:49 -08:00
gregolsen
3f1a4c3415 beginning_of_week extended in both Time and Date so that to return week start based on start day that is monday by default 2011-11-25 12:02:49 -08:00
José Valim
0a4035b12a Revert the serializers API as other alternatives are now also under discussion 2011-11-25 19:29:39 +00:00
rpq
510502ee3a comma 2011-11-23 23:26:17 -05:00
Michael Pearson
ef38c3089e Move JS runtime instructions to where the error would be encountered, remove gem install. 2011-11-24 10:59:29 +11:00
Michael Pearson
0e7443060b Add step to getting_started to install JS Runtime.
abstrakt on #rubyonrails found that the guide, when followed step by step,
does fails at the 'rails server' command due to a lacking JS runtime.
2011-11-24 10:33:04 +11:00