aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
...
* Made the dynamic finders use the new find API and updated the examples here ↵David Heinemeier Hansson2005-04-171-0/+2
| | | | | | and there git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixes a problem with the SQL Adapter which was resulting in IDENTITY_INSERT ↵David Heinemeier Hansson2005-04-171-0/+2
| | | | | | not being set to ON when it should be #1104 [adelle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option to specify the acceptance string in validates_acceptance_of ↵David Heinemeier Hansson2005-04-171-0/+2
| | | | | | #1106 [caleb@aei-tech.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added acts_as_nested_set #1000 [wschenk]David Heinemeier Hansson2005-04-171-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added insert_at(position) to acts_as_list #1083 [DeLynnB]David Heinemeier Hansson2005-04-171-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default order by id on has_and_belongs_to_many queries as it ↵David Heinemeier Hansson2005-04-131-0/+2
| | | | | | could kill performance on large sets (you can still specify by hand with :order) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Base.silence should restore the old logger level when done, not ↵David Heinemeier Hansson2005-04-131-0/+2
| | | | | | just set it to DEBUG #1084 [yon@milliped.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed boolean saving on Oracle #1093 [mparrish@pearware.org]David Heinemeier Hansson2005-04-131-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved build_association and create_association for has_one and belongs_to ↵David Heinemeier Hansson2005-04-121-0/+2
| | | | | | out of deprecation as they work when the association is nil unlike association.build and association.create, which require the association to be already in place #864 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added rollbacks of transactions if they're active as the dispatcher is ↵David Heinemeier Hansson2005-04-101-0/+2
| | | | | | killed gracefully (TERM signal) #1054 [Leon Bredt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added quoting of column names for fixtures #997 [jcfischer@gmail.com]David Heinemeier Hansson2005-04-071-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed counter_sql when no records exist in database for PostgreSQL (would ↵David Heinemeier Hansson2005-04-071-0/+2
| | | | | | give error, not 0) #1039 [Caleb Tennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that benchmarking times for rendering included db runtimes #987 ↵David Heinemeier Hansson2005-04-021-0/+2
| | | | | | [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed boolean queries for t/f fields in PostgreSQL #995 [dave@cherryville.org]David Heinemeier Hansson2005-04-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that model.items.delete(child) will delete the child, not just set the ↵David Heinemeier Hansson2005-04-021-0/+2
| | | | | | foreign key to nil, if the child is dependent on the model #978 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed auto-stamping of dates (created_on/updated_on) for PostgreSQL #985 ↵David Heinemeier Hansson2005-04-021-0/+2
| | | | | | [dave@cherryville.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Base.silence/benchmark to only log if a logger has been configured ↵David Heinemeier Hansson2005-04-021-0/+2
| | | | | | #986 [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a join parameter as the third argument to Base.find_first and as the ↵David Heinemeier Hansson2005-04-021-1/+1
| | | | | | second to Base.count #426, #988 [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a join parameter as the third argument to Base.find_first #426 ↵David Heinemeier Hansson2005-03-311-0/+2
| | | | | | [skaes@web.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug in Base#hash method that would treat records with the same ↵David Heinemeier Hansson2005-03-301-0/+2
| | | | | | string-based id as different [Dave Thomas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed DateHelper#distance_of_time_in_words_to_now to ↵David Heinemeier Hansson2005-03-301-0/+5
| | | | | | DateHelper#time_ago_in_words (old method name is still available as a deprecated alias) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for the release of 0.11.1David Heinemeier Hansson2005-03-271-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that MissingSourceFile's wasn't properly detected in production mode ↵David Heinemeier Hansson2005-03-251-0/+2
| | | | | | #925 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that :counter_cache option would look for a line_items_count column ↵David Heinemeier Hansson2005-03-231-0/+2
| | | | | | for a LineItem object instead of lineitems_count git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that AR exists?() would explode on postgresql if the passed id did not ↵David Heinemeier Hansson2005-03-231-0/+2
| | | | | | match the PK type #900 [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@983 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the MS SQL adapter to work with the new limit/offset approach and with ↵David Heinemeier Hansson2005-03-231-0/+5
| | | | | | binary data (still suffering from 7KB limit, though) #901 [delynnb] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated more documentationDavid Heinemeier Hansson2005-03-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added adapter independent limit clause as a two-element array with the first ↵David Heinemeier Hansson2005-03-201-0/+7
| | | | | | 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
* Added alias_method :to_param, :id to Base, such that Active Record objects ↵David Heinemeier Hansson2005-03-201-0/+2
| | | | | | 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
* Improved the performance of the OCI8 adapter for Oracle #723 [pilx/gjenkins]David Heinemeier Hansson2005-03-201-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added type conversion before saving a record, so string-based values like ↵David Heinemeier Hansson2005-03-201-0/+2
| | | | | | "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
* Added with additional settings for working with transactional fixtures and ↵David Heinemeier Hansson2005-03-201-0/+2
| | | | | | pre-loaded test databases #865 [mindel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed acts_as_list to trigger remove_from_list on destroy after the fact, ↵David Heinemeier Hansson2005-03-201-0/+2
| | | | | | 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
* Added the possibility of specifying fixtures in multiple calls #816 ↵David Heinemeier Hansson2005-03-171-0/+2
| | | | | | [kim@tinker.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.exists?(id) that'll return true if an object of the class with ↵David Heinemeier Hansson2005-03-171-0/+2
| | | | | | the given id exists #854 [stian@grytoyr.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added optionally allow for nil or empty strings with ↵David Heinemeier Hansson2005-03-141-0/+4
| | | | | | 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
* Fixed that SQLite3 exceptions are caught and reported properly #823 [yerejm]David Heinemeier Hansson2005-03-141-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that all types of after_find/after_initialized callbacks are triggered ↵David Heinemeier Hansson2005-03-141-0/+2
| | | | | | 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
* Fixed that symbols can be used on attribute assignment, like ↵David Heinemeier Hansson2005-03-101-0/+5
| | | | | | 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
* Prepared for 0.10.1 releaseDavid Heinemeier Hansson2005-03-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Base.colorize_logging to control whether to use colors ↵David Heinemeier Hansson2005-03-061-0/+2
| | | | | | in logs or not (on by default) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for timestamp with time zone in PostgreSQL #560 [Scott Barron]David Heinemeier Hansson2005-03-061-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added MultiparameterAssignmentErrors and AttributeAssignmentError exceptions ↵David Heinemeier Hansson2005-03-061-0/+10
| | | | | | #777 [demetrius] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added transactional fixtures that uses rollback to undo changes to fixtures ↵David Heinemeier Hansson2005-03-061-0/+2
| | | | | | 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
* Added destruction of dependent objects in has_one associations when a new ↵David Heinemeier Hansson2005-03-061-0/+14
| | | | | | assignment happens #742 [mindel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added validates_numericality_of #716 [skanthak/c.r.mcgrath]David Heinemeier Hansson2005-03-061-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that HasManyAssociation#count was using :finder_sql rather than ↵David Heinemeier Hansson2005-03-061-0/+2
| | | | | | :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
* Added better defaults for composed_of, so statements like composed_of ↵David Heinemeier Hansson2005-03-011-0/+2
| | | | | | :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
* Added MacroReflection#macro which will return a symbol describing the macro ↵David Heinemeier Hansson2005-02-271-0/+5
| | | | | | 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
* Marked for releaseDavid Heinemeier Hansson2005-02-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de