aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Configure generators before invoking.José Valim2010-06-031-0/+1
|
* Still copy application configuration to generator even if they are required ↵José Valim2010-06-035-16/+13
| | | | earlier. Also tidy up the guide a little bit.
* AS guide: documents String#truncateXavier Noria2010-06-031-0/+33
|
* AR validations & callbacks: update callbacks listeparreno2010-06-031-9/+5
|
* add <%= to fields_for exampleseparreno2010-06-033-4/+4
|
* revises the documentation of String#truncate and the truncate helperXavier Noria2010-06-032-22/+18
|
* Add lib to load paths when application is inherited to be able to load lib ↵José Valim2010-06-033-1/+29
| | | | code during configuration.
* Update CHANGELOGwycats2010-06-032-1/+3
|
* You need the ruby-debug available in your Gemfile for debugger to workDavid Heinemeier Hansson2010-06-032-1/+4
|
* revises rdoc of AMo::Error#add [#4738 state:resolved]Xavier Noria2010-06-031-6/+6
|
* Unforce text-format from AMSantiago Pastorino2010-06-034-7/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Unforce memcache from ASSantiago Pastorino2010-06-033-3/+9
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Unforce builder from ASSantiago Pastorino2010-06-036-3/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Unforce tzinfo from ASSantiago Pastorino2010-06-034-2/+9
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Extracted String#truncate from TextHelper#truncate [DHH]David Heinemeier Hansson2010-06-034-11/+69
|
* Base options cant live in lazy loaded helpers as they then wont be available ↵David Heinemeier Hansson2010-06-032-7/+4
| | | | to set for config
* Unforce i18n from ASSantiago Pastorino2010-06-036-6/+19
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* rack-test version updated and removed from GemfileSantiago Pastorino2010-06-032-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add :only and :except to controllers MiddlewareStack. This allowsJosé Valim2010-06-033-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-06-034-69/+78
|
* Remove the laziness from the middleware stack.José Valim2010-06-039-106/+51
|
* Now that we always return a proxy from mb_chars, even in 1.9, all Strings ↵wycats2010-06-031-3/+5
| | | | coming back from AS are UTF-8.
* fix translation test in actionpack [#4701 state:commited]Santiago Pastorino2010-06-031-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Removing Metal from Rails 3.wycats2010-06-0320-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.
* fix `reset_counters` to work even with complex class namesMislav Marohnić2010-06-032-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-06-032-49/+58
|
* cleanup `update/reset_counters`: less SQL strings, more ActiveRecord/ArelMislav Marohnić2010-06-031-12/+8
|
* avoid auto_linking already linked emails; more robust detection of linked URLsMislav Marohnić2010-06-032-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-06-032-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-06-032-2/+2
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Use I18n 0.4.0José Valim2010-06-031-1/+1
|
* In AV::TC, move protect_against_forgery? from the test_case to theDavid Chelimsky2010-06-032-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-06-031-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-06-032-5/+8
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Form Helpers guide: Use new syntax for fields_for examplesJosiah Ivey2010-06-031-4/+4
|
* fix small doc bug about running single unit test filesDavid Chelimsky2010-06-031-1/+1
|
* A small rdoc change made on lines 39 and 41 on ↵jacortinas2010-06-031-2/+2
| | | | activesupport/lib/active_support/core_ext/object/to_param.rb. It looks like the method name might have been changed, and the comments were never changed to coincide with the new method name.
* Cover more of the Rails initialization process, regarding the internals of ↵Ryan Bigg2010-06-031-3/+63
| | | | YourApp::Application inheritance from Rails::Application and more.
* Fixed XHTML on activerecord_validation_callbacks guideJaime Iniesta2010-06-031-3/+4
|
* Added info about guides validation to Contribute guideJaime Iniesta2010-06-031-0/+1
|
* Fixed minor typo on creditsJaime Iniesta2010-06-031-1/+1
|
* New rake validate_guides task to validate output/*.html against the W3C ↵Jaime Iniesta2010-06-032-0/+73
| | | | Validator
* Getting Started, don't forget to link to yourself if you are adding to the ↵Rohit Arondekar2010-06-031-2/+1
| | | | changelog.
* Minor typo fix in callbacks.rb of abstract_controllerRohit Arondekar2010-06-031-1/+1
|
* 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
|
* HTML safety: fix textarea with nil contentJeremy Kemper2010-05-242-1/+7
|