Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Line break in migration template and nicer code indentation | Łukasz Strzałkowski | 2010-06-25 | 1 | -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 Silva | 2010-06-25 | 3 | -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 Sichanugrist | 2010-06-25 | 3 | -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é Valim | 2010-06-25 | 3 | -5/+29 |
| | | | | exist yet. | ||||
* | Dont reload the environment, just not needed bro | David Heinemeier Hansson | 2010-06-24 | 1 | -2/+0 |
| | |||||
* | adding missing assertion and fixing the test | Neeraj Singh | 2010-06-24 | 1 | -2/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fixing test by replacing assert with assert_equal | Neeraj Singh | 2010-06-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'miloops/fixes' | José Valim | 2010-06-24 | 8 | -48/+18 |
|\ | |||||
| * | Only yield block if given. | Emilio Tagua | 2010-06-24 | 1 | -2/+2 |
| | | |||||
| * | Remove block definitions in finder methods. | Emilio Tagua | 2010-06-24 | 1 | -4/+4 |
| | | |||||
| * | Remove block definition from method, is not needed since yield is used inside. | Emilio Tagua | 2010-06-24 | 3 | -3/+3 |
| | | |||||
| * | Don't define block, just yield if block is given. | Emilio Tagua | 2010-06-24 | 1 | -7/+7 |
| | | |||||
| * | Remove deprecated block usage in composed_of. | Emilio Tagua | 2010-06-24 | 2 | -32/+2 |
| | | |||||
* | | Remove the --singeleton option from scaffold generator. | Prem Sichanugrist | 2010-06-24 | 9 | -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 Pastorino | 2010-06-24 | 1 | -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 here | Santiago Pastorino | 2010-06-24 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | adding middleware test for RAILS_CACHE | Neeraj Singh | 2010-06-24 | 1 | -0/+11 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Remove obsolete test case, since we have move Rails::LogSubscriber to ↵ | Prem Sichanugrist | 2010-06-24 | 1 | -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é Valim | 2010-06-24 | 3 | -21/+25 |
| | | | | | | | | be available yet. Unfortunately, could not reproduce this in a test case. | ||||
* | | AS::Isolation functional on Windows/JRuby. | Nick Sieger | 2010-06-24 | 2 | -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é Valim | 2010-06-24 | 1 | -1/+1 |
| | |||||
* | Fix namespaced redirects [#4389 state:resolved] | Andrew White | 2010-06-24 | 2 | -1/+15 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix bug where ActiveResource::HttpMock would overwrite Accept/Content-Type ↵ | Elomar França | 2010-06-24 | 2 | -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é Valim | 2010-06-24 | 34 | -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 Tagua | 2010-06-24 | 2 | -2/+6 |
| | | | | | | [#4882 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove run_initializers from class methods. | José Valim | 2010-06-24 | 2 | -33/+14 |
| | |||||
* | Fix initializable tests | Jeremy Kemper | 2010-06-24 | 1 | -1/+1 |
| | |||||
* | Move Collection responsibility from application to initializable | Jeremy Kemper | 2010-06-24 | 2 | -2/+2 |
| | |||||
* | Speed up boot by tsorting as infrequently as possible | Jeremy Kemper | 2010-06-24 | 3 | -9/+4 |
| | |||||
* | Don't halt railties tests on failures | Jeremy Kemper | 2010-06-24 | 1 | -2/+2 |
| | |||||
* | Array#sample now exists, so test for #forty_two instead | Jeremy Kemper | 2010-06-24 | 1 | -1/+1 |
| | |||||
* | Support an extra profile printer arg | Jeremy Kemper | 2010-06-24 | 1 | -1/+3 |
| | |||||
* | Show GC time and # of runs too | Jeremy Kemper | 2010-06-23 | 1 | -1/+3 |
| | |||||
* | Avoid using Pathname on Resolver and AS::Dependencies. | José Valim | 2010-06-24 | 2 | -7/+16 |
| | |||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 10 | -54/+59 |
| | |||||
* | Remove incorrect comment regarding #initialize_copy | Paul Gillard | 2010-06-23 | 1 | -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 Lovitt | 2010-06-23 | 9 | -35/+198 |
| | | | | | | | | destroyed on reset. [#4938] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | adding fix for to_xml for ActiveRecord relation object | Neeraj Singh | 2010-06-23 | 2 | -1/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | ActiveRecord's relation object should respond to to_json and to_yaml | Neeraj Singh | 2010-06-23 | 2 | -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 Singh | 2010-06-23 | 3 | -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::Behavior | David Chelimsky | 2010-06-23 | 2 | -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 before | David Chelimsky | 2010-06-23 | 3 | -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 Kalderimis | 2010-06-23 | 3 | -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.E | 2010-06-23 | 14 | -61/+186 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Don't clone associations [#4894 state:resolved] | Paul Gillard | 2010-06-23 | 2 | -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> | ||||
* | Fixes encoding mistakes on old_base/mail_service tests | Santiago Pastorino | 2010-06-23 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | make text_field and hidden_field omit the value attribute if the developer ↵ | Jeff Dean | 2010-06-23 | 2 | -4/+14 |
| | | | | | | explicitly passes in :value => nil [#4839 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | remove_column should raise an ArgumentError when no columns are passed ↵ | Jeff Dean | 2010-06-23 | 3 | -0/+6 |
| | | | | | | [#4803 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix controller_name for non default controller paths [#4901 state:resolved] | knapo | 2010-06-23 | 2 | -1/+39 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Tidy up asset tag a bit and make railties tests green again. | José Valim | 2010-06-23 | 3 | -29/+24 |
| |