aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Failing test for whether glob parameters accept regexpsAndrew White2010-06-251-0/+9
| | | | | | [#4970 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add failing test case for parameters with periodsAndrew White2010-06-251-0/+27
| | | | | | [#2536 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Depend on unreleased rack-mount 0.6.6.preJeremy Kemper2010-06-251-0/+1
|
* Do not mark the session as loaded if an error happened while doing it.José Valim2010-06-251-2/+1
|
* Calling exists? in the session store, without checking for stale sessions, ↵José Valim2010-06-252-10/+10
| | | | was causing the cookie store to panic because we need to unpack the whole session to get its key. This commit fixes this issue and also caches exists calls for performance improvements.
* Line break in migration template and nicer code indentationŁukasz Strzałkowski2010-06-251-6/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Do not wrap hidden fields with error proc [#4962 state:resolved]Carlos Antonio da Silva2010-06-253-3/+23
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make sure that Rails doesn't resent session_id cookie over and over again if ↵Prem Sichanugrist2010-06-253-1/+27
| | | | | | | | it's already there [#2485 state:resolved] This apply to only Active Record store and Memcached store, as they both store only the session_id, which will be unchanged, in the cookie. Signed-off-by: José Valim <jose.valim@gmail.com>
* Just reading flash messages should not create a session if one does not ↵José Valim2010-06-253-5/+29
| | | | exist yet.
* Dont reload the environment, just not needed broDavid Heinemeier Hansson2010-06-241-2/+0
|
* adding missing assertion and fixing the testNeeraj Singh2010-06-241-2/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fixing test by replacing assert with assert_equalNeeraj Singh2010-06-241-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'miloops/fixes'José Valim2010-06-248-48/+18
|\
| * Only yield block if given.Emilio Tagua2010-06-241-2/+2
| |
| * Remove block definitions in finder methods.Emilio Tagua2010-06-241-4/+4
| |
| * Remove block definition from method, is not needed since yield is used inside.Emilio Tagua2010-06-243-3/+3
| |
| * Don't define block, just yield if block is given.Emilio Tagua2010-06-241-7/+7
| |
| * Remove deprecated block usage in composed_of.Emilio Tagua2010-06-242-32/+2
| |
* | Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-249-51/+3
| | | | | | | | | | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Your original TIME ZONE value on PostgreSQL is correctly restored now, after ↵Santiago Pastorino2010-06-241-3/+5
| | | | | | | | | | | | | | | | going through options :utc and then going back to :local [#4950 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* | quotes are not necessary hereSantiago Pastorino2010-06-241-2/+2
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | adding middleware test for RAILS_CACHENeeraj Singh2010-06-241-0/+11
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Remove obsolete test case, since we have move Rails::LogSubscriber to ↵Prem Sichanugrist2010-06-241-9/+0
| | | | | | | | | | | | ActiveSupport::LogSubscriber in [6788db824ab732b13493a9d702dd8fb89fa153c8] [#4816 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Avoid deserializing cookies too early, which causes session objects to not ↵José Valim2010-06-243-21/+25
| | | | | | | | be available yet. Unfortunately, could not reproduce this in a test case.
* | AS::Isolation functional on Windows/JRuby.Nick Sieger2010-06-242-10/+11
|/ | | | | | Doesn't make up for the fact that it's slooooooooow, though. Signed-off-by: wycats <wycats@gmail.com>
* Ops, this should be beta4.José Valim2010-06-241-1/+1
|
* Fix namespaced redirects [#4389 state:resolved]Andrew White2010-06-242-1/+15
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix bug where ActiveResource::HttpMock would overwrite Accept/Content-Type ↵Elomar França2010-06-242-2/+85
| | | | | | header to application/xml [#4939 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-2434-317/+266
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Add tests for relation count. Fix other tests that were conceptually wrong.Emilio Tagua2010-06-242-2/+6
| | | | | | [#4882 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove run_initializers from class methods.José Valim2010-06-242-33/+14
|
* Fix initializable testsJeremy Kemper2010-06-241-1/+1
|
* Move Collection responsibility from application to initializableJeremy Kemper2010-06-242-2/+2
|
* Speed up boot by tsorting as infrequently as possibleJeremy Kemper2010-06-243-9/+4
|
* Don't halt railties tests on failuresJeremy Kemper2010-06-241-2/+2
|
* Array#sample now exists, so test for #forty_two insteadJeremy Kemper2010-06-241-1/+1
|
* Support an extra profile printer argJeremy Kemper2010-06-241-1/+3
|
* Show GC time and # of runs tooJeremy Kemper2010-06-231-1/+3
|
* Avoid using Pathname on Resolver and AS::Dependencies.José Valim2010-06-242-7/+16
|
* renames load_(once_)paths to autoload_(once_)paths in dependencies and configXavier Noria2010-06-2410-54/+59
|
* Remove incorrect comment regarding #initialize_copyPaul Gillard2010-06-231-8/+0
| | | | | | Comment added in #3164 is incorrect after reading http://dev.rubyonrails.org/ticket/7191. Signed-off-by: José Valim <jose.valim@gmail.com>
* Sessions should not be created until written to and session data should be ↵Michael Lovitt2010-06-239-35/+198
| | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* adding fix for to_xml for ActiveRecord relation objectNeeraj Singh2010-06-232-1/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* ActiveRecord's relation object should respond to to_json and to_yamlNeeraj Singh2010-06-232-1/+11
| | | | | | [#4547 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* adding column named 'group' to ensure that nothing breaks given that 'group' ↵Neeraj Singh2010-06-233-6/+7
| | | | | | | | is sql reserved word [#4945 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Expose view via the view() method in AV::TestCase::BehaviorDavid Chelimsky2010-06-232-17/+24
| | | | | | | | | | - was exposed as _view, which suggested it was private - left _view as an alias of view as not to break any extensions that are relying on _view [#4932 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* In ActionView::TestCase::Behavior, assign variables right beforeDavid Chelimsky2010-06-233-2/+16
| | | | | | | | | | | rendering the view. - Previously, _assigns were locked down the first time _view was referenced. [#4931 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Regression with how base errors messages are added to a model. Works ↵Josh Kalderimis2010-06-233-5/+20
| | | | | | correctly for both string error messages and symbol translated messages. Signed-off-by: José Valim <jose.valim@gmail.com>
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-2314-61/+186
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Don't clone associations [#4894 state:resolved]Paul Gillard2010-06-232-0/+9
| | | | | | Cloning an active record object should be shallow in that it should copy attributes but not associations. This was no longer true as a result of #3164. Signed-off-by: José Valim <jose.valim@gmail.com>