Commit Graph

1531 Commits

Author SHA1 Message Date
Vijay Dev
bc6e1a154a fix template url 2011-01-08 23:35:36 +05:30
Ryan Bigg
a41d33431f config guide: add basic description for disable_dependency_loading initializer 2011-01-06 20:10:00 +10:00
Ryan Bigg
27717655ad Re-add "Using initializer files" section to configuring guide 2011-01-06 20:10:00 +10:00
Karel Minarik
1877faa7ac [FIX] Renamed ENV['LANG'] for generating translated guides to ENV['LANGUAGE'] so there's no mixup with OS env vars 2011-01-02 22:09:09 +01:00
Vijay Dev
a388c10f96 Fix typos and JavaScript case. 2011-01-03 02:08:08 +05:30
Vijay Dev
ebb732a7ec fix typos 2011-01-02 02:53:15 +05:30
Karel Minarik
56221faecd Added support for generating translated guides (stored in source/<LANG>) via setting the LANG environment variable 2011-01-01 18:01:11 +01:00
Xavier Noria
65d389955f Merge branch 'master' of git://github.com/lifo/docrails 2010-12-31 10:22:34 +01:00
Ryan Bigg
224e2d478a Routing guide: clarify what the :as option does for scopes 2010-12-31 17:50:37 +10:00
Ryan Bigg
9aef64f7a3 Routing guide: move scope documentation down to where it is referenced more plainly 2010-12-31 17:45:03 +10:00
Ryan Bigg
eaf67ca9c3 Routing guide: improve documentation for the scope method, demonstrating use of named parameters 2010-12-31 17:38:38 +10:00
Xavier Noria
eb1e727544 contrib_guide.gsub!("aptitude", "apt-get")
It turns out aptitude has been removed from Ubuntu 10.10
and while you can manually install it, apt-get is the
blessed package manager. Google for "aptitude removed
from Ubuntu" for more details. Thanks to Rafael Mendonça
França for pointing this out.
2010-12-30 07:13:04 +01:00
Xavier Noria
69765aad8b Merge branch 'master' of git://github.com/lifo/docrails 2010-12-29 23:46:03 +01:00
Xavier Noria
83e1938916 renames the contrib guide in the index 2010-12-29 11:42:11 +01:00
Xavier Noria
5fc02dbd03 since a lot of people use Ubuntu, document specific aptitude calls for some C dependencies in the contrib guide 2010-12-29 11:38:54 +01:00
Ryan Bigg
60447d8b00 Routing guide: mention that routes are matched from the top down in a note. 2010-12-29 10:57:59 +10:00
Vijay Dev
dd166c60c4 fixed incorrect spacing from 98368546719cf09b3bc2 2010-12-29 02:09:47 +05:30
Vijay Dev
9836854671 fixed examples & minor typos 2010-12-29 02:07:22 +05:30
Xavier Noria
6b43a3a627 complete revision of the Contributing to Ruby on Rails guide
* adds instructions for PostgreSQL
* adds references to mysql2 here and there
* puts documentation contributions on par with code contributions
* adds a section about Rails Contributors
* documents C dependencies for Nokogiri and the database libs
* everything double-checked and revised step by step
* adds a section about warnings in the test suite
* removes section about the Rails wiki
* title and filename renamed
* overall rewording
2010-12-28 20:36:42 +01:00
Karel Minarik
9f75545e5d Added information about invoking migrations in non-default environments to NOTE box in the "Getting Started" guide
Reason: When the guide already mentions "default environment", I think it is more then appropriate to tell the whole story.
2010-12-28 17:30:13 +01:00
Karel Minarik
cb4b5c8ad3 Adding information and link to guide on customizing generators into "Getting Started" guide. 2010-12-28 16:38:50 +01:00
Karel Minarik
8031b7e42b Fixed incorrect instructions for calling the rails command explicitely in the "Getting Started" guide 2010-12-28 10:25:55 +01:00
Karel Minarik
e2c2c2983a Added TIP box with information about the --database switch for the application generator in the "Getting Started" guide 2010-12-28 09:25:18 +01:00
Karel Minarik
8e8c13ab1e Fixed incorrect command for displaying options for new application Generator in Getting Started guide 2010-12-28 08:45:09 +01:00
Ryan Bigg
bb99c944d3 There's a couple -> There are a couple 2010-12-28 17:32:41 +10:00
Ryan Bigg
777a1f125d Init guide: begin down the rabbit warren that is active_record/railtie 2010-12-28 16:01:16 +10:00
Ryan Bigg
591c011238 Init: finish coverage of railties/lib/rails.rb 2010-12-28 15:10:13 +10:00
Ryan Bigg
8447754343 init guide: Cover the action_dispatch/railtie require from rails.rb 2010-12-28 15:06:26 +10:00
Ryan Bigg
02bb7e9b98 Remove old initialization guide text. Too much has changed for all of this to be useful. 2010-12-28 14:22:42 +10:00
Ryan Bigg
5196333d6c init guide: cover active_support/railtie.rb 2010-12-28 14:19:49 +10:00
Ryan Bigg
61e6a9f9d4 Init guide: Segue between rails/version and active_support/railtie requires 2010-12-28 14:19:05 +10:00
Ryan Bigg
0dd5433b98 Cover the inherited method from Rails::Railtie being used when I18n::Railtie is loaded. 2010-12-28 14:13:43 +10:00
Ryan Bigg
6777b7a886 Init guide: finish covering the process of the i18n_railtie.rb file. 2010-12-28 14:04:19 +10:00
Ryan Bigg
7b7537317c init guide: active_support/railtie does not require itself, actually requires i18n_railtie 2010-12-28 14:04:02 +10:00
Ryan Bigg
2f57353023 Init guide: finish covering initializers for i18n_railtie, moving on to covering after_initialize 2010-12-28 13:23:50 +10:00
Ryan Bigg
01febdadea init guide: active_support/inflector/methods is loaded by active_support/autoload first. 2010-12-28 13:22:28 +10:00
Ryan Bigg
62dd85cc83 Init guide: cover Railtie::Configuration and begin to cover the Initializer class and friends. 2010-12-27 19:14:44 +10:00
Ryan Bigg
a78e5bcfe4 Init guide: Cover the config variable set up which is referenced in i18n_railtie 2010-12-27 13:02:51 +10:00
Xavier Noria
57420dffb6 small rewording of my entry in the credits 2010-12-26 21:27:00 +01:00
Xavier Noria
71775807c1 no docs credits are written in first person, thanks to Vijay Dev for spotting this 2010-12-26 21:15:33 +01:00
Vijay Dev
50a2edbce6 fix spacing 2010-12-26 23:00:03 +05:30
Vijay Dev
e856318497 changed template gist to reflect Rails 3 and documented the add_source method to source gems from different locations 2010-12-26 22:57:45 +05:30
Vijay Dev
603e0f155d use new routes in templates 2010-12-26 22:10:56 +05:30
Vijay Dev
9ed385fe17 fix formatting 2010-12-26 00:09:08 +05:30
Vijay Dev
2801efbc3b use all and first instead of find(:all) and find(:first) 2010-12-25 23:59:57 +05:30
Vijay Dev
c6b9e47d5c use new routes 2010-12-25 23:27:15 +05:30
Vijay Dev
8618ef7537 highlighted find(array of keys) behaviour when one or more record is not found 2010-12-25 22:07:31 +05:30
Vijay Dev
b30293f2f6 minor edit 2010-12-25 22:04:05 +05:30
Vijay Dev
fdfa7dc648 fixed comment - same as 592f600 2010-12-25 01:52:28 +05:30
Vijay Dev
592f6004e1 fixed comment in w3c_validator 2010-12-25 01:19:33 +05:30
Vijay Dev
f17e1b2f7f clean up plugin references 2010-12-25 01:04:10 +05:30
Vijay Dev
caca58e4da fixed typos and cut down the spaces 2010-12-25 00:56:39 +05:30
Vijay Dev
517b37146a minor edits 2010-12-25 00:38:03 +05:30
Moiz Raja
e38cacb8ee correct links to rack articles 2010-12-23 22:51:12 -08:00
Xavier Noria
3822673151 Merge branch 'master' of git://github.com/lifo/docrails 2010-12-24 01:55:12 +01:00
Ryan Bigg
d1e95e12b4 Revert "Query guide: arel_table, eq and eq_any" along with other commits that added documentation involving the arel_table method
This reverts commit 578f9711fdb42ca9fc4b8248c494afe755cd1c17.

