Commit Graph

7561 Commits

Author SHA1 Message Date
Jason Noble
e9b3b9e5d8 This section is more about changing the output of running migrations 2011-12-03 19:31:44 -07:00
Jason Noble
d1ef1b2220 Improve readability 2011-12-03 19:31:44 -07:00
Jason Noble
90f18cc85e Readability improvements 2011-12-03 19:31:44 -07:00
Jason Noble
82ba3a79bf Move this into a section so that "Resetting the database" will show up in TOC 2011-12-03 19:31:44 -07:00
Jason Noble
d8c8bf5f05 Change wording to be more explicit on what migrating with a version does 2011-12-03 19:31:44 -07:00
Jason Noble
93d9845c30 Migrations can also run the "change" method 2011-12-03 19:31:44 -07:00
Jason Noble
4130fe3a5b Reword section to make it more readable. 2011-12-03 19:31:44 -07:00
Jason Noble
f41d099720 We're using methods, not writing them 2011-12-03 19:31:44 -07:00
Jason Noble
aca34b8e51 Change wording to be more understandable 2011-12-03 19:31:44 -07:00
Jason Noble
f7740f20f2 We're using the method, not writing it 2011-12-03 19:31:43 -07:00
Jason Noble
eedb863674 Change The other... to Another... 2011-12-03 19:31:43 -07:00
Jason Noble
74807383aa Reword confusing section 2011-12-03 19:31:43 -07:00
Jason Noble
a41295fdaa Correct grammatical errors 2011-12-03 19:31:43 -07:00
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
36cc1f78eb revises some details in the previous explain patch 2011-12-02 09:19:13 -08:00
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
José Valim
f9edc079e0 Split and improve show and debug exceptions middlewares. 2011-12-01 21:15:42 +01:00
José Valim
750bb5c865 Split ShowExceptions responsibilities in two middlewares. 2011-12-01 20:46:18 +01:00
José Valim
b4359bc723 Allow rescue responses to be configured through a railtie. 2011-12-01 19:21:35 +01:00
Tim Sjoberg
bb2adab79b fixed finger-dyslexia in active_support core extensions guide 2011-12-01 14:27:51 +02:00
Jonathan del Strother
88237daae4 Leave default_asset_host_protocol unset
When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation)
2011-12-01 11:57:33 +00: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
Yehuda Katz
a604983f8b Merge pull request #3816 from lest/exception-page-utf-8
fix exception page when template contains utf-8 and parameters contain utf-8
2011-11-30 11:45:18 -08:00
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
lest
13cab6ef50 fix exception page when template contains utf-8 and parameters contain utf-8 2011-11-30 21:51:01 +03:00
Vijay Dev
88daf08258 Merge branch 'master' of github.com:lifo/docrails 2011-11-30 23:32:01 +05:30
Aaron Patterson
4da879079e run_test method conflicts with newer minitest, so change the name 2011-11-30 09:08:30 -08:00
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
lest
fe7d4f09ef put backtrace_cleaner to env 2011-11-28 19:25:37 +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