Commit Graph

35144 Commits

Author SHA1 Message Date
Weston Platter
97b249112d [engines guide] reformatted some stuff 2013-01-24 02:42:40 -06:00
Weston Platter
9133aadfe2 [engines guide] reworded a run on 2013-01-24 02:42:21 -06:00
Vipul A M
d35b76283b Add new DB rake tasks to the contributing section. 2013-01-23 20:45:31 +05:30
Philip Arndt
a9ba6a9322 Made indentation consistent. 2013-01-23 20:02:49 +13:00
Brian Littmann
bceeeaa4bd Typo, grammar, and comma love. 2013-01-22 15:59:49 -06:00
Brian Littmann
634a2aafbe Typo fix in guides/source/engines.md 2013-01-22 15:17:16 -06:00
Tatsuro Baba
cb413c77cd Fix typo 2013-01-22 09:48:38 +09:00
vertigoclinic
9aa8174993 adding comma to separate clauses 2013-01-21 08:11:39 -08:00
Carlos Antonio da Silva
2061c98b42 Review #translate docs [ci skip] 2013-01-20 22:49:42 -02:00
Jens Bissinger
37d15d4e1b Add documentation for abstract controller #translate and #localize method. 2013-01-20 19:15:15 +01:00
Matthew Stopa
56498b4b9e Add documentation to ActionDispatch::Response 2013-01-20 10:41:02 -07:00
Cyril Jouve
03a391482a consistently inherit from ApplicationController in guides exemples 2013-01-20 03:38:45 +01:00
Lucas Caton
2b7a621e6a Replacing plugin to gem 2013-01-19 15:49:28 -02:00
Thomas Drake-Brockman
46752092ef Replaced documentation for config.action_controller.raise_on_unpermitted_parameters with documentation for config.action_controller.action_on_unpermitted_params. 2013-01-20 00:23:55 +08:00
Francesco Rodriguez
b8ef4f05fb fix broken examples format in image_tag helper [ci skip] 2013-01-18 12:26:03 -05:00
Akira Matsuda
cb60a83377 "Asynchronous Mailers" will not be available in 4.0 2013-01-18 22:18:33 +09:00
Tatsuro Baba
7bb34b12f0 Remove useless number sign
I think that these signs are probably mistake.
2013-01-18 18:14:18 +09:00
Erik Johnson
3fa73324c5 for recommended Apache configuration of asset pipeline, use <Location> instead of <LocationMatch>,
to avoid unnecessary reg ex parsing and code
<http://httpd.apache.org/docs/2.2/mod/core.html#location
(recommended by @jja). - @erikj
2013-01-17 14:25:18 -07:00
Thiago Pinto
8c603918ab repeating documentation for option form helpers 2013-01-17 13:45:16 -05:00
Thiago Pinto
d1238afc21 repeating documentation for date and time form helpers 2013-01-17 13:40:01 -05:00
Jonathan Garvin
69d395cbb2 fix example of setting DEFAULTS in fixtures 2013-01-16 20:22:23 -07:00
Jonathan Garvin
f58e268e38 clarify awkward sentence re: email testing 2013-01-16 19:19:31 -07:00
Carlos Antonio da Silva
e7ffb5e4e3 Fix typo introduced in 0004ca3a
[ci skip]
2013-01-16 09:26:45 -02:00
Nicholas Schultz-Møller
728f9c2eed Fix formatting error introduced in cc585c8. 2013-01-16 11:44:55 +01:00
Matthew Stopa
0004ca3a97 More documentation for ActionDispatch::Response
[ci skip]
2013-01-16 00:48:25 -07:00
Matthew Stopa
7b1a58bbae Document ActionDispatch::Response#body method 2013-01-16 00:33:08 -07:00
Xavier Noria
3daa8e51cc removes spurious file pushed in cc585c8 2013-01-15 21:01:30 +01:00
davetoxa
cc585c8b01 revert to 814c9875ec4cf01e1348d1ab1c9d12eee5a9adac 2013-01-16 01:26:47 +06:00
davetoxa
ffea97e52a Revert "fix history"
This reverts commit dd319600010f4fdc4fac58e5b192bb96fe0d3d7e.
2013-01-16 01:14:22 +06:00
davetoxa
4dcc9dddde Revert "Improves documentation about Fragment Caching. [ci skip]"
This reverts commit 814c9875ec4cf01e1348d1ab1c9d12eee5a9adac.
2013-01-16 01:12:37 +06:00
davetoxa
dd31960001 fix history 2013-01-16 00:10:03 +06:00
Nicholas Schultz-Møller
814c9875ec Improves documentation about Fragment Caching. [ci skip]
Adds documentation for:
- Aggregate cache keys,
- using an ActiveRecord model as cache key and
- Russian Doll Caching.
2013-01-15 14:44:08 +01:00
Matt Bridges
bc9433f495 fix reference to ActiveSupport::ProxyObject 2013-01-13 23:59:14 -06:00
Jude Arasu
c22989d326 Fix simple expression 2013-01-13 09:07:39 +05:30
Zachary Porter
d2d07b3ade Fix typo in guides/source/engines.md 2013-01-11 15:26:05 -05:00
Zachary Porter
0a89d4db1e Fix typo in guides/source/engines.md 2013-01-11 14:07:14 -05:00
Zachary Porter
2222ebb2b0 Update engine application layout file path 2013-01-11 13:53:25 -05:00
Benoit Caccinolo
5ff752de1b Update guides/source/active_record_basics.md 2013-01-11 11:38:52 +01:00
Jakob Waller
9f487e7aac Clarified the minute option on DateTime#change 2013-01-10 12:13:54 +01:00
Gosha Arinich
00f68c52c5 update assets guide code styling
* 1.9 hash syntax
* proper formatting around one line blocks
* do-end for multiline blocks
2013-01-10 12:59:56 +03:00
Juanjo Bazán
5fb84c6828 remove 'update' duplications 2013-01-08 23:49:29 +01:00
Vijay Dev
f049016cd3 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/getting_started.md
2013-01-09 01:04:15 +05:30
David Heinemeier Hansson
64e3660ff0 Merge pull request #8818 from jamis/master
view_cache_dependency API
2013-01-08 10:29:50 -08:00
Jamis Buck
70e684a681 view_cache_dependency API
A declarative API for specifying dependencies that affect template
cache digest computation. In your controller, specify any of said
dependencies:

  view_cache_dependency { "phone" if using_phone? }

