aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
Commit message (Collapse)AuthorAgeFilesLines
* Fixes bug where Memcached connections get corrupted when an invalid expire ↵Yehuda Katz + Carl Lerche2009-07-011-0/+19
| | | | is passed in [#2854 state:resolved]
* JSON.escape returns UTF-8 stringsJeremy Kemper2009-07-011-2/+7
| | | | [#2849 state:resolved]
* Forgot to commit the new file. This is slightly embarrassing.Yehuda Katz + Carl Lerche2009-07-011-0/+2
|
* Apparently stdlib isn't std enoughYehuda Katz + Carl Lerche2009-07-011-4/+6
|
* Modify isolation test to require a file not in use anywhere in RailsYehuda Katz + Carl Lerche2009-07-011-4/+4
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2009-07-015-3/+178
|\
| * Original cache objects should not be immutable [#2860 state:resolved]Yehuda Katz + Carl Lerche2009-07-011-0/+6
| | | | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
| * ensure Inflector.camelize works with symbols [#2856 state:resolved]Yehuda Katz + Carl Lerche2009-07-012-0/+13
| | | | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
| * Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵Yehuda Katz + Carl Lerche2009-07-011-3/+0
| | | | | | | | state:resolved]
| * Crazy hacks to get the Isolation testing module to work on non forking ↵Yehuda Katz + Carl Lerche2009-06-301-0/+2
| | | | | | | | environments
| * Created AS::Testing::Isolation which runs each test case in a separate process.Yehuda Katz + Carl Lerche2009-06-301-0/+141
| | | | | | | | | | This allows for testing rails bootup (files are required, correct constants are set, etc...). Currently, this is implemented via forking only, but we will add support for jruby and windows shortly.
| * Use stubbing instead of sleep() in File store cache testsPratik Naik2009-06-211-3/+9
| |
| * Add expiry support File cache store [#1693 state:resolved] [Roman ↵Pratik Naik2009-06-211-0/+10
| | | | | | | | Shterenzon, Pratik Naik]
* | Friendlier runtime exception if delegatee is nilJeremy Kemper2009-06-181-1/+1
|/
* Move model naming into ActiveModelJoshua Peek2009-06-171-28/+0
|
* moves reopening of core classes to add generic stuff from Action Pack to ↵Xavier Noria2009-06-134-0/+46
| | | | | | | | AS/core_ext and adds tests [#2798 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add #element and #collection to ModelNameJeremy Kemper2009-06-081-0/+8
|
* JSON: split encoding and coercionJeremy Kemper2009-06-081-7/+12
|
* String #to_time and #to_datetime: handle fractional seconds [#864 ↵Jason Frey (Fryguy)2009-06-071-0/+3
| | | | state:resolved]
* Pull in time extensions alsoJeremy Kemper2009-06-051-1/+1
|
* Further cleaning up new callbacksYehuda Katz2009-06-022-44/+44
|
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-022-40/+40
|
* AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-291-3/+3
|
* AS::Concern includes InstanceMethods module if it existsJoshua Peek2009-05-291-4/+13
|
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-281-10/+10
| | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
* Ensure Memcache local cache returns duplicated values [#2302 state:resolved]Joshua Peek2009-05-271-0/+9
|
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-206-6/+6
|
* Allow Module#depends_on to accept multiple modulesPratik Naik2009-05-211-0/+11
|
* Corrected new callbacks semantics with regards to using objects for around ↵Yehuda Katz + Carl Lerche2009-05-191-0/+62
| | | | filters.
* Use duck typing to also allow MemCache-like object when initializing a ↵Bryan Helmkamp2009-05-191-0/+6
| | | | | | MemCacheStore Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allow MemCacheStore to be initialized with a MemCache object instead of ↵Bryan Helmkamp2009-05-191-4/+10
| | | | addresses and options
* Add ability to get multiple memcached keys at the same time (via ↵Joe Van Dyk2009-05-181-0/+9
| | | | | | MemCacheStore#read_multi). Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* load the JSON Backend lazily. If the JSON gem is already loaded, use the ↵rick2009-05-171-0/+3
| | | | JSONGem backend by default.
* Add support for parsing XML and JSON from an IO as well as a string [#2659 ↵Brian Lopez2009-05-172-0/+27
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge branch 'master' into wip_abstract_controllerYehuda Katz + Carl Lerche2009-05-113-0/+103
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/callbacks.rb actionpack/lib/action_controller/abstract/renderer.rb actionpack/lib/action_controller/base/base.rb actionpack/lib/action_controller/dispatch/dispatcher.rb actionpack/lib/action_controller/routing/route_set.rb actionpack/lib/action_controller/testing/process.rb actionpack/test/abstract_controller/layouts_test.rb actionpack/test/controller/filters_test.rb actionpack/test/controller/helper_test.rb actionpack/test/controller/render_test.rb actionpack/test/new_base/test_helper.rb
| * ActiveSupport::OrderedHash[1,2,3,4] creates an OrderedHash instead of a Hash.Douglas F Shearer2009-05-111-0/+6
| | | | | | | | | | | | [#2615 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * ActiveSupport::OrderedHash#to_a method returns an ordered set of arrays. ↵Ken Collins2009-05-101-0/+4
| | | | | | | | | | | | | | Matches ruby1.9's Hash#to_a. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2629 state:committed]
| * Prefer "included" language over "setup"Joshua Peek2009-05-071-8/+8
| |
| * Make module dependency DSL opt inJoshua Peek2009-05-071-12/+15
| |
| * Add test coverage to module setup extensionsJoshua Peek2009-05-071-0/+74
| |
| * Fixed Hash#from_xml with keys that are all caps.codebrulee2009-05-041-0/+16
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* | Don't run the action if callbacks are halted.Yehuda Katz + Carl Lerche2009-05-111-3/+11
| | | | | | In AbstractController, this means that response_body is not empty
* | Makes new callbacks support keys with special charactersYehuda Katz + Carl Lerche2009-05-011-0/+28
|/
* Work around Float faux precisionJeremy Kemper2009-04-303-15/+15
|
* add JRuby-JDOM backend for XmlMiniStephen Bannasch2009-04-261-0/+153
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Privatize rails_to_jsonJeremy Kemper2009-04-261-1/+1
|
* * Add pluggable JSON backends with support for the JSON gem. [rick]rick2009-04-233-46/+72
| | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-2228-11/+48
|
* new_callbacks core extensionsJeremy Kemper2009-04-221-5/+5
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-221-0/+1
|\ | | | | | | | | Conflicts: activesupport/lib/active_support.rb