aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the class_path from the collisions test.Michael Koziarski2008-10-149-11/+11
| | | | The class_path is often taken already in situations like Admin namespaces etc.
* Avoid warnings by undefining the old method transliterate.Michael Koziarski2008-10-141-0/+1
|
* Reverse the order of the iconv arguments to remain compatible with older ↵Michael Koziarski2008-10-141-1/+1
| | | | | | rubies / iconvs. [#1195 state:resolved]
* Don't include the path when checking class collisions [#545 state:resolved]Joshua Peek2008-10-132-0/+4
|
* Enhance testing for fractional days and weeks. Update changelog.gbuesing2008-10-133-13/+19
|
* Added deprecated warning messages to Float#months and Float#years deprications.Tom Lea2008-10-132-10/+12
|
* Deprecated Float#years and Float#months, moved Numeric#years and ↵Tom Lea2008-10-136-10/+94
| | | | Numeric#months into Integer.
* Time#advance recognizes fractional days and weeks [#970 state:resolved]Tom Lea2008-10-132-0/+44
|
* Added inline builder yield to atom_feed_helper tags where appropriate (Sam ↵David Heinemeier Hansson2008-10-133-8/+84
| | | | Ruby) [#8994 status:committed]
* Ensure methods called on association proxies respect access control. [#1083 ↵Pratik Naik2008-10-137-2/+60
| | | | state:resolved] [Adam Milligan, Pratik]
* Add support for xml processing instructions in atom_feed_helper [#926 ↵Matthew M. Boedicker2008-10-132-0/+61
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure named routes with parameters can be used in tests before a request ↵Eloy Duran2008-10-132-0/+4
| | | | | | has been done. [#1208 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Initialize silence_spec_warningsMatt Jones2008-10-131-0/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:resolved]
* Make VendorGemSourceIndex handle broken/missing specs generated by previous ↵Matt Jones2008-10-137-23/+157
| | | | | | versions. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* test nested hash with floatDan Barry2008-10-121-0/+12
| | | | | | [#652 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove the functionality introduce in 28d3390Michael Koziarski2008-10-103-45/+1
| | | | There are several situations it doesn't cater for, and the inconsistency isn't worth blocking 2.2.
* explicitly including child associations that are also included in the parent ↵Will Bryant2008-10-105-1/+52
| | | | | | | association definition should not result in double records in the collection/double loads (#1110) Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1110 state:committed]
* Add documentation for AbstractAdapter#sanitize_limit, and make its code more ↵Hongli Lai (Phusion)2008-10-091-4/+15
| | | | | | | readable. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1068 status:committed]
* Fix script/console --sandbox warning. [#1194 state:resolved]Matt Jones2008-10-091-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Made i18n simple backend able to store false values (and not confuse them ↵Tarmo Tänav2008-10-094-3/+33
| | | | | | | | | with nil or lack of value) Implemented support.array.skip_last_comma i18n key for Array#to_sentence, this also tests the ability to store false. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix definition of find_nameMatt Jones2008-10-081-2/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:committed]
* Mark gem as not loaded when spec not foundMatt Jones2008-10-081-0/+2
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Allow use of :path_prefix and :name_prefix outside of namespaced routes. ↵Tom Stuart2008-10-082-3/+22
| | | | | | [#1188 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure last_modified! works with <= rather than just equality.Michael Koziarski2008-10-072-1/+9
|
* Reduce memory usage slightly in String#parameterizeMichael Koziarski2008-10-071-5/+9
| | | | [#1034 state:committed]
* Extract transliteration code to a seperate method.Michael Koziarski2008-10-071-2/+17
| | | | Use iconv by default, but only when the transliteration is well behaved. When it isn't, fallback to mb_chars
* Add ActiveResource::Base#to_xml and ActiveResource::Base#to_json methods. ↵Cody Fauser2008-10-074-1/+56
| | | | | | [#1011 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure select_tag#name attribute uses [] when :multiple is true. [#1146 ↵Andrew Kaspick2008-10-072-4/+6
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement submit_to_remote as a wrapper around a more generic button_to_remoteTarmo Tänav2008-10-073-15/+11
| | | | | | | Removed the "return false" from submit_to_remote onclick end as button input elements have no default behavior to cancel. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix image_tag behavior on windows. [#1085 state:resolved]madlep2008-10-062-1/+14
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix a typo in ActiveSupport::Multibyte::NORMALIZATION_FORMS. [#1179 ↵Manfred Stienstra2008-10-061-2/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Mark utf-8 source encodingJeremy Kemper2008-10-061-0/+2
|
* Fix memoize_all for methods with punctuation [#1175 state:resolved]Eugene Pimenov2008-10-052-3/+12
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix deprecated ActionController::Base.relative_url_root call in mongrel commandChris Cherry2008-10-051-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge docrailsPratik Naik2008-10-0571-1526/+52008
|
* ActiveResource can load array of strings, like serialize :bar, ArrayMatthew Moore2008-10-052-1/+26
| | | | | Signed-off-by: rick <technoweenie@gmail.com> [#1055 state:resolved]
* Fix a number of errors in the config.gem mechanism.Matt Jones2008-10-0517-49/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com>
* Move controller ivar copying to a separate methodPratik Naik2008-10-051-8/+10
|
* Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵Pratik Naik2008-10-045-119/+136
| | | | ActionController::Base.
* First draft of ActiveSupport::RescuableNorbert Crombach2008-10-041-0/+74
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure Model.sum and Model.avg typecast appropriately. [#1066 state:resolved]Pratik Naik2008-10-042-6/+10
| | | | | Model.sum delegates typecasting to the column being summed. If that's not feasible, returns a string. Model.avg always returns big decimal.
* 1.8 compatibility for random_number method on SecureRandom.Michael Koziarski2008-10-042-2/+6
| | | | 1.9 has its own version.
* Fix mismatched assertions.Michael Koziarski2008-10-041-2/+2
|
* Ensure rescue_from handlers are respected inside tests. [#835 state:resolved]Pratik Naik2008-10-043-43/+30
| | | | | | Note : If you're not using rescue_from, you should overrider rescue_action_without_handler() method and not rescue_action(). Afterwards, you can set request.remote_addr to a non "0.0.0.0" value for testing the overridden behavior.
* Remove HasManyAssociationStrategy and move the logic to ↵Pratik Naik2008-10-042-27/+21
| | | | ActiveRecord::Reflection::ThroughReflection.
* Introduce ActiveRecord::Reflection::ThroughReflection to simplify hm:t ↵Pratik Naik2008-10-042-53/+70
| | | | reflection logic
* Fix has_many :through when the source is a belongs_to association. [#323 ↵Zach Dennis2008-10-046-11/+73
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Try reloading model on class mismatch [#229 state:resolved]Lawrence Pit2008-10-042-1/+21
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Return processing lock to dispatcher, the finer grained lock was ↵Aliaksey Kandratsenka2008-10-042-9/+14
| | | | | | | | | | incompatible with the reloading in development mode. This commit also adds ActionController::Dispatcher#dispatch_unlocking -- non-locking version of dispatch. It's named anologously to POSIX {getc,getchar,...}_unlocked functions. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1170 state:committed]
* Fix performance bug in AttibuteMethods#respond_to? in handling of private ↵Aliaksey Kandratsenka2008-10-041-1/+3
| | | | | | | | | | | methods We have hit dramatic increase in tests time after upgrading rails. Profiling revealed this particular place. After this fix our test times returned back to norm. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1173 state:committed]