Marcel Molina
|
0dc53a8f6f
|
When grouping, use the appropriate option key. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-28 01:12:18 +00:00 |
|
Marcel Molina
|
2ec1527c47
|
Only modify the sequence name in the FrontBase adapter if the FrontBase adapter is actually being used. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-28 00:56:15 +00:00 |
|
Marcel Molina
|
1eade4137a
|
Don't require the frontbase adapter until you need to
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-27 22:54:34 +00:00 |
|
Marcel Molina
|
b2c0ddf033
|
Add support for FrontBase (http://www.frontbase.com/) with a new adapter thanks to the hard work of one Mike Laster. Closes #4093. [mlaster@metavillage.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-27 22:39:45 +00:00 |
|
Marcel Molina
|
3ba7c53b5a
|
Add warning about the proper way to validate the presence of a foreign key. Closes #4147. [Francois Beausoleil <francois.beausoleil@gmail.com>]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 22:06:28 +00:00 |
|
Marcel Molina
|
24e3759f86
|
Fix column type check error in changeset [4280]. [Michael A. Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 21:53:43 +00:00 |
|
Marcel Molina
|
ca2eb16bf9
|
Fix syntax error in documentation. Closes #4679. [mislav@nippur.irb.hr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4281 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 21:29:10 +00:00 |
|
Marcel Molina
|
242cd0604e
|
Add Oracle support for CLOB inserts. Closes #4748. [schoenm@earthlink.net sandra.metz@duke.edu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 20:43:29 +00:00 |
|
Marcel Molina
|
8df0dad4ac
|
Various fixes for sqlserver_adapter (odbc statement finishing, ado schema dumper, drop index). Closes #4831. [kajism@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 19:52:13 +00:00 |
|
Marcel Molina
|
91531372f9
|
Add support for :order option to with_scope. Closes #3887. [eric.daspet@survol.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 06:37:04 +00:00 |
|
Marcel Molina
|
f274a89f8b
|
Prettify output of schema_dumper by making things line up. Closes #4241 [Caio Chassot <caio@v2studio.com>]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-26 06:15:51 +00:00 |
|
Marcel Molina
|
9a5b91a329
|
Sybase Adapter type conversion cleanup [dev@metacasa.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-25 19:11:24 +00:00 |
|
Rick Olson
|
f106e2c5c8
|
Fix bug where calculations with long alias names return null. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-25 18:53:19 +00:00 |
|
Rick Olson
|
c61b10b62b
|
Raise error when trying to add to a has_many :through association. Use the Join Model instead. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-25 05:49:14 +00:00 |
|
Rick Olson
|
4251662c1a
|
Allow all calculations to take the :include option, not just COUNT (closes #4840) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-25 05:25:04 +00:00 |
|
Marcel Molina
|
84ec53753a
|
Update inconsistent migrations documentation. Closes #4683. [machomagna@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-22 15:10:09 +00:00 |
|
Jamis Buck
|
010a10f3a1
|
Add ActiveRecord::Errors#to_xml
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-21 17:04:00 +00:00 |
|
Rick Olson
|
2cbb5fb176
|
Properly quote index names in migrations (closes #4764) [John Long]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-20 02:41:05 +00:00 |
|
Rick Olson
|
df7b74668e
|
Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base#count syntax, while maintaining backwards compatibility. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-19 21:37:54 +00:00 |
|
Rick Olson
|
2a2afca095
|
Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-19 14:50:10 +00:00 |
|
Rick Olson
|
5ea76fab87
|
Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT DISTINCT List for postgresql. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-18 22:24:03 +00:00 |
|
David Heinemeier Hansson
|
b170fd771c
|
Doc fix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-18 04:37:18 +00:00 |
|
Marcel Molina
|
7cc446acf4
|
DRY up association collection reader method generation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-15 23:24:59 +00:00 |
|
Marcel Molina
|
37758cde13
|
DRY up and tweak style of the validation error object.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-15 23:22:57 +00:00 |
|
Rick Olson
|
32f66f09db
|
Modify ActiveRecord::Base.count so it shares the same signature as #calculate, but maintains backwards compatibility.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-14 14:14:19 +00:00 |
|
Rick Olson
|
bdb2a2f1cb
|
Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-12 20:42:13 +00:00 |
|
Rick Olson
|
7e76740d2a
|
Allow multiple association extensions with :extend option (closes #4666) [Josh Susser]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-11 01:10:42 +00:00 |
|
David Heinemeier Hansson
|
00050dfedb
|
Include the calculations fix for a new release of AR
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-09 21:27:32 +00:00 |
|
Rick Olson
|
9466211d42
|
fix calculations for the Oracle Adapter (closes #4626) [Michael Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 20:10:44 +00:00 |
|
David Heinemeier Hansson
|
8eb73f43e1
|
Fixed that that multiparameter assignment doesn't work with aggregations (closes #4620) [Lars Pind]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 16:16:29 +00:00 |
|
Nicholas Seckar
|
64003677b7
|
Fix type_name_with_module to handle type names that begin with '::'. Closes #4614.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 16:06:38 +00:00 |
|
Rick Olson
|
52d298a8bd
|
Enable Limit/Offset in Calculations (closes #4558) [lmarlow@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 15:23:56 +00:00 |
|
David Heinemeier Hansson
|
944ae628f5
|
Update versions for Rails 1.1.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 05:26:14 +00:00 |
|
Rick Olson
|
31d8169e3e
|
Fixed that loading including associations returns all results if Load IDs For Limited Eager Loading returns none (closes #4528) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 04:16:08 +00:00 |
|
David Heinemeier Hansson
|
dcee137c7b
|
Fix HasManyAssociation#find bugs when :finder_sql is set (closes #4600) [lagroue@free.fr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 03:06:36 +00:00 |
|
David Heinemeier Hansson
|
2fa5bf03dd
|
Reflect on aggregation ignores :class_name option (fixes #4599) [lars pind]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 02:58:32 +00:00 |
|
David Heinemeier Hansson
|
26e187516f
|
Doc fix (closes #4609)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 02:52:40 +00:00 |
|
Michael Koziarski
|
a86e594997
|
Stop respond_to? from throwing when instances are created 'irregularly' i.e. yaml loads. [zenspider] Closes #4587
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-06 02:45:19 +00:00 |
|
Rick Olson
|
58c435a3ca
|
Support eager includes when going through a polymorphic has_many association. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-05 17:11:21 +00:00 |
|
Rick Olson
|
a9fb1544b0
|
Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-05 17:01:56 +00:00 |
|
Rick Olson
|
4d232025b7
|
Added descriptive error messages for invalid has_many :through associations: going through :has_one or :has_and_belongs_to_many [Rick]
Added support for going through a polymorphic has_many association: (closes #4401) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-05 15:36:02 +00:00 |
|
Tobias Lütke
|
5821096a52
|
Multiple fixes and optimizations in PostgreSQL adapter, allowing ruby-postgres gem to work properly. Closes #4461
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-04 18:53:40 +00:00 |
|
David Heinemeier Hansson
|
949bf2937a
|
Get the green light for Oracle AR unit tests (closes #4573) [Michael Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-04 16:33:31 +00:00 |
|
Florian Weber
|
bb4c6797bf
|
Fixed that AssociationCollection#delete_all should work even if the records of the association are not loaded yet. [Florian Weber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-03 22:37:56 +00:00 |
|
David Heinemeier Hansson
|
109c56df3a
|
Doc fix #3960 [jonrailsdev@shumi.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-03 18:47:49 +00:00 |
|
Rick Olson
|
db7fadd730
|
Changed those private ActiveRecord methods to take optional third argument :auto instead of nil for performance optimizations. (closes #4456) [Stefan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-03 16:09:47 +00:00 |
|
Nicholas Seckar
|
6c2d167cd9
|
Abort broken tighter resolution suppression. Closes #4431
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-03 05:30:43 +00:00 |
|
Rick Olson
|
a3f20132db
|
Private ActiveRecord methods add_limit, add_joins, and add_conditions take an OPTIONAL third argument 'scope' (closes #4456) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 23:15:35 +00:00 |
|
David Heinemeier Hansson
|
12c5287e30
|
Doc fix (closes #4515)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 20:10:42 +00:00 |
|
David Heinemeier Hansson
|
53aa8da1a7
|
Fixed that records returned from has_and_belongs_to_many associations with additional attributes should be marked as read only (fixes #4512) [DHH] DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 20:03:10 +00:00 |
|