Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -15/+4 |
| | |||||
* | Move parameters to the top on logging. | José Valim | 2010-01-19 | 1 | -2/+2 |
| | |||||
* | Add ActionDispatch::Railties::Subscriber and finish tidying up the logging. | José Valim | 2010-01-17 | 1 | -2/+2 |
| | |||||
* | Tidy up ActiveRecord and Views runtime information on process action logger. | José Valim | 2010-01-14 | 1 | -2/+2 |
| | |||||
* | ControllerRuntime tests also use Rails::Subscriber::TestHelper. | José Valim | 2010-01-13 | 1 | -17/+32 |
| | |||||
* | From now on, parameters defined in default_url_options can be absent from ↵ | José Valim | 2010-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views. | ||||
* | Ensure no notification is on the queue before running notifications related ↵ | José Valim | 2010-01-03 | 1 | -0/+2 |
| | | | | tests. | ||||
* | Use namespaces in notifications. | José Valim | 2010-01-03 | 1 | -4/+1 |
| | |||||
* | Fix controller runtime test | Jeremy Kemper | 2009-12-30 | 1 | -2/+2 |
| | |||||
* | Kick AR logging back to life and move ControllerRuntime inside ↵ | José Valim | 2009-12-30 | 1 | -0/+39 |
| | | | | ActiveRecord::Rails. | ||||
* | Use new routing dsl in tests | Joshua Peek | 2009-12-08 | 1 | -1/+1 |
| | |||||
* | Make polymorphic_url work with symbols again and refactor it [#1384 ↵ | José Valim | 2009-10-28 | 1 | -8/+6 |
| | | | | | | status:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add custom "with_routing" to internal tests to fix reseting session after using | Joshua Peek | 2009-10-03 | 1 | -1/+0 |
| | | | | with_routing. This only affects our internal AP tests. | ||||
* | Allow integration test rack app to be set with "@app" ivar instead of using ↵ | Joshua Peek | 2009-09-26 | 1 | -8/+5 |
| | | | | open_session | ||||
* | Clean up session integration tests so they don't reference AC::Dispatcher | Joshua Peek | 2009-09-26 | 1 | -21/+6 |
| | |||||
* | Need to reset session for AR session tests after altering the route set | Joshua Peek | 2009-09-06 | 1 | -0/+1 |
| | |||||
* | Reset session in integration tests after changing routes to reload the ↵ | Joshua Peek | 2009-08-27 | 1 | -11/+14 |
| | | | | middleware stack | ||||
* | Polymorphic routes generates collection URL from model class [#1089 ↵ | Niklas Holmgren | 2009-08-08 | 1 | -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é Valim | 2009-08-07 | 1 | -1/+23 |
| | | | | destroyed objects and refactor mime responds tests and documentation. | ||||
* | AMo conversion helper | Joshua Peek | 2009-07-21 | 1 | -1/+2 |
| | |||||
* | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 1 | -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-21 | 1 | -3/+6 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+1 |
| | |||||
* | Revert "Only save the session if we're actually writing to it [#2703 ↵ | Joshua Peek | 2009-05-30 | 1 | -22/+0 |
| | | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d. | ||||
* | Only save the session if we're actually writing to it [#2703 state:resolved] | Johan Sörensen | 2009-05-28 | 1 | -0/+22 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix reset_session with ActiveRecord store [#2200 state:resolved] | Joshua Peek | 2009-05-17 | 1 | -3/+3 |
| | |||||
* | Merge commit 'origin/master' | Yehuda Katz + Carl Lerche | 2009-05-14 | 1 | -0/+1 |
| | | | | | | Conflicts: actionpack/lib/action_controller/abstract/base.rb actionpack/lib/action_controller/routing.rb | ||||
* | Make it clearer that session is nil | Jeremy Kemper | 2009-04-26 | 1 | -0/+1 |
| | |||||
* | Remove excess mocking from polymorphic_url tests [#2330 state:resolved] | Mike Gunderloy | 2009-04-21 | 1 | -0/+394 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure SqlBypass use ActiveRecord::Base connection | Luca Guidi | 2009-04-05 | 1 | -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 Peek | 2009-03-09 | 1 | -0/+25 |
| | |||||
* | Fixed reset_session for ActiveRecord session store [#2108 state:resolved] | Joshua Peek | 2009-03-03 | 1 | -0/+21 |
| | |||||
* | Don't depend on project.developers ordering | Jeremy Kemper | 2009-02-21 | 1 | -2/+2 |
| | |||||
* | Switch to Rack based session stores. | Joshua Peek | 2008-12-15 | 1 | -107/+95 |
| | |||||
* | Use autoload instead of explicit requires for ActionController | Joshua Peek | 2008-11-23 | 1 | -1/+0 |
| | |||||
* | Update AR integration tests for TestCase changes | Jeremy Kemper | 2008-11-07 | 1 | -12/+3 |
| | |||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -7/+0 |
| | |||||
* | Ensure :partial => @collection and :collection => @collection behaves same. ↵ | Ryan Bates | 2008-08-22 | 1 | -0/+10 |
| | | | | | | [#884 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Set global ActionController::Base.view_paths for test cases | Joshua Peek | 2008-07-12 | 1 | -8/+0 |
| | |||||
* | Improve test coverage and create fixtures for ↵ | Joshua Peek | 2008-07-12 | 1 | -0/+9 |
| | | | | RenderPartialWithRecordIdentificationTests | ||||
* | Set precompiled fixture load path constant to speed up tests | Joshua Peek | 2008-06-25 | 1 | -12/+14 |
| | |||||
* | Make render shorthands work with namespaced controllers | Jacek Becela | 2008-05-10 | 1 | -42/+147 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added test for has_one partial rendering (keeran) [#43 state:resolved] | David Heinemeier Hansson | 2008-04-30 | 1 | -1/+13 |
| | |||||
* | Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved] | David Heinemeier Hansson | 2008-04-30 | 1 | -10/+7 |
| | |||||
* | Fix problem with render :partial collections, records, and locals. #11057 ↵ | Marcel Molina | 2008-02-08 | 1 | -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 path | Jeremy Kemper | 2008-01-05 | 2 | -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 Kemper | 2007-12-18 | 1 | -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 Hansson | 2007-11-12 | 1 | -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 Hansson | 2007-09-28 | 1 | -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 Kemper | 2007-06-11 | 1 | -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 |