David Heinemeier Hansson
|
c4e5196210
|
Updated documentation even more
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 17:25:41 +00:00 |
|
David Heinemeier Hansson
|
1dc0b2a960
|
Added documentation for database adapters to visible RDoc
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 17:03:12 +00:00 |
|
David Heinemeier Hansson
|
85fa238bca
|
Moved over TimeZone test too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 16:29:13 +00:00 |
|
David Heinemeier Hansson
|
f9fca1eb63
|
Moved TimeZone to Active Support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 15:13:03 +00:00 |
|
David Heinemeier Hansson
|
a8f36e88dd
|
Remove outdated dev-utils
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 14:30:24 +00:00 |
|
David Heinemeier Hansson
|
186d7fb334
|
Removed unnecessary table_name overwrite #695
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 14:28:53 +00:00 |
|
David Heinemeier Hansson
|
3ebe3a7814
|
Where to get the OCI8 driver
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 13:39:32 +00:00 |
|
David Heinemeier Hansson
|
10d458b0aa
|
Added a OCI8-based Oracle adapter that has been verified to work with Oracle 8 and 9 #629 [Graham Jenkins]. Removed Maiks Oracle adapter until it can be merged with the OCI one.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 13:34:57 +00:00 |
|
David Heinemeier Hansson
|
6329daf5ac
|
Added TimeZone as the first of a number of value objects that Active Record will start shipping to provide incentatives to use rich value objects using composed_of #688 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 12:56:16 +00:00 |
|
David Heinemeier Hansson
|
d768ff1146
|
Documentation fix #698
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 12:31:05 +00:00 |
|
David Heinemeier Hansson
|
c699a3e985
|
Added option :schema_order to the PostgreSQL adapter to support the use of multiple schemas per database #697 [YuriSchimke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 12:29:19 +00:00 |
|
David Heinemeier Hansson
|
e58f2675df
|
Documentation fixes #694
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 12:14:28 +00:00 |
|
David Heinemeier Hansson
|
8fff2381ca
|
Fixed the Broken pipe error on SHOW FIELDs queries too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-22 16:38:18 +00:00 |
|
David Heinemeier Hansson
|
e9426d2264
|
Optimized the SQL used to generate has_and_belongs_to_many queries by listing the join table first #693 [yerejm]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-22 13:58:22 +00:00 |
|
David Heinemeier Hansson
|
dfd43d577e
|
Fixed that when using validation macros with a custom message, if you happened to use single quotes in the message string you would get a parsing error #657 [tonka]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-22 13:54:26 +00:00 |
|
David Heinemeier Hansson
|
f384582240
|
Fixed that Active Record would throw Broken Pipe errors with FCGI when the MySQL connection timed out instead of reconnecting #428 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-21 01:44:15 +00:00 |
|
David Heinemeier Hansson
|
ba309a3e38
|
Added options to specify an SSL connection for MySQL. Define the following attributes in the connection config (config/database.yml in Rails) to use it: sslkey, sslcert, sslca, sslcapath, sslcipher. To use SSL with no client certs, just set :sslca = /dev/null. http://dev.mysql.com/doc/mysql/en/secure-connections.html #604 [daniel@nightrunner.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-20 21:47:09 +00:00 |
|
David Heinemeier Hansson
|
101968f367
|
Added automatic dropping/creating of test tables for running the unit tests on all databases #587 [adelle@bullet.net.au]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-20 21:21:41 +00:00 |
|
David Heinemeier Hansson
|
06b8936914
|
Fixed that find_by_* would fail when column names had numbers #670 [demetrius]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 11:30:38 +00:00 |
|
David Heinemeier Hansson
|
57c32677c9
|
Fixed the SQL Server adapter on a bunch of issues #667 [DeLynn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 00:05:40 +00:00 |
|
David Heinemeier Hansson
|
5dcbe933df
|
Added validates_each that validates each specified attribute against a block #610 [bitsweat]. Added :allow_nil as an explicit option for validates_length_of, so unless that's set to true having the attribute as nil will also return an error if a range is specified as :within #610 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-18 17:27:26 +00:00 |
|
David Heinemeier Hansson
|
28edbca477
|
Fixed that the dynamic finder like find_all_by_something_boolean(false) didn't work #649 [lmarlow@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-18 17:16:04 +00:00 |
|
David Heinemeier Hansson
|
5fc48bc54f
|
Fixed a bit to eager requiring of oracle bindings in oracle adapter #634
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-18 17:09:50 +00:00 |
|
David Heinemeier Hansson
|
e39bf10594
|
Loading the Routes should happen in the environments #655
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 23:03:48 +00:00 |
|
David Heinemeier Hansson
|
bc574a86ac
|
Skip Active Record tests in Action Pack if the SQLite database cant be brought up
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:28:13 +00:00 |
|
David Heinemeier Hansson
|
0e764a5599
|
Addded validation for validate all the associated objects before declaring failure with validates_associated #618 [Tim Bates]. Added that validates_* now accept blocks to perform validations #618 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:14:15 +00:00 |
|
David Heinemeier Hansson
|
0aad5abcc8
|
AR, AP, and AM should look for AS in sibling directory before trying RubyGems #648
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:04:47 +00:00 |
|
David Heinemeier Hansson
|
c00bf5f0c6
|
Fixed the verbosity of using the AR store
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 01:23:41 +00:00 |
|
David Heinemeier Hansson
|
5dabc92cf9
|
Call Active Support 0.9 until release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 16:43:13 +00:00 |
|
David Heinemeier Hansson
|
ca175ed7c9
|
All libraries should link against the independent active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 16:15:02 +00:00 |
|
David Heinemeier Hansson
|
dc3d6eb9b4
|
Moved Active Support into its own gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 15:57:44 +00:00 |
|
David Heinemeier Hansson
|
4ce69d79b7
|
Fix test case for MySQL #598
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 02:06:52 +00:00 |
|
David Heinemeier Hansson
|
a3298e5efd
|
Small indent
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-15 00:03:18 +00:00 |
|
David Heinemeier Hansson
|
1aa82b3217
|
Added keyword-style approach to defining the custom relational bindings #545 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:26:57 +00:00 |
|
David Heinemeier Hansson
|
098fa94356
|
Fixed documentation snafus #575, #576, #577, #585
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:15:53 +00:00 |
|
David Heinemeier Hansson
|
9b0fd9d00d
|
Added that the 'fixture :posts' syntax can be used for has_and_belongs_to_many fixtures where a model doesn't exist #572 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:10:44 +00:00 |
|
David Heinemeier Hansson
|
336c2cbb8f
|
Added an Oracle adapter that works with the Oracle bindings by Yoshida (http://raa.ruby-lang.org/project/oracle/) #564 [Maik Schmidt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:06:00 +00:00 |
|
David Heinemeier Hansson
|
8382e6e506
|
Dont call id explicitly to do reloading that way we get rid of the warnings #583 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 13:47:14 +00:00 |
|
David Heinemeier Hansson
|
431e21cb45
|
Fixed Base#clone for use with PostgreSQL #565 [hanson@surgery.wisc.edu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 13:43:44 +00:00 |
|
David Heinemeier Hansson
|
ac8ebc19be
|
Prepared for 0.9.5 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 20:10:24 +00:00 |
|
David Heinemeier Hansson
|
76242253ad
|
Updated documentation for serialize
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@513 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 20:00:44 +00:00 |
|
David Heinemeier Hansson
|
66f44e6cbb
|
Updated documentation for serialize
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 20:00:20 +00:00 |
|
David Heinemeier Hansson
|
10220d356d
|
Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 18:45:06 +00:00 |
|
David Heinemeier Hansson
|
efa81dad51
|
Added the option of supplying an array of ids and attributes to Base#update, so that multiple records can be updated at once (inspired by #526/Duane Johnson). Added the option of supplying an array of attributes to Base#create, so that multiple records can be created at once. Added that Base#delete and Base#destroy both can take an array of ids to delete/destroy #336. Added that has_many association build and create methods can take arrays of record data like Base#create and Base#build to build/create multiple records at once.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 12:45:01 +00:00 |
|
David Heinemeier Hansson
|
256b594a03
|
Fixed documentation #538
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 11:20:42 +00:00 |
|
David Heinemeier Hansson
|
fd67e3befc
|
The create and build methods are only available for has_one/belongs_to if an association already exist. It will not work when it's nil. Updated the documentation to reflect that.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-25 10:04:49 +00:00 |
|
David Heinemeier Hansson
|
d071deeecd
|
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 14:15:18 +00:00 |
|
David Heinemeier Hansson
|
0d2db8a7d1
|
Added Base.update_collection that can update an array of id/attribute pairs, such as the ones produced by the recent added support for automatic id-based indexing for lists of items #526 [Duane Johnson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 14:13:10 +00:00 |
|
David Heinemeier Hansson
|
981d86cbb9
|
Added ActiveRecord::Base.timestamps_gmt that can be set to true to make the automated timestamping use GMT instead of local time #520 [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@491 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 13:18:29 +00:00 |
|
David Heinemeier Hansson
|
566a36966b
|
Added that update_all calls sanitize_sql on its updates argument, so stuff like MyRecord.update_all(['time = ?', Time.now]) works #519 [notahat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 13:06:12 +00:00 |
|