Rizwan Reza
55a5c7068c
Readme file changes:
...
* Took out stuff that's not relevant (or useful) anymore.
* Some formatting.
* Added helpful links to get started with Rails.
* Took out Apache htaccess tutorial since we aren't teaching Apache here.
2010-06-05 04:26:01 +04:30
Rizwan Reza
e6f2102178
Merge branch 'master' of git://github.com/rails/rails
2010-06-05 04:04:49 +04:30
Matt Di Pasquale
1535b02a9f
Improve Rails README [ #4740 state:resolved]
...
Signed-off-by: Rizwan Reza <rizwanreza@gmail.com>
2010-06-05 04:04:08 +04:30
Xavier Noria
8e8cb1769f
AS guide: removes your spurious line
2010-06-05 01:19:23 +02:00
Xavier Noria
67a43554f1
removes Array#random_element and backports Array#sample from Ruby 1.9, thanks to Marc-Andre Lafortune
2010-06-05 01:15:17 +02:00
Mikel Lindsaar
6401ab5870
Missed fixing the banner on the Usage output for Thor
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-04 17:46:57 -05:00
Mikel Lindsaar
bf83c5709f
Updating guides to new rails initialization process
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-04 12:31:46 -05:00
Mikel Lindsaar
4774680405
Changing command line API from 'rails blog' to 'rails new blog'.
...
Also removed the limitation of not being able to call your new server any of
the rails commands (generate, server, dbconsole, console etc) as there is
no longer any ambiguity here.
http://rails.lighthouseapp.com/projects/8994/tickets/4665
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-04 12:30:03 -05:00
Pratik Naik
517f709b51
Properly cache association_collection#scopes calls having arguments
2010-06-04 00:53:45 +01:00
David Heinemeier Hansson
3a066e81b3
Merge branch 'master' of github.com:rails/rails
2010-06-02 16:56:24 -05:00
David Heinemeier Hansson
4aac5fd711
Missed the extraction
2010-06-02 16:55:07 -05:00
José Valim
71375c8936
Add an asset_host accessor for consistency.
2010-06-02 14:53:56 -07:00
David Heinemeier Hansson
631dc61885
Extract assets paths and make them available to Action Mailer as well
2010-06-02 16:49:02 -05:00
David Heinemeier Hansson
942fe6514c
Merge branch 'master' of github.com:rails/rails
2010-06-02 16:18:03 -05:00
David Heinemeier Hansson
02512914ae
You need the ruby-debug available in your Gemfile for debugger to work
2010-06-02 16:17:05 -05:00
wycats
ffe001f19d
Changes made while working on upgrading cells to Rails 3
2010-06-02 22:56:41 +02:00
eparreno
344a695383
AR validations: update sections 2.4 and 17.1
2010-06-02 21:43:37 +02:00
eparreno
785caba866
Routing: fix error in nested resources with name_prefix example [ #146 state:resolved]
2010-06-02 21:14:33 +02:00
wycats
26c5680bd0
Merge branch 'master' of github.com:rails/rails
2010-06-02 15:53:10 +02:00
Pratik Naik
4b91daff13
Special treatement for Relation#select { with block }
2010-06-02 14:42:25 +01:00
José Valim
0570720d66
Configure generators before invoking.
2010-06-02 09:37:38 +02:00
José Valim
afc1026986
Still copy application configuration to generator even if they are required earlier. Also tidy up the guide a little bit.
2010-06-02 08:45:33 +02:00
Josiah Ivey
3633cb8541
Revert "Guides: Give code container a proper bottom margin"
...
This reverts commit 4b71fc22ca
.
2010-06-01 23:23:46 -05:00
Josiah Ivey
4b71fc22ca
Guides: Give code container a proper bottom margin
2010-06-01 23:14:58 -05:00
Xavier Noria
fdd203f964
Merge remote branch 'docrails/master'
2010-06-02 01:35:43 +02:00
Xavier Noria
315e8952df
revises the documentation of String#truncate and the truncate helper
2010-06-02 01:35:04 +02:00
José Valim
5a0d73f17c
Add lib to load paths when application is inherited to be able to load lib code during configuration.
2010-06-02 00:48:16 +02:00
Xavier Noria
158473f0d1
AS guide: documents String#truncate
2010-06-02 00:28:23 +02:00
David Heinemeier Hansson
cae2519900
Merge branch 'master' of github.com:rails/rails
2010-06-01 16:39:05 -05:00
David Heinemeier Hansson
d57397c4b6
Extracted String#truncate from TextHelper#truncate [DHH]
2010-06-01 16:38:42 -05:00
Xavier Noria
a0bb1dda11
revises rdoc of AMo::Error#add [ #4738 state:resolved]
2010-06-01 15:44:14 +02:00
Santiago Pastorino
0cc4cd020d
Unforce text-format from AM
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-01 12:06:47 +02:00
Santiago Pastorino
57144388f0
Unforce memcache from AS
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-01 10:46:05 +02:00
Santiago Pastorino
31e1445a81
Unforce builder from AS
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-01 10:45:51 +02:00
Santiago Pastorino
0bed93be25
Unforce tzinfo from AS
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-01 09:16:19 +02:00
David Heinemeier Hansson
ea037ff557
Base options cant live in lazy loaded helpers as they then wont be available to set for config
2010-05-31 13:48:47 -05:00
Santiago Pastorino
1854209bb3
Unforce i18n from AS
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-31 12:56:25 +02:00
Santiago Pastorino
f5104caf3b
rack-test version updated and removed from Gemfile
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-31 11:26:47 +02:00
eparreno
82f67586b2
AR validations & callbacks: update callbacks list
2010-05-31 10:37:13 +02:00
José Valim
9a93844aba
Add :only and :except to controllers MiddlewareStack. This allows
...
you to do the following:
class PostsController < ApplicationController
use AutheMiddleware, :except => [:index, :show]
end
2010-05-30 15:53:14 +02:00
wycats
b870daba5f
Update CHANGELOG
2010-05-30 12:11:50 +02:00
wycats
0078df6b54
Update template to allow handlers to more cleanly handle encodings (ht: nex3)
2010-05-30 11:37:35 +02:00
José Valim
19d8c8cbe4
Remove the laziness from the middleware stack.
2010-05-29 22:29:46 +02:00
wycats
d7f6f2b596
Now that we always return a proxy from mb_chars, even in 1.9, all Strings coming back from AS are UTF-8.
2010-05-29 21:20:52 +02:00
Santiago Pastorino
e5a56eb297
fix translation test in actionpack [ #4701 state:commited]
...
Signed-off-by: wycats <wycats@gmail.com>
2010-05-29 21:12:28 +02:00
wycats
45e60283e7
Removing Metal from Rails 3.
...
If you have existing Metals, you have a few options:
* if your metal behaves like a middleware, add it to the
middleware stack via config.middleware.use. You can use
methods on the middleware stack to control exactly where
it should go
* if it behaves like a Rack endpoint, you can link to it
in the router. This will result in more optimal routing
time, and allows you to remove code in your endpoint
that matches specific URLs in favor of the more powerful
handling in the router itself.
For the future, you can use ActionController::Metal to get
a very fast controller with the ability to opt-in to specific
controller features without paying the penalty of the full
controller stack.
Since Rails 3 is closer to Rack, the Metal abstraction is
no longer needed.
2010-05-29 20:08:00 +02:00
Michael Koziarski
564ab4776c
Merge commit 'mislav/counter_cache'
2010-05-29 14:06:02 +12:00
Michael Koziarski
668f7dd5d0
Merge commit 'mislav/auto_link'
2010-05-29 14:05:56 +12:00
Gonçalo Silva
d21aa6de4f
performance and integration tests inherit from AD, not AC
...
Signed-off-by: wycats <wycats@gmail.com>
2010-05-28 23:53:03 +02:00
eparreno
6330e2af11
add <%= to fields_for examples
2010-05-28 16:46:12 +02:00