Commit Graph

9575 Commits

Author SHA1 Message Date
Andrew Timberlake
297276b99c Added documentation to gsub_file method 2008-12-28 01:25:23 -05:00
Chris Kampmeier
1ea13fce1a Rewrite ActiveRecord::Base.delete docs for clarity, and mention return value 2008-12-27 18:03:19 -05:00
Mike Gunderloy
fa6218c923 Regenerate Guides HTML 2008-12-27 16:16:49 -06:00
Xavier Noria
8b1d69d197 adds more inline docs for dynamically created methods in Active Support 2008-12-27 20:49:28 +01:00
Xavier Noria
6adfbf2844 adds inline docs for dynamically created methods in Active Record 2008-12-27 20:25:41 +01:00
Xavier Noria
0ba8dcb444 adds inline docs for dynamically created methods in Action Pack 2008-12-27 20:06:45 +01:00
Xavier Noria
8cabcbd272 adds inline docs for dynamically created methods in Active Support 2008-12-27 19:28:32 +01:00
Mike Gunderloy
711512a42b More formatting cleanup for testing guide 2008-12-27 09:34:56 -06:00
Mike Gunderloy
930b20678e Fix typo in layout and rendering guide 2008-12-27 09:07:55 -06:00
Mike Gunderloy
6d0639c95e Merge patch on subtemplates into layouts & rendering guide 2008-12-27 09:05:37 -06:00
Mike Gunderloy
e51b8e2036 Add information on new rendering syntax to layouts + rendering guide 2008-12-27 08:52:32 -06:00
Mike Gunderloy
d65a24c49e Formatting changes on index and testing guide 2008-12-27 08:23:33 -06:00
Mike Gunderloy
8584922705 Add version links to index 2008-12-27 08:03:36 -06:00
Yaroslav Markin
fa0502494e It is better to have this commented out to let locale-checking scripts perform better (rails-i18n) 2008-12-27 13:27:54 +03:00
Aditya Chadha
dce642f22a Fixed typo 2008-12-27 02:50:30 -05:00
Chris Kampmeier
d49fa21a03 ActionController::Request docs: fix reference to nonexistent ACCEPTED_HTTP_METHODS constant, clean up #request_method and #method 2008-12-26 16:32:14 -05:00
Pivotal Labs
fe9239e9c6 Documentation for merged joins 2008-12-26 17:29:45 +00:00
Pratik Naik
d9ca219e3e Merge commit 'mainstream/master' 2008-12-26 17:29:35 +00:00
Pratik Naik
db5a98e6cb Merge docrails 2008-12-26 17:19:59 +00:00
Pratik Naik
73e9f4e909 Merge commit 'mainstream/master' 2008-12-26 17:18:06 +00:00
Pratik Naik
07298fd092 Don't recurse when ActionController#render is called without any arguments 2008-12-26 01:49:14 +00:00
Pratik Naik
80307c8b0a Make ActionController#render(symbol) behave same as ActionController#render(string) [#1435] 2008-12-26 01:12:11 +00:00
Pratik Naik
cd1d6e8768 Make ActionController#render(string) work as a shortcut for render :action => string. [#1435]
Examples:
  # Instead of render(:action => 'other_action')
  render('other_action')

Note : Argument must not have any '/'
2008-12-25 23:05:34 +00:00
Pratik Naik
d67e03871e Make ActionController#render(string) work as a shortcut for render :template => string. [#1435]
Examples:
  # Instead of render(:template => 'controller/action')
  render('controller/action')

Note : Argument must not begin with a '/', but have at least one '/'
2008-12-25 22:26:03 +00:00
Pratik Naik
061952392a Make ActionController#render(string) work as a shortcut for render :file => string. [#1435]
Examples:
  # Instead of render(:file => '/Users/lifo/home.html.erb')
  render('/Users/lifo/home.html.erb')

Note : Filename must begin with a forward slash ('/')
2008-12-25 21:43:07 +00:00
Pratik Naik
dd0753458f Move ActionController::Base#render arguments validation to a separate method 2008-12-25 20:49:31 +00:00
Pratik Naik
04a8b2362d Make render_test.rb run in isolation 2008-12-25 19:28:08 +00:00
Pratik Naik
6e2a771661 Undry ActionController::TestCase#<HTTP_METHODS> for better documentation 2008-12-25 17:54:44 +00:00
Pratik Naik
e898f82a74 Move request parsing related code to ActionController::RequestParser 2008-12-25 03:51:04 +00:00
Mislav Marohnić
2cd8d3b4c5 form helpers: twakes based on feedback; more content; set outline for remaining topics 2008-12-25 00:23:51 +01:00
Joshua Peek
9c1e48eaea ActionController::VerbPiggybacking middleware 2008-12-23 13:36:05 -06:00
Ryan Bigg
ee69bac14e Xavier Noria suggestions added! Guides #16, parts 27-29. 2008-12-23 21:28:10 +10:30
Pratik Naik
3562d54d18 Remove duplicate attr_reader :env 2008-12-23 00:36:13 +00:00
Pratik Naik
293bb02f91 Unify ActionController::AbstractRequest and ActionController::Request 2008-12-23 00:30:32 +00:00
Pratik Naik
b5ecfe78f9 Use Rack::MockRequest for TestRequest 2008-12-23 00:30:32 +00:00
Pratik Naik
7e1751111e Rename RackRequest to Request 2008-12-23 00:30:32 +00:00
Pratik Naik
408ec6c0dc Remove rack_process.rb 2008-12-23 00:30:32 +00:00
Pratik Naik
900aad677f Remove deprecated relative_url_root 2008-12-23 00:30:32 +00:00
Joshua Peek
faf8364050 Defining a new method is atomic, no mutex needed. 2008-12-22 16:58:48 -06:00
Joshua Peek
0b22a96b7a Move default middleware stack to middlewares.rb 2008-12-22 12:04:32 -06:00
Joshua Peek
aa002c0e86 ActiveRecord::QueryCache middleware 2008-12-22 11:31:18 -06:00
Luis Hurtado
63aac33833 Ensure of Model#create support custom updated_at and updated_on attributes [#1612 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-22 15:19:33 +00:00
Sam Oliver
70456aed31 Use I18n for date/time select helpers prompt text [#561 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-22 15:13:39 +00:00
Sergio Gil
e8de7a67a5 Add :allow_nil option to delegate [#1127 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-21 23:24:06 +00:00
Daniel Luz
f7bd0beb67 Ensure Model#last doesn't affects order for another finders inside the same scope [#1499 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-21 23:24:06 +00:00
Sam Oliver
389534c38c Added prompt options to date helpers [#561 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-12-21 23:24:05 +00:00
Joshua Peek
858a420ce1 Ensure the template format is always passed to the template finder. Now we can cleanup some nasty stuff. 2008-12-21 17:24:16 -06:00
Pratik Naik
f5b7f0911b Merge commit 'fred/more_pullable' 2008-12-21 19:04:48 +00:00
=?utf-8?q?Adam=20Cig=C3=A1nek?=
fcd58dc27a Allow use of symbols for :type option of ActionController::Streaming#send_file/#send_data [#1232 state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
2008-12-21 18:58:55 +00:00
pfagiani
7cda0df7f1 Fix script/dbconsole not handling numeric password [#1395 state:resolved]
Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
2008-12-21 16:48:02 +00:00