Commit Graph

4948 Commits

Author SHA1 Message Date
Xavier Noria
a1fdf402c0 routing guide: wildcard segments are quite flexible, go beyond the simple use case 2010-08-16 01:14:09 +02:00
José Valim
ada8c66ba0 Improve routes task code and print the application as :to => RackApp. [#5338 state:resolved] 2010-08-15 16:36:12 -03:00
Mark Turner
99f3997520 make rake routes print the name of a Rack endpoint app [#5338 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-15 16:22:57 -03:00
Xavier Noria
331c5da7f0 getting started guide: typos reported by Abder-Rahman Ali 2010-08-15 13:03:05 +02:00
Santiago Pastorino
b451de0d6d Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
Santiago Pastorino
919888503d Moves local_request? to require.local?
[#5361 state:committed]
2010-08-13 17:35:52 -03:00
Xavier Noria
4134d7db34 Merge remote branch 'docrails/master' 2010-08-12 17:36:09 +02:00
Paco Guzman
8a2b69b727 applied guidelines to "# =>" 2010-08-12 17:09:58 +02:00
Xavier Noria
ccc89f4899 AS guide: some revisions 2010-08-12 00:17:20 +02:00
Nick Sieger
f5c5cdd4ae Missed one spot for --skip-active-record, which means that new Gemfile isn't set up right
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-11 00:42:45 -03:00
Xavier Noria
2a984806ca AS guide: removes some duplication, and makes a second pass on method delegation 2010-08-10 11:52:37 +02:00
Xavier Noria
347d604792 adds the AS guide to the guides index 2010-08-10 04:10:32 +02:00
Xavier Noria
5fc8af4712 AS guide: documents Module#redefine_method 2010-08-10 04:10:32 +02:00
Xavier Noria
ae147b45bb AS guide: documents Module#(instance_)method_names 2010-08-10 04:10:32 +02:00
Xavier Noria
a5d401aa99 AS guide: documents Module#delegate 2010-08-10 03:28:59 +02:00
Xavier Noria
41328815c0 AS guide: documents Process.daemon 2010-08-10 01:55:09 +02:00
Xavier Noria
898bd38d7a AS guide: documents date/datetime/time arithmetic with durations 2010-08-10 01:30:37 +02:00
Brandon Tilley
dd1b33078a Fixed problem with markup that caused an extra symbol in a function name when rendered. 2010-08-09 15:46:39 -07:00
wycats
6767946374 Improve best_standards_support to use only IE=Edge in development mode 2010-08-09 11:48:31 -07:00
Xavier Noria
505546af70 form helpers guide: fixes an example 2010-08-09 14:11:05 +02:00
Xavier Noria
d87c57bf3e AC guide: commit review, block examples go at column 0, use .example.com as example domain 2010-08-09 12:21:21 +02:00
Daniel McNevin
678aeb7e48 updated the action_controller guide with the new session configuration options 2010-08-08 19:57:42 -04:00
Xavier Noria
4d3b2ea68b Merge remote branch 'rails/master' 2010-08-08 18:35:43 +02:00
Xavier Noria
ddeaf6c887 routing guide: documents the CONTROLLER environment variable understood by the routes task 2010-08-08 18:31:19 +02:00
Xavier Noria
672c796ac4 fix reference to time/calculations.rb in AS guide 2010-08-06 22:46:43 +02:00
Xavier Noria
62bb83d0a2 AS guide: documents calculations with Time objects 2010-08-06 17:29:52 +02:00
Xavier Noria
23abf46112 AR guide: fixes a query 2010-08-06 13:33:02 +02:00
Xavier Noria
9989d3337f Merge remote branch 'docrails/master' 2010-08-05 15:56:42 +02:00
Xavier Noria
02572399a5 AS guide: documents DateTime#advance 2010-08-05 14:10:07 +02:00
Xavier Noria
3cbe111439 Merge remote branch 'docrails/master' 2010-08-05 01:15:57 +02:00
Xavier Noria
d191db76e0 standarizes the use of the article "an" for "SQL" and "SQLite" 2010-08-05 01:09:09 +02:00
José Valim
7e2399a42f Revert "Put lib back on the autoload path"
This was causing engines/gems to eager load everything in lib. Another fix is comming soon.

This reverts commit 02a5842cd09bd75de4c2fdb6b474c6c0ff163ebf.
2010-08-04 14:13:50 +02:00
Simone Carletti
7745f716a1 Fixed Railtie Rdoc examples not properly formatted [#4918 state:resolved]
Signed-off-by: Simone Carletti <weppos@weppos.net>
2010-08-04 13:27:14 +02:00
wycats
02a5842cd0 Put lib back on the autoload path 2010-08-03 14:57:55 -07:00
Santiago Pastorino
b8634dddab Stub is_a? not instance_of? here 2010-08-03 12:17:53 -03:00
Curtis Cablegram
e1142dfcae Refactor log-tailer to depend on File#eof? rather than File#mtime
[#5220 state:resolved]

Eliminate 1 instance variable and 1 local variable.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-03 10:50:25 +02:00
Curtis Cablegram
1466f312ba Change log-tailer to properly track multi-byte characters.
When end-of-line is represented within a file as "\r\n",
it is represented in memory as a single "\n".  This patch eliminates
the discrepancy between size on disk and size in memory.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-03 10:50:21 +02:00
José Valim
558ee6e95c Handle edge cases in the previous patch. 2010-08-02 16:40:02 +02:00
Fred Wu
cdad483dff Improved how AppGenerator generates the application name. It now detects the current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator.
[#5225 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-02 16:30:20 +02:00
Santiago Pastorino
e6331b1e97 Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when using the deprecated syntax
[#5263 state:committed]
2010-08-02 10:55:09 -03:00
rohit
c544fcc8eb Failing test to check for route file corruption if legacy map parameter is used. [#5263 state:open] 2010-08-02 10:55:05 -03:00
Prashant P. Shah
3b44b52fb0 Corrected the rake test:units and test:functionals description [#5251 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-08-01 22:17:15 -03:00
Xavier Noria
f78de68649 explains Array.wrap directly, rather by comparison with Kernel#Array which is too obscure, leaves the comparison to document the differences, and adds a comparison with the related idiom that uses the splat operator 2010-08-01 03:19:58 +02:00
Johan Lundström
96f8325116 DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-07-31 20:38:12 -03:00
Xavier Noria
3d7099891f Merge remote branch 'rails/master' 2010-07-31 11:55:24 +02:00
Xavier Noria
87a28e34ae if there's a Gemfile and doc:guides can't load RedCloth, print instructions for bundler 2010-07-30 21:50:53 +02:00
Xavier Noria
05e0fa9cfb the main page of the API generated by the doc:rails task is README 2010-07-30 21:50:53 +02:00
Arkadiusz Holko
8828651420 Command Line Guide: changes all 'rails app' commands to 'rails new app' 2010-07-30 09:19:01 -07:00
Steve Agalloco
b823e50a54 fix for rails app generator when using --pretend option
[#5245 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-07-30 11:55:07 -03:00
Santiago Pastorino
03fc2f03cb Bump up bundler version to rc.2 2010-07-29 23:48:47 -03:00