When the block is evaluated, the resulting value is included in the
cache digest calculation, allowing you to generate different digests
for effectively the same template. (Mostly useful if you're mucking
with template load paths.)
2013-01-08 11:20:47 -07:00
Steve Klabnik
ac86cbec82 Merge pull request #8810 from NARKOZ/image-submit-tag
set 'alt' attribute for image_submit_tag
2013-01-08 07:39:06 -08:00
David Heinemeier Hansson
cc1c3c5be0 Revert "unpermitted params" exception -- it's just not going to work. See the discussion on https://github.com/rails/strong_parameters/pull/75. 2013-01-08 16:17:30 +01:00
David Heinemeier Hansson
ae3286b743 Never treat action or controller as unpermitted params 2013-01-08 15:52:18 +01:00
Carlos Antonio da Silva
4f002a1df3 Bump rack dependency to 1.4.3
It includes security bug fixes and changes the initialization of
Rack::File to accept a hash, otherwise generating warnings.

See 295806e for the warnings fix.
2013-01-08 10:49:02 -02:00
Carlos Antonio da Silva
295806e119 Merge pull request #8812 from rubys/master
Eliminate Rack::File headers deprecation warning
2013-01-08 04:29:24 -08:00
Sam Ruby
9cc82b7719 Eliminate Rack::File headers deprecation warning
See http://intertwingly.net/projects/AWDwR4/checkdepot/section-6.1.html
rake test produces:
   "Rack::File headers parameter replaces cache_control after Rack 1.5."

Despite what the message says, it appears that the hearders parameter change
will be effective as of Rack 1.5:

https://github.com/rack/rack/blob/rack-1.4/lib/rack/file.rb#L24
https://github.com/rack/rack/blob/master/lib/rack/file.rb#L24
2013-01-08 07:22:48 -05:00