Commit Graph

8894 Commits

Author SHA1 Message Date
Mikhail Dieterle
c46374a9d9 parse <css> block as code (used in engines guide) 2012-04-02 22:16:48 +08:00
Vijay Dev
cf182988f5 Merge branch 'master' of github.com:lifo/docrails 2012-04-01 19:53:29 +05:30
Vijay Dev
a5a9fc9afb copy editing [ci skip] 2012-04-01 19:49:36 +05:30
Erich Menge
6e814ce62f :success includes the whole 200 range, not just 200.
# File lib/rack/response.rb, line 114
114:       def successful?;    @status >= 200 && @status < 300;       end
2012-04-01 08:39:57 -05:00
Rafaël Blais Masson
bf8c3eb55a Reorder bits in the Layouts and Rendering guide 2012-03-31 10:31:43 -04:00
Jon Leighton
b69298e01d fix typo. thanks @nertzy 2012-03-30 13:58:51 +01:00
Jon Leighton
84338aab90 Update guides to reflect 0a12a5f8169685915cbb7bf4d0a7bb482f7f2fd2 2012-03-30 13:15:47 +01:00
Jon Leighton
96b819210e remove irrelevant references to ARel 2012-03-30 13:07:00 +01:00
Jon Leighton
13b3c77e39 Add Relation#find_by and Relation#find_by! 2012-03-30 12:52:29 +01:00
Levi McCallum
03c051eb54 Introduce minor spelling corrections and fix broken markup tag. 2012-03-29 16:32:22 -10:00
Rafaël Blais Masson
fe1e039a69 Make body background white for Lion scrollbar to be dark 2012-03-29 08:15:17 -04:00
Grant Hutchins
18d275ada1 Make controller namespace partial prefix optional
config.action_view.prefix_partial_path_with_controller_namespace

This allows you to choose to render @post using
/posts/_post.erb instead of /admin/posts/_post.erb
inside Admin::PostsController.
2012-03-28 20:21:46 -04:00
Henrik N
4a26b22b46 Routing guide: document lambda constraints and request argument. 2012-03-28 21:07:12 +02:00
Piotr Sarnacki
128cfbdf4d config.action_view.embed_authenticity_token_in_remote_forms is true by default
Changed default value for `config.action_view.embed_authenticity_token_in_remote_forms`
to `false`. This change breaks remote forms that need to work also without javascript,
so if you need such behavior, you can either set it to `true` or explicitly pass
`:authenticity_token => true` in form options
2012-03-28 18:03:16 +02:00
Piotr Sarnacki
805b15ff35 Added config.action_view.embed_authenticity_token_in_remote_forms
There is a regression introduced in 16ee611fa, which breaks
remote forms that should also work without javascript. This commit
introduces config option that allows to configure this behavior
defaulting to the old behavior (ie. include authenticity token
in remote forms by default)

Conflicts:

	actionpack/CHANGELOG.md
2012-03-28 18:03:15 +02:00
Anuj Dutta
47320e90a0 Improved the comment for config.assets.manifest in the asset_pipeline guides. 2012-03-28 06:12:54 +00:00
Anuj Dutta
e7980006d8 Changed the config.assets.manifest path in the comments to nil. 2012-03-28 05:38:11 +00:00
Vijay Dev
b42fbd3ecb Merge branch 'master' of github.com:lifo/docrails 2012-03-27 21:26:37 +05:30
Vijay Dev
ae040ed6d8 minor edits in testing guide [ci skip] 2012-03-27 21:24:21 +05:30
Vijay Dev
286259f2aa Revert "[ci skip] updated bin/rails code in Rails Initialization Process guide"
This reverts commit 7feec40b89ada892ca6f107ada27ceedde505d83.

Reason: The guide had the contents of railties/bin/rails and I don't see
any reason to change it.
2012-03-27 21:08:08 +05:30
Dimitri De Frenne
ddab3df8d1 Made it a bit more clear where to run rails/server 2012-03-26 11:28:55 +02:00
Dimitri De Frenne
492e91cc34 Fixed typo in path 2012-03-26 11:28:12 +02:00
Xavier Noria
7cc797f177 restores example depicting the use of true or false in regular font
There was an example here that mentioned reload_plugins?
but it was deleted. This commit puts another example back.
2012-03-25 20:26:35 +02:00
schneems
2314490547 document -e argument for rails console
this adds documentation for -e flag which sets the environment of the rails console like the `rails server` command.
2012-03-24 17:24:22 -05:00
Panayotis Matsinopoulos
c12b886955 Testing layout gotcha when view renders partial 2012-03-24 23:33:41 +02:00
Panayotis Matsinopoulos
5b35664481 Small layout correction 2012-03-24 23:16:55 +02:00
Panayotis Matsinopoulos
214b0ddee7 Testing Template and Layout Example 2012-03-24 23:12:39 +02:00
Senthil A
7feec40b89 [ci skip] updated bin/rails code in Rails Initialization Process guide 2012-03-24 06:06:56 -07:00
Vijay Dev
014498e1d7 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/ruby_on_rails_guides_guidelines.textile
2012-03-24 17:15:10 +05:30
Vijay Dev
2fab826db0 spacing fix in guide [ci skip] 2012-03-24 14:23:06 +05:30
Fabián Rodríguez
b99d95d838 [getting started][ci skip] fix link to the code 2012-03-23 18:15:02 -03:00
Mikhail Dieterle
44ef59f40b :foreign_key option should be on has_many side of association 2012-03-23 18:30:16 +08:00
adman65
d3223b5b65 Update config.assets.initialize_on_precompile warning to include engine side affects 2012-03-22 12:10:52 +01:00
adman65
5fdcda8b22 [engines] [ci-skip] Add example of precompiling engine assets 2012-03-22 12:05:28 +01:00
kucaahbe
152798f6a6 improvements in "caching_with_rails" guide 2012-03-22 11:39:46 +02:00
Mark D. Blackwell
4a1a018d62 [ci skip] Make guides more readable & consistent 2012-03-20 13:01:01 -04:00
Vijay Dev
ae88ec4dda guides location has changed [ci skip] 2012-03-20 20:30:36 +05:30
Vijay Dev
9c748f3961 Merge branch 'master' of github.com:lifo/docrails 2012-03-19 18:28:10 +05:30
Ryan Bigg
ef0821bef6 [getting started] Explain what the create action is accomplishing after params are output
[ci skip]
2012-03-17 20:41:32 -06:00
Ryan Bigg
b30cc24c40 [getting started] [ci skip] Explain in better terms what we are doing with render and params[:post] inspection upon first use 2012-03-17 20:41:06 -06:00
Ryan Bigg
62d3693288 [getting started] [ci skip] Just want to get post params 2012-03-17 20:40:29 -06:00
Ryan Bigg
edad287e84 [getting started] Add images 2012-03-17 20:40:05 -06:00
Rafael Mendonça França
da5a47e7b9 Update the guides and CHANGELOG 2012-03-17 13:44:56 -03:00
Xavier Noria
6d87cd028b moves the guides up to the root directory 2012-03-17 08:32:49 -07:00