aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Provide a better error if thor is missingwycats2010-03-221-1/+9
|
* NumberHelper methods should now return html_safe strings (when the inputs ↵Bernardo de Pádua2010-03-222-51/+207
| | | | | | are valid numbers or are html_safe). Also adds :raise => true (used internaly) to make the number helpers throw InvalidNumberError when the given number is invalid. Signed-off-by: José Valim <jose.valim@gmail.com>
* Adds number_to_human and several improvements in NumberHelper. [#4239 ↵Bernardo de Pádua2010-03-224-168/+502
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Controller generators should use routes shortcut.José Valim2010-03-222-2/+2
|
* Make router shortcuts more polite to URLs starting with a leading slash.José Valim2010-03-222-15/+35
|
* Killing fixtures in mailer before they kill me (they usually lead to very ↵José Valim2010-03-225-20/+11
| | | | brittle tests).
* From and lock should be defined to be consistent with other ivars. Limit and ↵Emilio Tagua2010-03-222-19/+6
| | | | | | | | offset are always defined, no need to test that. [#4253 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Reset class attribute after changing itEvan Phoenix2010-03-221-0/+2
|
* Remove test ordering bugEvan Phoenix2010-03-221-8/+14
| | | | | Don't reuse classes with class attributes when testing different use cases of class attributes.
* Clear the query cache between tests that test the query cacheEvan Phoenix2010-03-221-0/+4
|
* Remove obsolete use case that was broken in AR::ObserversEvan Phoenix2010-03-221-40/+0
|
* Don't depend on order of elements in SetEvan Phoenix2010-03-221-5/+16
|
* Fix ActionMailer test issuesEvan Phoenix2010-03-221-2/+4
| | | | | * Don't depend so much no the message in a NameError * Reset the delivery method properly
* Remove test ordering bug by using another classEvan Phoenix2010-03-221-4/+7
|
* db group makes more sense hereSantiago Pastorino2010-03-221-1/+1
|
* avoid active_support/core_ext/time/conversions.rb warningsSantiago Pastorino2010-03-212-0/+3
| | | | | | [#4250 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Also revert mailer generator test changes in 8b50f89Jeremy Kemper2010-03-211-2/+2
|
* Fix regression introduced in 8b50f89. Generated views mentioned the wrong path.Jeremy Kemper2010-03-212-4/+5
|
* Remove data-url support from url_helper [#4236 state:resolved]Denis Odorcic2010-03-211-2/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* do not support 'data-url' anymore, just use 'href' [#4236 state:resolved]Sebastian Martinez2010-03-211-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make ERB generators more flexible and customizable.José Valim2010-03-215-46/+38
|
* Remove invalid builtin tests since we aren't adding that dir to theJoshua Peek2010-03-201-18/+0
| | | | load path anymore
* Autoload Rails::InfoJoshua Peek2010-03-205-8/+3
|
* Require info controller from info routesJoshua Peek2010-03-202-0/+4
|
* Move railties/builtin into libJoshua Peek2010-03-2012-17/+12
|
* response_body is an Array in 1.9, so an Array was being pushed onto the cachewycats2010-03-191-0/+2
|
* Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack ↵wycats2010-03-195-7/+25
| | | | response was a String.
* Controller generators should generate tests when action is supplied. [#3421 ↵Sam Ruby2010-03-202-0/+11
| | | | state:resolved]
* Clean up Mime::Type and remove deprecated stuff (from 2.3).José Valim2010-03-201-7/+1
|
* Eliminate an error from an implicit dependency on AV::Basewycats2010-03-193-24/+25
|
* Fix protect_against_forgeryCarlhuda2010-03-192-1/+30
|
* Controller generator now creates routes as well [#4233 state:resolved]José Valim2010-03-196-20/+23
|
* switching migrations to use require cleans up many warnings [#4234 ↵Aaron Patterson2010-03-191-1/+1
| | | | | | state:resolved] Signed-off-by: wycats <wycats@gmail.com>
* Merge branch 'master' of gitproxy:rails/railsJosé Valim2010-03-191-26/+23
|\
| * cleans a bit #compute_public_pathXavier Noria2010-03-191-26/+23
| | | | | | | | | | | | [#4232 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-1916-135/+152
| | | | | | | | that they shouldn't be further modified.
* | Singleton classes returns parent's methods with instance_methods(false) and ↵José Valim2010-03-192-1/+17
| | | | | | | | this makes remove_method in Module#delegate fail. Add a test case and fix the bug.
* | removed useless require lineSebastian Martinez2010-03-191-3/+0
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Well that was a bustwycats2010-03-181-1/+5
|
* We seem to have removed the URL helpers from ActionView subclasses...wycats2010-03-183-0/+8
|
* Each controller class has it's own view context subclass. This removes the ↵Carlhuda2010-03-185-50/+29
| | | | need for ActionView::Base.for_controller
* remove duplicated self.view_paths assingment on controller tests [#4206 ↵Santiago Pastorino2010-03-181-2/+2
| | | | | | state:commited] Signed-off-by: wycats <wycats@gmail.com>
* Make dependencies_test pass running standalone [#4215 state:resolved]Santiago Pastorino and Sebastian Martinez2010-03-181-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Added missing requires abstract_unit and activesupport to the loadpath of ↵Santiago Pastorino and Sebastian Martinez2010-03-184-2/+6
| | | | | | ts_isolated [#4215 state:committed] Signed-off-by: wycats <wycats@gmail.com>
* Return a valid Rack response from bare ActionController::MetalCarlhuda2010-03-183-14/+35
|
* Make render :partial, :layout consistent between AC and AVCarlhuda2010-03-182-17/+1
|
* All tests pass without memoizing view_contextCarlhuda2010-03-1811-41/+60
|
* Remove caching's dependency on view_context. Also, make it so that the ↵Carlhuda2010-03-182-14/+26
| | | | layout is always rendered the same way (so that layout dependencies on the action actually being rendered aren't masked on the first render)
* Make action_has_layout? non-privateCarlhuda2010-03-181-4/+4
|
* @layout is a confusing name... use @cache_layoutCarlhuda2010-03-181-3/+3
|