David Heinemeier Hansson
|
daaa5251c9
|
Fixed documentation and prepared for 0.11.0 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-22 13:09:44 +00:00 |
|
David Heinemeier Hansson
|
ee8d110068
|
Added adapter independent limit clause as a two-element array with the first being the limit, the second being the offset #795 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 21:56:50 +00:00 |
|
David Heinemeier Hansson
|
ce23862800
|
Added alias_method :to_param, :id to Base, such that Active Record objects to be used as URL parameters in Action Pack automatically #812 [Nicholas Seckar/Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 15:45:36 +00:00 |
|
David Heinemeier Hansson
|
1b40f051e7
|
Improved the performance of the OCI8 adapter for Oracle #723 [pilx/gjenkins]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 14:33:45 +00:00 |
|
David Heinemeier Hansson
|
dabf906249
|
Added type conversion before saving a record, so string-based values like "10.0" arent left for the database to convert #820 [dave@cherryville.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 14:25:26 +00:00 |
|
David Heinemeier Hansson
|
b2cfbc4cc9
|
Added with additional settings for working with transactional fixtures and pre-loaded test databases #865 [mindel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 13:42:35 +00:00 |
|
David Heinemeier Hansson
|
6717ed61c1
|
Fixed acts_as_list to trigger remove_from_list on destroy after the fact, not before, so a unique position can be maintained #871 [Alisdair McDiarmid]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 13:39:15 +00:00 |
|
David Heinemeier Hansson
|
8ccbe90a07
|
Added warning about specifying callbacks before associations to trigger inheritance
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-19 15:36:41 +00:00 |
|
David Heinemeier Hansson
|
060b9b16aa
|
Added the possibility of specifying fixtures in multiple calls #816 [kim@tinker.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-17 19:36:44 +00:00 |
|
David Heinemeier Hansson
|
2f944123f3
|
Added Base.exists?(id) that'll return true if an object of the class with the given id exists #854 [stian@grytoyr.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-17 14:12:25 +00:00 |
|
David Heinemeier Hansson
|
b55f59e811
|
Added optionally allow for nil or empty strings with validates_numericality_of #801 [Sebastian Kanthak] Fixed problem with using slashes in validates_format_of regular expressions #801 [Sebastian Kanthak]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 23:56:47 +00:00 |
|
David Heinemeier Hansson
|
bfa6bfc24a
|
Fixed that SQLite3 exceptions are caught and reported properly #823 [yerejm]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 23:48:39 +00:00 |
|
David Heinemeier Hansson
|
9982578efb
|
Doc fix #805
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 00:23:34 +00:00 |
|
David Heinemeier Hansson
|
7edb10fe68
|
Added that all types of after_find/after_initialized callbacks are triggered if the explicit implementation is present, not only the explicit implementation itself
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 00:04:14 +00:00 |
|
David Heinemeier Hansson
|
fba2421c79
|
Fixed example in docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-13 15:35:49 +00:00 |
|
David Heinemeier Hansson
|
2bfaa05595
|
Fixed that symbols can be used on attribute assignment, like page.emails.create(:subject => data.subject, :body => data.body)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-10 14:44:01 +00:00 |
|
David Heinemeier Hansson
|
ef214ecc40
|
More incremental work on active schema for MySQL
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-10 14:30:35 +00:00 |
|
David Heinemeier Hansson
|
65786805ca
|
More incremental work on active schema for MySQL
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-10 14:24:28 +00:00 |
|
David Heinemeier Hansson
|
911614df6e
|
Added ActiveRecord::Base.colorize_logging to control whether to use colors in logs or not (on by default)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 17:18:34 +00:00 |
|
David Heinemeier Hansson
|
36a9eff957
|
Added support for timestamp with time zone in PostgreSQL #560 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 14:31:38 +00:00 |
|
David Heinemeier Hansson
|
d2fefbe908
|
Added MultiparameterAssignmentErrors and AttributeAssignmentError exceptions #777 [demetrius]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 14:11:26 +00:00 |
|
David Heinemeier Hansson
|
cbb65c39ec
|
Fixed that postgresql adapter would fails when reading bytea fields with null value #771 [rodrigo k]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 13:59:15 +00:00 |
|
David Heinemeier Hansson
|
87b55f59dd
|
Updated wording in YAML error [noradio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 13:53:29 +00:00 |
|
David Heinemeier Hansson
|
903ef71b99
|
Added transactional fixtures that uses rollback to undo changes to fixtures instead of DELETE/INSERT -- it's much faster. See documentation under Fixtures #760 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 13:51:55 +00:00 |
|
David Heinemeier Hansson
|
0ceab8114c
|
Better yaml fixture error #759 [xal]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 13:45:22 +00:00 |
|
David Heinemeier Hansson
|
7267db5890
|
Added destruction of dependent objects in has_one associations when a new assignment happens #742 [mindel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 13:40:21 +00:00 |
|
David Heinemeier Hansson
|
838ae35d63
|
Added validates_numericality_of #716 [skanthak/c.r.mcgrath]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 12:43:23 +00:00 |
|
David Heinemeier Hansson
|
6d566e82b4
|
Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]. Moved all active support dependencies into active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 12:20:53 +00:00 |
|
David Heinemeier Hansson
|
5e44eda787
|
Fixed that HasManyAssociation#count was using :finder_sql rather than :counter_sql if it was available #445 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 11:53:49 +00:00 |
|
David Heinemeier Hansson
|
02ba03509c
|
Added better defaults for composed_of, so statements like composed_of :time_zone, :mapping => %w( time_zone time_zone ) can be written without the mapping part (it's now assumed)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-01 23:52:36 +00:00 |
|
David Heinemeier Hansson
|
bc05cb1855
|
Ensure that the schema information table is available before doing any migration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-01 14:50:48 +00:00 |
|
David Heinemeier Hansson
|
eac7cf0b06
|
Added preliminary support for an agile database migration technique (currently only for MySQL)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-01 14:27:32 +00:00 |
|
David Heinemeier Hansson
|
6650da43c8
|
Fixed that association#count would produce invalid sql when called sequentialy #659 [kanis@comcard.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-28 09:07:03 +00:00 |
|
David Heinemeier Hansson
|
85bb292a8f
|
Added MacroReflection#macro which will return a symbol describing the macro used (like :composed_of or :has_many) #718, #248 [james@slashetc.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-27 17:18:35 +00:00 |
|
David Heinemeier Hansson
|
4fbc3e30eb
|
Changed the auto-timestamping feature to use ActiveRecord::Base.default_timezone instead of entertaining the parallel ActiveRecord::Base.timestamps_gmt method. The latter is now deprecated and will throw a warning on use (but still work) #710 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 12:00:42 +00:00 |
|
David Heinemeier Hansson
|
32dbf0b725
|
Fixes OCI adapter failure on timezone tests #700
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 00:05:47 +00:00 |
|
David Heinemeier Hansson
|
4eab375805
|
Finished polishing API docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 23:51:34 +00:00 |
|
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
|
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
|
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
|
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 |
|