aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * Special treatement for Relation#select { with block }Pratik Naik2010-06-022-1/+19
| | | |
| | | * Configure generators before invoking.José Valim2010-06-021-0/+1
| | | |
| | | * Still copy application configuration to generator even if they are required ↵José Valim2010-06-025-16/+13
| | | | | | | | | | | | | | | | earlier. Also tidy up the guide a little bit.
| | * | Update CHANGELOGwycats2010-05-302-1/+3
| | | |
| * | | You need the ruby-debug available in your Gemfile for debugger to workDavid Heinemeier Hansson2010-06-022-1/+4
| | | |
* | | | Improve Rails README [#4740 state:resolved]Matt Di Pasquale2010-06-052-204/+302
| | | | | | | | | | | | | | | | Signed-off-by: Rizwan Reza <rizwanreza@gmail.com>
* | | | AR validations: update sections 2.4 and 17.1eparreno2010-06-021-3/+7
| | | |
* | | | Routing: fix error in nested resources with name_prefix example [#146 ↵eparreno2010-06-021-1/+1
| | | | | | | | | | | | | | | | state:resolved]
* | | | Revert "Guides: Give code container a proper bottom margin"Josiah Ivey2010-06-011-2/+1
| | | | | | | | | | | | | | | | This reverts commit 4b71fc22ca205db8f083c2eab1cc3969f7addb69.
* | | | Guides: Give code container a proper bottom marginJosiah Ivey2010-06-011-1/+2
| |_|/ |/| |
* | | Merge remote branch 'docrails/master'Xavier Noria2010-06-025-13/+42
|\ \ \
| * | | AS guide: documents String#truncateXavier Noria2010-06-021-0/+33
| | | |
| * | | AR validations & callbacks: update callbacks listeparreno2010-05-311-9/+5
| | | |
| * | | add <%= to fields_for exampleseparreno2010-05-283-4/+4
| | | |
* | | | revises the documentation of String#truncate and the truncate helperXavier Noria2010-06-022-22/+18
| | | |
* | | | Add lib to load paths when application is inherited to be able to load lib ↵José Valim2010-06-023-1/+29
| |/ / |/| | | | | | | | code during configuration.
* | | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-0114-21/+44
|\ \ \
| * | | revises rdoc of AMo::Error#add [#4738 state:resolved]Xavier Noria2010-06-011-6/+6
| | | |
| * | | Unforce text-format from AMSantiago Pastorino2010-06-014-7/+10
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | Unforce memcache from ASSantiago Pastorino2010-06-013-3/+9
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | Unforce builder from ASSantiago Pastorino2010-06-016-3/+10
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | Unforce tzinfo from ASSantiago Pastorino2010-06-014-2/+9
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | | Extracted String#truncate from TextHelper#truncate [DHH]David Heinemeier Hansson2010-06-014-11/+69
|/ / /
* | | Base options cant live in lazy loaded helpers as they then wont be available ↵David Heinemeier Hansson2010-05-312-7/+4
| | | | | | | | | | | | to set for config
* | | Unforce i18n from ASSantiago Pastorino2010-05-316-6/+19
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | rack-test version updated and removed from GemfileSantiago Pastorino2010-05-312-2/+1
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Add :only and :except to controllers MiddlewareStack. This allowsJosé Valim2010-05-303-18/+71
| |/ |/| | | | | | | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
* | Update template to allow handlers to more cleanly handle encodings (ht: nex3)wycats2010-05-304-69/+78
| |
* | Remove the laziness from the middleware stack.José Valim2010-05-299-106/+51
| |
* | Now that we always return a proxy from mb_chars, even in 1.9, all Strings ↵wycats2010-05-291-3/+5
| | | | | | | | coming back from AS are UTF-8.
* | fix translation test in actionpack [#4701 state:commited]Santiago Pastorino2010-05-291-1/+1
| | | | | | | | Signed-off-by: wycats <wycats@gmail.com>
* | Removing Metal from Rails 3. wycats2010-05-2920-319/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge commit 'mislav/counter_cache'Michael Koziarski2010-05-293-63/+95
|\ \
| * | fix `reset_counters` to work even with complex class namesMislav Marohnić2010-05-242-4/+31
| | | | | | | | | | | | | | | | | | e.g. it guesses that a belongs_to association to Namespace::MyModel is named "my_model", unlike before where it would look up an association named "namespace::mymodel" and fail.
| * | move counter_cache tests to a separate file and refactorMislav Marohnić2010-05-242-49/+58
| | |
| * | cleanup `update/reset_counters`: less SQL strings, more ActiveRecord/ArelMislav Marohnić2010-05-241-12/+8
| | |
* | | Merge commit 'mislav/auto_link'Michael Koziarski2010-05-292-30/+61
|\ \ \
| * | | avoid auto_linking already linked emails; more robust detection of linked URLsMislav Marohnić2010-05-242-16/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | References #1523 [#1862 state:resolved] [#3591 state:resolved] Add test that shows how link text can contain HTML if needed: the trick is using block form in combination with `raw`. Let link text be automatically HTML-escaped [#2017 state:resolved]
| * | | auto_link: support arbitrary URI schemes like "ftp:" and "file:"Mislav Marohnić2010-05-242-14/+13
| |/ / | | | | | | | | | | | | | | | recognizes all URI scheme allowed characters, such as colon and period. [#3494 state:resolved]
* | | performance and integration tests inherit from AD, not ACGonçalo Silva2010-05-282-2/+2
| | | | | | | | | | | | Signed-off-by: wycats <wycats@gmail.com>
* | | Use I18n 0.4.0José Valim2010-05-271-1/+1
| |/ |/|
* | Merge remote branch 'rails/master'Xavier Noria2010-05-2754-1020/+1120
|\ \
| * | In AV::TC, move protect_against_forgery? from the test_case to theDavid Chelimsky2010-05-262-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _helper module included in the view. - ensures that protect_against_forgery? is present when a helper included in a partial that is rendered by the template under test calls it (which happens in FormTagHelper#extra_tags_for_form, for example). [#4700 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | reorganize tests for AV::TCDavid Chelimsky2010-05-261-140/+138
| | | | | | | | | | | | | | | | | | | | | | | | - decouple tests from the test case class by moving them outside - split out more TestCase subs as cleaner way of avoiding bleed of class level concepts Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Adding to_key to ActiveResource objects using ActiveModel::Conversion [#4685 ↵Elomar França2010-05-262-5/+8
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Support configuration of controller.controller_path on instances ofDavid Chelimsky2010-05-262-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionView::TestCase::TestController without stubs. Just say: @controller.controller_path = "path/i/need/for/this/test" [#4697 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | get railties/README back to the home page of the APIXavier Noria2010-05-251-0/+1
| | |
| * | Fix test incorrectly using a bare assert to use assert_kind_ofSantiago Pastorino2010-05-241-1/+1
| | | | | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Refactor calculation test to remove unneeded SQLite special case.Santiago Pastorino2010-05-241-4/+1
| | | | | | | | | | | | | | | | | | [#4633] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | i18n: t() handles single keys returning an Array, alsoJeremy Kemper2010-05-242-2/+15
| | |