Conflicts:

	railties/guides/source/active_record_querying.textile
2010-12-24 10:47:38 +10:00
Ryan Bigg
e4314e7d3f Query guide: visists => visits 2010-12-24 07:23:12 +10:00
Vijay Dev
06e2f7cd17 minor convention edit 2010-12-24 00:34:07 +05:30
Vijay Dev
f1eb69c5b2 fixing typo that crept in 2c8938f 2010-12-24 00:24:26 +05:30
Vijay Dev
5683d6883b It's JavaScript :) 2010-12-24 00:19:41 +05:30
Vijay Dev
2c8938fcba fixed inject example and some minor edits 2010-12-24 00:03:51 +05:30
Vijay Dev
bb707cf737 indentation fix 2010-12-23 23:34:28 +05:30
Ryan Bigg
890105f4f1 Query guide: add or conditions 2010-12-23 22:15:08 +10:00
Ryan Bigg
8713bb6ab8 Query guide: cover further ARel methods 2010-12-23 18:36:39 +10:00
Ryan Bigg
6271f3f16b Query guide: Document "in" methods 2010-12-23 16:39:10 +10:00
Ryan Bigg
578f9711fd Query guide: arel_table, eq and eq_any 2010-12-23 16:06:29 +10:00
Ryan Bigg
cef17cd705 Query guide: specify what type of objects scopes return 2010-12-23 15:44:12 +10:00
Ryan Bigg
0795c3a15e Query guide: Ordering, selecting and so on shouldn't be nested in conditions as they are modifiers, not conditions in the prime sense of the word. 2010-12-23 15:05:17 +10:00
Ryan Bigg
c3748190f4 Query Guide: update Changelog 2010-12-23 14:59:22 +10:00
Ryan Bigg
226a2a90ed Query guide: class methods are still available on associations 2010-12-23 14:58:33 +10:00
Ryan Bigg
0644e38c42 Query guide: scopes with arguments should be instead defined as class methods. 2010-12-23 14:57:53 +10:00
Ryan Bigg
b4b2574a12 Query guide: fix indentation 2010-12-23 14:55:42 +10:00
Ryan Bigg
f411451ed5 Remove comma [samuelkadoph] 2010-12-23 14:53:26 +10:00
Ryan Bigg
28b1642561 Query guide: lambdas must be used when working with scopes 2010-12-23 14:50:40 +10:00
Ryan Bigg
5b19579ab3 Init guide: further revision, covering rails/plugin.rb and friends 2010-12-23 14:36:24 +10:00
Ryan Bigg
f183668ff9 Querying guide: Add mention of the scope method 2010-12-23 14:36:24 +10:00
Xavier Noria
0b5222fa45 API guidelines: RDoc markup documentation has been moved in RDoc 3 2010-12-23 00:23:22 +01:00
Vijay Dev
15ce225ab0 fix typo 2010-12-22 23:47:23 +05:30
Vijay Dev
90ef676c7f remove duplication of links 2010-12-22 23:47:09 +05:30
Lee Reilly
55b01e65e2 No example given on how to render JSON data despite the heading 'Rendering XML and JSON data'; added relevant code. 2010-12-21 19:49:42 -08:00
Ryan Bigg
68ebd332d0 Config guide: Complete sentence about the Rack::SendFile middleware. 2010-12-21 13:45:38 +10:00
Ryan Bigg
4da4087fd8 Further re-working of the initialization guide 2010-12-21 10:40:15 +10:00
Ryan Bigg
1cacb08b21 Improve documentation on ActiveSupport::Deprecation. 2010-12-21 10:40:15 +10:00
Ryan Bigg
8373c735c7 config guide: mention ActiveSupport::Deprecation configuration options. 2010-12-21 10:40:14 +10:00
Xavier Noria
880f8419c4 Merge branch 'master' of git://github.com/lifo/docrails 2010-12-20 20:13:34 +01:00
Vijay Dev
6909fb6cff indentation fixes 2010-12-20 02:34:08 +05:30
Vijay Dev
4197fad841 fix typos 2010-12-20 00:07:43 +05:30
Vijay Dev
eaad8610ee minor example fix for Rails 3 2010-12-19 23:37:22 +05:30
Vijay Dev
cc3d6a8571 minor corrections 2010-12-19 21:28:33 +05:30
Vijay Dev
6b65cd57ca deleting trailing whitespaces 2010-12-19 17:57:20 +05:30
Ryan Bigg
d421b16edc Config guide: middlewares can also be removed from the stack 2010-12-17 16:24:47 +10:00
Ryan Bigg
225f95237b init guide: Cover beginnings of rails/application.rb 2010-12-17 16:24:47 +10:00
Ryan Bigg
5e0daa0bce init guide: Cover ruby version checker and kernel reporting and logger coreext 2010-12-17 16:24:47 +10:00
Santiago Pastorino
3b9120fa52 Generate add_index by default when giving type belongs_to or references 2010-12-16 20:58:58 -02:00
Piotr Sarnacki
f176b2552e Changelog and guide entries for config.action_view.cache_template_loading 2010-12-16 22:53:19 +01:00
Vijay Dev
e00afadfdd removed info about deprecated rake tasks, documented the sandbox option for the rails console and minor corrections 2010-12-16 02:09:57 +05:30
Vijay Dev
f96fb78e57 removed info about deprecated rake tasks, documented the sandbox option for the rails console and minor corrections 2010-12-16 01:49:30 +05:30
Santiago Pastorino
692b621d2a Tables style unification 2010-12-16 01:49:28 +05:30
Santiago Pastorino
4c5805dfab Add named helper to photo controller example 2010-12-16 01:49:28 +05:30
Santiago Pastorino
6f8cc0776b Add underline to header 2010-12-16 01:49:28 +05:30