Commit Graph

16550 Commits

Author SHA1 Message Date
wycats
a260e02fd3 Whoops. _run_*_callbacks is private 2010-06-04 20:11:05 -07:00
wycats
67a2d648d8 Improve performance of the Logger middleware by using simpler versions of methods 2010-06-04 20:11:05 -07:00
wycats
8b05c5207d Improve performance of MessageVerifier while keeping it constant time 2010-06-04 20:11:05 -07:00
wycats
5fa3a2d123 Improve performance of the log subscriber by remembering the list of all loggers instead of trying to extract them each time 2010-06-04 20:11:05 -07:00
wycats
220603ee70 Eliminate the need to check for superclass changes to the callback stack each time through the callbacks 2010-06-04 20:11:05 -07:00
wycats
a87b627297 Use faster form of running callbacks 2010-06-04 20:11:05 -07:00
wycats
ab1407cc5b Improve performance of commonly used request methods 2010-06-04 20:11:04 -07:00
Jeremy Kemper
bd9805871b Include backtrace in failsafe log. Rescue possible exceptions in failsafe response. 2010-06-04 18:25:32 -07:00
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