Tobias Lütke
|
5f0b9369cc
|
Fix Associations#clear for not-yet-loaded associations (Patrick Lenz)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-20 15:05:48 +00:00 |
|
Jeremy Kemper
|
7219e82fe6
|
HABTM finder sets :readonly => false. Closes #2525.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-20 14:53:04 +00:00 |
|
David Heinemeier Hansson
|
83dc37b910
|
Made ready to push RC2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-19 06:24:12 +00:00 |
|
Jeremy Kemper
|
328ef3feaa
|
Parenthesize :conditions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-18 23:52:07 +00:00 |
|
Jeremy Kemper
|
311342d8e2
|
Correct PostgreSQL primary key sequence detection. #2507
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-18 19:46:11 +00:00 |
|
David Heinemeier Hansson
|
851dd0806b
|
Added support for using limits in eager loads that involve has_many and has_and_belongs_to_many associations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-18 12:02:25 +00:00 |
|
David Heinemeier Hansson
|
f4aaa26eb3
|
Getting ready for 0.14.0 (1.0.0 Release Candidate 1)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-16 22:15:03 +00:00 |
|
Jamis Buck
|
bcd0968a6f
|
Update/clean up ActiveRecord documentation (rdoc)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-16 16:00:16 +00:00 |
|
Jeremy Kemper
|
7117fdb8ce
|
r3616@asus: jeremy | 2005-09-26 23:09:28 -0700
Ticket 2292 - Sequences, schemas, and fixtures
r3917@asus: jeremy | 2005-10-15 10:43:24 -0700
fix pk assert
r3918@asus: jeremy | 2005-10-15 10:46:52 -0700
rework query cache connection= override
r3919@asus: jeremy | 2005-10-15 10:47:45 -0700
correct fixtures usage
r3920@asus: jeremy | 2005-10-15 10:53:23 -0700
correct attr assignment
r3921@asus: jeremy | 2005-10-15 12:59:10 -0700
sequences
r3922@asus: jeremy | 2005-10-15 16:36:09 -0700
reset fixtures work with sequences
r3951@asus: jeremy | 2005-10-15 23:23:12 -0700
cut down excess features
r3952@asus: jeremy | 2005-10-15 23:40:30 -0700
don't test for PostgreSQL specifically
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-16 03:45:39 +00:00 |
|
Jamis Buck
|
1ea085ec7e
|
Comment out the memory leak test because it b0rks the testing environment. Update some contact info.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-16 02:30:04 +00:00 |
|
Nicholas Seckar
|
67e900c0f4
|
Fix bad commit. (Bad developer, bad\!)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-16 01:20:43 +00:00 |
|
Nicholas Seckar
|
9369137676
|
Add __FILE__ and __LINE__ to eval
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 22:56:36 +00:00 |
|
Jamis Buck
|
bfbf6bba1f
|
Allow ARStore::Session to indicate that it should not be reloaded in dev mode
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 20:49:04 +00:00 |
|
Jamis Buck
|
e7f61eab56
|
squash the memleak in dev mode finally (fingers crossed, here)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 18:21:27 +00:00 |
|
Sam Stephenson
|
10714869dc
|
Change default logging colors to work on both white and black backgrounds.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 15:34:09 +00:00 |
|
Jeremy Kemper
|
00a194d739
|
Really fix #1896. YAML class structure changed between 1.8.2 and 1.8.3, breaking the original implementation. Duck-type instead of checking kind_of?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2603 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 02:49:22 +00:00 |
|
Marcel Molina
|
07b4ea2e4b
|
Eliminate an obsolete comment.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2601 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 02:13:42 +00:00 |
|
Jeremy Kemper
|
da675e536d
|
Support ordered YAML fixtures. #1896
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2600 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 02:01:38 +00:00 |
|
Tobias Lütke
|
7086993161
|
Adds :nullify option to :depends. Closes #2015 (Robby Russell)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 00:46:55 +00:00 |
|
Jeremy Kemper
|
64fcb752f2
|
r3618@sedna: jeremy | 2005-10-14 12:06:03 -0700
Branch for :join tainting
r3631@sedna: jeremy | 2005-10-14 20:13:49 -0700
Introduce read-only records, object.readonly\!, object.readonly?, Foo.find(:all, :readonly => true). Foo.find(:all, :joins => '...') also implies :readonly => true.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2594 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-15 00:19:56 +00:00 |
|
Marcel Molina
|
6a6df5f1e2
|
Change quote delimiters for sql interpolation to obviate SyntaxErrors. Closes 2215. [leroen@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-14 23:28:35 +00:00 |
|
David Heinemeier Hansson
|
3202155212
|
SQL Server needs to quote booleans just like MySQL 1/0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-14 16:10:53 +00:00 |
|
Jamis Buck
|
e2fc88eef4
|
Avoid memleak in dev mode with fastcgi
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-14 15:04:57 +00:00 |
|
Marcel Molina
|
e2da98e212
|
Back out of [2548].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-14 14:01:17 +00:00 |
|
Tobias Lütke
|
5fa8793f02
|
DRYed up Associations#clear. Closes #1906 [Caleb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-14 12:53:39 +00:00 |
|
Marcel Molina
|
ebf618b7fc
|
Delegate access to a customized primary key to the conventional id method. Closes #2444.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-13 20:44:39 +00:00 |
|
Jamis Buck
|
99f3ae0845
|
Fix errors caused by assigning a has-one or belongs-to property to itself
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-13 19:21:45 +00:00 |
|
Jeremy Kemper
|
88c3416ffd
|
r3581@sedna: jeremy | 2005-10-13 12:20:42 -0700
Preserve order of fixture declarations.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-13 19:06:15 +00:00 |
|
Sam Stephenson
|
24c3599cc0
|
Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-13 04:12:32 +00:00 |
|
Marcel Molina
|
140a5f8f7b
|
Optimize postgresql selects.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-13 03:01:33 +00:00 |
|
Marcel Molina
|
af0df03fd3
|
Update DB2 adapter. Closes #2206.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-12 23:42:54 +00:00 |
|
Marcel Molina
|
f175547e58
|
Corrections to SQLServer native data types. Closes #2267.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-12 23:13:07 +00:00 |
|
Marcel Molina
|
b840e4ed50
|
Deprecated ActiveRecord::Base.threaded_connection in favor of ActiveRecord::Base.allow_concurrency.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-12 22:37:28 +00:00 |
|
Marcel Molina
|
0e0e774085
|
Protect id attribute from mass assigment even when the primary key is set to something else. Closes #2438.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-12 19:59:13 +00:00 |
|
Marcel Molina
|
2948910b56
|
Misc doc fixes (typos/grammar/etc.). Closes #2430.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-11 03:55:49 +00:00 |
|
Marcel Molina
|
dcc2263b3a
|
Speed up for unthreaded environments. Closes #2431.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2530 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-11 03:40:11 +00:00 |
|
Marcel Molina
|
31ae8121e4
|
Optimization for Mysql selects using mysql-ruby extension greater than 2.6.3. Closes #2426.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-11 03:10:07 +00:00 |
|
Marcel Molina
|
d736568f41
|
Speed up the setting of table_name. Closes #2428.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-10 18:59:56 +00:00 |
|
Jamis Buck
|
08fbdc1d43
|
move lib/version.rb to lib/active_record/version.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2513 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-10 14:28:41 +00:00 |
|
Marcel Molina
|
eb2fbf05c6
|
Optimize instantiation of STI subclass records. In partial fullfilment of #1236.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-09 22:26:54 +00:00 |
|
Marcel Molina
|
f4d1af3085
|
Fix typo of 'constrains' to 'contraints'. Closes #2069.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-09 22:08:16 +00:00 |
|
Marcel Molina
|
89733eaecf
|
Optimization refactoring for add_limit_offset!. In partial fullfilment of #1236.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-09 21:42:40 +00:00 |
|
Marcel Molina
|
c8e364a93f
|
Add ability to get all siblings, including the current child, with acts_as_tree. Recloses #2140.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-09 18:51:30 +00:00 |
|
Marcel Molina
|
64cd4e4170
|
PostgreSQL returns the path type wrapped in quotes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-09 01:22:47 +00:00 |
|
Marcel Molina
|
e30699f660
|
Add geometric type for postgresql adapter. Closes #2233.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-09 00:52:25 +00:00 |
|
Marcel Molina
|
80cd2f6645
|
Move require_library_or_gem out of AR's abstract_adapter and into ActiveSupport. closes #1992
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-08 07:48:37 +00:00 |
|
Jeremy Kemper
|
60a60f9798
|
Don't tell me about defined reader methods, even at debug level.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-07 18:22:40 +00:00 |
|
Marcel Molina
|
f218771d3e
|
Add option (true by default) to generate reader methods for each attribute of a record to avoid the overhead of calling method missing. In partial fullfilment of #1236.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-07 00:53:05 +00:00 |
|
Marcel Molina
|
c0899bca10
|
Add convenience predicate methods on Column class. In partial fullfilment of #1236.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-06 23:19:55 +00:00 |
|
Marcel Molina
|
e8b427cdef
|
Raise an exception when invalid options are passed to ActiveRecord::Base.find. Closes #2363.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-06 22:21:10 +00:00 |
|