Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | refactored the javascript asset tag helpers and moved the default scripts ↵ | Josh Kalderimis | 2010-06-23 | 3 | -29/+21 |
| | | | | | | setup within the railtie Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Update CHANGELOG. | José Valim | 2010-06-23 | 1 | -0/+6 |
| | |||||
* | Add the :path option to match routes when given as symbols. This is ↵ | Carlos Antonio da Silva | 2010-06-23 | 2 | -10/+28 |
| | | | | | | | | | | specially useful in http helpers for generating routes in scenarios like: resources :users, :path => 'usuarios' do get :search, :on => :collection, :path => 'pesquisar' end Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Provive resources_path_names helpers in the router. | José Valim | 2010-06-23 | 2 | -0/+15 |
| | |||||
* | Stop filling the blocks scope array with nil. | José Valim | 2010-06-22 | 1 | -1/+3 |
| | |||||
* | Allow namespace accept options in routes [#4936 state:resolved] | Carlos Antonio da Silva | 2010-06-22 | 2 | -3/+17 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deprecate :name_prefix in the new router DSL. | José Valim | 2010-06-22 | 3 | -23/+27 |
| | |||||
* | Fix connection reloading in development mode. [#4929 state:resolved] | Edgars Beigarts | 2010-06-22 | 2 | -3/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | should be able to run ActiveModel validations_test [#4933 state:resolved] | Neeraj Singh | 2010-06-22 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Avoid method redefined warning | Santiago Pastorino | 2010-06-22 | 1 | -1/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Note that 'rails server' allows specifying mongrel, thin, etc [#4845 ↵ | Trevor Turk | 2010-06-22 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix small bug where ActiveRecord::PredicateBuilder#build_from_hash didn't ↵ | James Harton | 2010-06-22 | 1 | -1/+1 |
| | | | | | | test for Arel::Relation as right hand value. [#4917 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | test for #4917 | Neeraj Singh | 2010-06-22 | 1 | -0/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove unused variable on assert_recognizes [#4912 state:resolved] | Paco Guzman | 2010-06-22 | 1 | -1/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Missing require for the class/attribute.rb [4812 state:resolved] | Prem Sichanugrist | 2010-06-22 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | update the list of instance variables that are excluded from assigns in view ↵ | David Chelimsky | 2010-06-22 | 1 | -9/+10 |
| | | | | | | | | tests [#4930 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Clean CHANGELOG whitespace. | Emilio Tagua | 2010-06-22 | 1 | -254/+254 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix order method to accept relation attributes. | Emilio Tagua | 2010-06-22 | 2 | -3/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use the new query API in AR performance script. | Emilio Tagua | 2010-06-22 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | preventing memcached initialization errors with default servers list [#4921 ↵ | David Calavera | 2010-06-22 | 2 | -2/+2 |
| | | | | | | | | state:resolved] As of this writing the JRuby client does not support a default port. Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | defines ORIG_ARGV in Active Support's abstract_unit.rb (used in ↵ | David Calavera | 2010-06-22 | 1 | -0/+2 |
| | | | | | | isolation.rb) [#4922 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Rails Runner now sets $0 and $PROGRAM_NAME to name of file being run [#2244 ↵ | rohit | 2010-06-22 | 1 | -0/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Added 4 tests for Rails Runner. 2 failing tests for $0 and $PROGRAM_NAME ↵ | rohit | 2010-06-22 | 1 | -0/+49 |
| | | | | | | [#2244 state:open] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | adds minus to value part of id [#4862 state:resolved] | RainerBlessing | 2010-06-22 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | test for #4862 | Neeraj Singh | 2010-06-22 | 1 | -0/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Avoid method redefined warning | Santiago Pastorino | 2010-06-22 | 1 | -1/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add support for specifying locals in view tests with assert template [#4927 ↵ | David Chelimsky | 2010-06-22 | 3 | -5/+44 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure overwritten callbacks conditions in controllers work [#4761 ↵ | José Valim | 2010-06-22 | 1 | -2/+12 |
| | | | | state:resolved] [#3913 state:resolved] | ||||
* | Bump rack-mount to 0.6.5 for tokenizer speedup | Jeremy Kemper | 2010-06-21 | 2 | -2/+2 |
| | |||||
* | removed default Formatter in logger, not needed with 1.8.7 upwards | Josh Kalderimis | 2010-06-22 | 1 | -38/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | removed 'unless const_defined?' code smell | Josh Kalderimis | 2010-06-21 | 8 | -196/+186 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Refactor previous commit a bit [#4057 state:resolved] | José Valim | 2010-06-21 | 7 | -16/+16 |
| | |||||
* | Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options ↵ | Jeroen van Dijk | 2010-06-21 | 15 | -441/+315 |
| | | | | | | | | | | | | | | | | hash and make various Validators pass their (filtered) options. This makes it possible to pass additional options through Validators to message generation. E.g. plugin authors want to add validates_presence_of :foo, :format => "some format". Also, cleanup the :default vs :message options confusion in ActiveModel validation message generation. Also, deprecate ActiveModel::Errors#add_on_blank(attributes, custom_message) in favor of ActiveModel::Errors#add_on_blank(attributes, options). Also, refactoring of ActiveModel and ActiveRecord Validation tests. Test are a lot more DRY now. Better test coverage as well now. The first four points were reapplied from an older patch of Sven Fuchs which didn't apply cleanly anymore and was not complete yet. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Changed `ruby /path/to/rails myapp --dev` to `ruby /path/to/rails new myapp ↵ | Jeff Kreeftmeijer | 2010-06-21 | 1 | -1/+1 |
| | | | | | | --dev` in the "Thor is not avalable" message. [#4915 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Initialize @last_update_at in file_update_checker to hide warnings in AS ↵ | rohit | 2010-06-21 | 1 | -2/+2 |
| | | | | | | test suite. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Revert "files in the lib directory are no longer autoloaded" | Xavier Noria | 2010-06-21 | 2 | -8/+2 |
| | | | | | | | This patch is not consistent since it leaves similar directories in load_paths, needs more thought. This reverts commit b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f. |