aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
* Polymorphic routes generates collection URL from model class [#1089 ↵Niklas Holmgren2009-08-081-0/+31
| | | | | | | state:resolved] Signed-off-by: Dan Pickett <dpickett@enlightsolutions.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add destroyed? to ActiveRecord, include tests for polymorphic urls for ↵José Valim2009-08-071-1/+23
| | | | destroyed objects and refactor mime responds tests and documentation.
* AMo conversion helperJoshua Peek2009-07-211-1/+2
|
* Define ActiveModel API ComplianceYehuda Katz2009-07-201-1/+1
| | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
* Fix polymorphic_path doesn't modify options hash [#2099 state:resolved]=?utf-8?q?Mislav=20Marohni=C4=87?=2009-06-211-3/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move model naming into ActiveModelJoshua Peek2009-06-171-0/+1
|
* Revert "Only save the session if we're actually writing to it [#2703 ↵Joshua Peek2009-05-301-22/+0
| | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d.
* Only save the session if we're actually writing to it [#2703 state:resolved]Johan Sörensen2009-05-281-0/+22
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix reset_session with ActiveRecord store [#2200 state:resolved]Joshua Peek2009-05-171-3/+3
|
* Merge commit 'origin/master'Yehuda Katz + Carl Lerche2009-05-141-0/+1
| | | | | | Conflicts: actionpack/lib/action_controller/abstract/base.rb actionpack/lib/action_controller/routing.rb
* Make it clearer that session is nilJeremy Kemper2009-04-261-0/+1
|
* Remove excess mocking from polymorphic_url tests [#2330 state:resolved]Mike Gunderloy2009-04-211-0/+394
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure SqlBypass use ActiveRecord::Base connectionLuca Guidi2009-04-051-17/+28
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#https://rails.lighthouseapp.com/attachments/106066/0001-Ensure-SqlBypass-use-ActiveRecord-Base-connection.patch state:committed]
* reset_session should force a new session id to be generated [#2173]Joshua Peek2009-03-091-0/+25
|
* Fixed reset_session for ActiveRecord session store [#2108 state:resolved]Joshua Peek2009-03-031-0/+21
|
* Don't depend on project.developers orderingJeremy Kemper2009-02-211-2/+2
|
* Switch to Rack based session stores.Joshua Peek2008-12-151-107/+95
|
* Use autoload instead of explicit requires for ActionControllerJoshua Peek2008-11-231-1/+0
|
* Update AR integration tests for TestCase changesJeremy Kemper2008-11-071-12/+3
|
* Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-071-7/+0
|
* Ensure :partial => @collection and :collection => @collection behaves same. ↵Ryan Bates2008-08-221-0/+10
| | | | | | [#884 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-121-8/+0
|
* Improve test coverage and create fixtures for ↵Joshua Peek2008-07-121-0/+9
| | | | RenderPartialWithRecordIdentificationTests
* Set precompiled fixture load path constant to speed up testsJoshua Peek2008-06-251-12/+14
|
* Make render shorthands work with namespaced controllersJacek Becela2008-05-101-42/+147
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added test for has_one partial rendering (keeran) [#43 state:resolved]David Heinemeier Hansson2008-04-301-1/+13
|
* Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved]David Heinemeier Hansson2008-04-301-10/+7
|
* Fix problem with render :partial collections, records, and locals. #11057 ↵Marcel Molina2008-02-081-0/+3
| | | | | | [lotswholetime] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-052-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: move from the deprecated Base64 module to ↵Jeremy Kemper2007-12-181-1/+1
| | | | | | ActiveSupport::Base64. Closes #10554. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that has_many :through associations should render as collections too ↵David Heinemeier Hansson2007-11-121-0/+10
| | | | | | (closes #9051) [mathie/danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: remove pagination. Install the classic_pagination plugin for ↵Jeremy Kemper2007-06-111-156/+0
| | | | | | forward compatibility, or move to the superior will_paginate plugin. Closes #8157. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render :partial recognizes Active Record associations as Arrays. Closes #8538.Jeremy Kemper2007-06-011-0/+64
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow Controllers to have multiple view_paths instead of a single ↵Rick Olson2007-02-041-1/+1
| | | | | | template_root. Closes #2754 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-281-1/+1
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove deprecated assertions.Jeremy Kemper2007-01-281-92/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* use ActiveRecordTestCaseJeremy Kemper2006-09-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Active Record integration deprecation testsJeremy Kemper2006-09-041-14/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up and run the Active Record integration tests by default. Closes #5854.Jeremy Kemper2006-08-223-47/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up and run the Active Record integration tests by default.Jeremy Kemper2006-08-223-10/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix problem with unloaded ARStore sessions being loaded when they are ↵Jamis Buck2006-03-081-0/+22
| | | | | | garbage collected, causing problems if there were AR objects in the session. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :count option to pagination that'll make it possible for the ↵David Heinemeier Hansson2006-02-201-2/+17
| | | | | | ActiveRecord::Base.count call to using something else than * for the count. Especially important for count queries using DISTINCT #3839 [skaes]. Added :select option to Base.count that'll allow you to select something else than * to be counted on. Especially important for count queries using DISTINCT (closes #3839) [skaes]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Major components cleanup and speedup. Closes #3527.Jeremy Kemper2006-02-091-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move active_record_store_test.rb to test/activerecord/. Closes #3790.Jeremy Kemper2006-02-091-0/+151
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Fix pagination problems when using includeMichael Koziarski2006-02-092-0/+230
* Introduce Unit Tests for pagination * Allow count to work with :include by using count distinct. [Kevin Clark & Jeremy Hopple] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de