Jeremy Kemper
|
c6a3a39fea
|
Fix rdoc typo. Closes #11205 [wangchun]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-24 00:37:12 +00:00 |
|
Jeremy Kemper
|
9a947af0e7
|
PostgreSQL: support server versions 7.4 through 8.0 and the ruby-pg driver. Closes #11127
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-22 03:26:21 +00:00 |
|
Michael Koziarski
|
01b77da8da
|
Patch to add a -e (export) option to script/plugin install. Closes #10847 [jon@blankpad.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-21 22:44:00 +00:00 |
|
Jeremy Kemper
|
4c3077183b
|
Add #clear to mem_cache_store, flushes all caches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-21 01:35:27 +00:00 |
|
Michael Koziarski
|
5b5d236792
|
Sort the results to remove platform dependent test failures
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 05:57:00 +00:00 |
|
Michael Koziarski
|
44c169397a
|
Move the eager load nested include tables into schema.rb and use delete_all instead of drop table to reset the state.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 05:31:03 +00:00 |
|
Michael Koziarski
|
63173630db
|
Revert to previous mysql-specific assertion, and only run the test on mysql.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 05:30:16 +00:00 |
|
Michael Koziarski
|
aa088e05dc
|
remove implicit assumption about mysql in the assertion
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 05:14:46 +00:00 |
|
Michael Koziarski
|
cd937e6ad7
|
Make date_helper use tag and content_tag. Move to assert_dom_equal instead of assert_equal to avoid being dependent on hash ordering. Closes #11131 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 04:23:18 +00:00 |
|
Michael Koziarski
|
029fc2f6b4
|
Sort test cases to make test runs deterministic
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 02:27:40 +00:00 |
|
Michael Koziarski
|
feac84521f
|
Remove disconnect! in test case, it causes segfaults on sqlite3 and completely destroys postgresql
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 01:24:31 +00:00 |
|
Michael Koziarski
|
4eb1413e3b
|
Cleanup whitespace and remove keys instead of providing nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 00:58:07 +00:00 |
|
Michael Koziarski
|
921752c7d5
|
Remove reference to 'postgres' user in the connection and Rakefiles. Allows postgres permissions to fallback to host / ident based auth.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-20 00:40:34 +00:00 |
|
Jeremy Kemper
|
ab45bd487a
|
URI.decode site username/password. Closes #11169 [Ernesto Jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 23:06:09 +00:00 |
|
Michael Koziarski
|
1537aec184
|
use stubbing instead of monkeypatching to stop tests from interfering with one another. Closes #11163 [RubyRedRick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 21:43:13 +00:00 |
|
Michael Koziarski
|
e32149ad60
|
Correct typo in before_type_cast code. Closes #11165 [amishyn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 21:01:10 +00:00 |
|
Jeremy Kemper
|
ec98a720ec
|
Remove mysql option from a test that applies to all databases. References #11154.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 06:01:54 +00:00 |
|
Jeremy Kemper
|
331d9c0491
|
Don't assume all records from nested include are of same class. Closes #11154 [acechase]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 02:56:05 +00:00 |
|
Michael Koziarski
|
21c75e545a
|
Ensure nested preloading works when associations return nil. Closes #11145 [GMFlash]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 04:49:56 +00:00 |
|
Michael Koziarski
|
cae1d960d2
|
Check the host string contains %d before using String#%, this avoids warnings. Closes #10809 [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 01:02:29 +00:00 |
|
Michael Koziarski
|
db4f421b0b
|
Add :trailing_slash option to UrlWriter. Closes #9117 [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 00:42:06 +00:00 |
|
Michael Koziarski
|
8bbabd43a9
|
Add user and password configuration options to ActiveResource::Base, not all credentials can be specified inline. Closes #11112 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 00:21:18 +00:00 |
|
Michael Koziarski
|
f2546164d6
|
Make dynamic finders respect the :include on HasManyThrough associations. Closes #10998. [cpytel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 00:14:54 +00:00 |
|
Jeremy Kemper
|
23e58a0552
|
Fix observed_class. References #11099.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-17 22:52:55 +00:00 |
|
Jeremy Kemper
|
5457770a36
|
Pass array of addresses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-17 20:07:40 +00:00 |
|
Michael Koziarski
|
1a59aa5196
|
Update generated comments to reflect the fact that config.frameworks works fine with gems now. Closes #11135 [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-17 09:11:31 +00:00 |
|
Geoff Buesing
|
4a643f686a
|
Adding TimeWithZone#between?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-17 00:35:49 +00:00 |
|
Geoff Buesing
|
25e139e545
|
Time.=== returns true for TimeWithZone instances
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 23:39:40 +00:00 |
|
Geoff Buesing
|
e7ebd656b3
|
TimeWithZone #+ and #- behave consistently with numeric arguments regardless of whether wrapped time is a Time or DateTime; consistenty answers false to #acts_like?(:date)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 23:15:59 +00:00 |
|
Geoff Buesing
|
3025ff28cc
|
Tests for distance_of_time_in_words with TimeWithZone instances. Closes #10914 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 21:16:03 +00:00 |
|
Geoff Buesing
|
2920bd22df
|
ActiveRecord::Base#instantiate_time_object only uses Time.zone when Base.time_zone_aware_attributes is true; leverages Time#time_with_datetime_fallback for readability
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 20:47:01 +00:00 |
|
Geoff Buesing
|
4e3ecec9c7
|
Refactor ActiveRecord::ConnectionAdapters::Column.new_time: leverage DateTime failover behavior of Time#time_with_datetime_fallback
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 20:13:38 +00:00 |
|
Michael Koziarski
|
1d5ea1857f
|
Sort files to test to make load order platform independent. Fix the clash this exposes. Closees #11081 [tpope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 03:08:05 +00:00 |
|
Michael Koziarski
|
86cb0a61fb
|
Ensure that :confirm doesn't need extra quotes when using drop_receiving_element. Closes #8299 [thechrisoshow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 00:07:52 +00:00 |
|
Michael Koziarski
|
4ff26f51f6
|
Add String#squish and String#squish! to remove consecutive chunks of whitespace. Closes #11123 [jordi, Henrik N]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-16 00:02:30 +00:00 |
|
Michael Koziarski
|
191ffc9456
|
Serialize BigDecimals as Floats when using to_yaml. Closes #8746 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-15 23:33:43 +00:00 |
|
Michael Koziarski
|
3028ca5955
|
Clear active connections before trying to drop the database. Allows db:drop to work with posgresql. Closes #10559 [jqr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-15 23:16:01 +00:00 |
|
Michael Koziarski
|
f3fd2b18b7
|
Add test for Observer#observer_class and change the implementation slightly. Closes #11099 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-15 23:09:51 +00:00 |
|
Jeremy Kemper
|
c55120c8e6
|
Revert [8865], broke AP record identifier. Reopens #11109.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-15 21:47:27 +00:00 |
|
Jeremy Kemper
|
6f0b0125d0
|
Fix typo in migration test. Closes #11105 [h-lame]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-15 20:12:45 +00:00 |
|
Michael Koziarski
|
c75abf058e
|
Avoid repeated calls to Base#connection. Closes #11111 [adymo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 20:09:05 +00:00 |
|
Michael Koziarski
|
838b02450a
|
Optimisation for BigDecimal conversion code. Closes #11110 [adymo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 20:06:25 +00:00 |
|
Michael Koziarski
|
039f724c7b
|
Minor formatting changes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 20:02:19 +00:00 |
|
Rick Olson
|
de048b1009
|
Improve associations performance by using symbol callbacks instead of string callbacks. Closes #11108 [adymo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 07:53:37 +00:00 |
|
Rick Olson
|
8a2266c020
|
Improve associations performance by avoiding named block arguments. Closes #11109
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-14 07:24:09 +00:00 |
|
Jeremy Kemper
|
dfa786631b
|
Introduce the :readonly option to all associations. Records from the association cannot be saved. Closes #11084.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-13 06:32:50 +00:00 |
|
Michael Koziarski
|
08a4c9979d
|
Remove options from the attributes method, tidy up the implementation. Closes #11093 [juanjo.bazan, Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-13 02:19:46 +00:00 |
|
Michael Koziarski
|
46356100d1
|
Make sure render :update support the options hash. Closes #11088 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-12 22:42:36 +00:00 |
|
Jamis Buck
|
11787b802a
|
remove support for ampersand-delimited cookie values
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-12 21:45:39 +00:00 |
|
Michael Koziarski
|
8739390134
|
Avoid cloning in Base#attributes_before_typecast. Closes #11077 [juanjo.bazan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-11 21:02:17 +00:00 |
|