Commit Graph

23117 Commits

Author SHA1 Message Date
Jeroen Jacobs
2b72bb9846 Tests only after filters in cache sweepers 2011-06-23 17:56:37 +02:00
Jeroen Jacobs
a46d231c79 Fixes an issue where cache sweepers with only after filters would have no controller object
It would raise undefined method controller_name for nil
2011-06-23 17:56:24 +02:00
José Valim
7ff4aeddbe Merge pull request #1791 from cmeiklejohn/3-1-stable
Cherry pick of pull #1787 into 3-1-stable
2011-06-20 11:32:48 -07:00
Christopher Meiklejohn
03d01ec73e Streamline fragment_for SafeBuffer logic to make it more concise and robust against unsafe buffers. 2011-06-20 14:20:58 -04:00
Daniel Azuma
f542188e7a Add missing require 'set'
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-06-20 08:53:39 -03:00
José Valim
c533517362 Merge pull request #1773 from bensie/class-attr-3-1-stable
Instance reader method on class_attribute - 3-1-stable
2011-06-19 09:09:04 -07:00
James Miller
e5f6abd1ff Add option to omit creating an instance reader method on class_attribute 2011-06-19 08:28:58 -07:00
José Valim
e402b688cc Merge pull request #1771 from arunagw/require_rel_remove
Require rel remove from 3-1-stable
2011-06-19 04:52:44 -07:00
José Valim
9dca40d4d4 Merge pull request #1768 from stevehodgkiss/3-1-stable
3 1 stable
2011-06-19 04:50:21 -07:00
Xavier Noria
cbd6fa7c05 explains why links are gsub'ed, and changes the regexp delimiters
Conflicts:

	Rakefile
2011-06-19 11:41:45 +02:00
Arun Agrawal
7e7ac1239d Removing require_relative gem. Linecache new version 0.46 is out and
it's loading rbx-require-relative > 0.0.4
2011-06-19 15:08:35 +05:30
Steve Hodgkiss
aba7a43273 Fix inconsistencies by being polite to the wrapped body. Needed for Rack::Sendfile to function properly. See issue #1761. 2011-06-19 06:05:13 +01:00
Vijay Dev
7e65b00ab5 Revert changes done in c56618ec, 51cb7459 and 030950a. The links are
pointing to files/*/*.html for usage in api.rubyonrails.org and as a
result are broken in GitHub blobs. This is unavoidable (at least for now).

Conflicts:

	README.rdoc
2011-06-18 12:41:35 +02:00
Xavier Noria
1acc327223 copy-edits 7c2db6c, cbf2af1, and f391f94 2011-06-18 11:42:34 +02:00
Ryan Bigg
e516f2bc52 Added 'Configuring Assets' section to configuring guide 2011-06-18 11:42:28 +02:00
Lucia Escanellas
a7813a64a6 Update remove_index documentation
* Changes should better reflect present code behavior
* Related to issue: https://github.com/rails/rails/issues/1624
2011-06-18 11:42:06 +02:00
R.T. Lechow
e63fd899c7 Typo. 2011-06-18 11:42:01 +02:00
Vijay Dev
09d8c26a2f minor clean up generators section 2011-06-18 11:41:54 +02:00
Vijay Dev
334f62c454 add info that plugin installs need git or svn installed 2011-06-18 11:41:48 +02:00
Vijay Dev
a4f6227d1d document doc:* rake tasks 2011-06-18 11:41:39 +02:00
JudeAr
4ad6c331d5 typo changes fixed 2011-06-18 11:41:33 +02:00
JudeAr
d9bea8411a fixed typo chnages 2011-06-18 11:41:28 +02:00
Vijay Dev
063c432a39 add details on how to use specific annotations in rake:notes 2011-06-18 11:41:23 +02:00
Vijay Dev
96da5bda09 document how rake notes work 2011-06-18 11:41:17 +02:00
Jason Fox
6a8fd87c2e The name for the plain text template in Rails3 appears to be method.text.erb, not, method.text.plain.erb. Updated the doc to reflect this change. Also fixed a reference to an example that was incorrect. 2011-06-18 11:41:10 +02:00
Vijay Dev
96b82aa2be form => form_for 2011-06-18 11:41:03 +02:00
Christine Yen
bb139ed0cf Tweak linebreak in ActionController::Redirecting doc 2011-06-18 11:40:58 +02:00
thoefer
cb4fbe3ba3 Updated rails´s guides on the config.serve_static_assets and it´s settings in production mode using WEBrick. This documentation has it´s roots in #issue1657. You have to set config.serve_static_assets to true in production mode with WEBrick as only this includes ActionDispatch::Static. 2011-06-18 11:40:35 +02:00
Christine Yen
7e37db4218 Improve documentation around status code argument of redirect_to 2011-06-18 11:40:27 +02:00
Vijay Dev
b67621347e minor copy edit 0bdeddb 2011-06-18 11:40:20 +02:00
Arun Agrawal
35ee51f9b3 Jruby => JRuby, Mysql => MySQL 2011-06-18 11:40:14 +02:00
Arun Agrawal
05648ea9c5 Moving hint down. As required after all database examples. 2011-06-18 11:40:09 +02:00
Arun Agrawal
cf2818a15a Using "Finally" at the end of database section. 2011-06-18 11:40:03 +02:00
Arun Agrawal
0e1e61508f Added Doc for Postgresql database with Jruby Platform. #jruby 2011-06-18 11:39:57 +02:00
Arun Agrawal
739f8e9051 Added doc for Mysql database with Jruby platform #jruby 2011-06-18 11:39:51 +02:00
Arun Agrawal
f43ae976ae Adding doc for Sqlite3 database for Jruby platform #jruby 2011-06-18 11:39:44 +02:00
JudeArasu
c9c774dd73 typo changes 2011-06-18 11:39:38 +02:00
Sebastian Martinez
899c736cea Prefer Time.current over Time.now on example code 2011-06-18 11:39:33 +02:00
Sebastian Martinez
9387c70dbd Add Time#all_* to AS guides. 2011-06-18 11:39:26 +02:00
Vijay Dev
415f2e2b20 fix minor errors in nested model guide 2011-06-18 11:39:18 +02:00
Vijay Dev
78f880f48b document the instance_accessor option for cattr_accessor 2011-06-18 11:39:13 +02:00
Lukas Stejskal
108fdbaf31 fix two typos: and array -> an array 2011-06-18 11:39:07 +02:00
Robert Massaioli
4d3ec4c6a8 cycle: make an odd number be marked as odd.
Just a minor issue that was annoying me so I thought that I would jump in and fix it.
2011-06-18 11:39:00 +02:00
Vijay Dev
9994bd4750 assets are in app now and not in public 2011-06-18 11:38:23 +02:00
Sebastian Martinez
745665dc9d Add example for rails server port option. 2011-06-18 11:38:15 +02:00
thoefer
99aca48193 fixed typo for a methodname 2011-06-18 11:38:13 +02:00
Uģis Ozols
25d18746a8 with -> will 2011-06-18 11:37:57 +02:00
Vijay Dev
f73d1a6236 document server options 2011-06-18 11:37:49 +02:00
Vijay Dev
d010686ab0 more command guide changes 2011-06-18 11:37:43 +02:00
Vijay Dev
c71e78dad4 make some changes to the command line guide 2011-06-18 11:37:38 +02:00