aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added new symbol-driven approach to activating observers with Base#observer ↵David Heinemeier Hansson2005-09-251-0/+1
| | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just include activerecord/schema with AR so it doesnt need to be dumpedDavid Heinemeier Hansson2005-09-241-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActiveRecord::SchemaDumper for dumping a DB schema to a pure-ruby file, ↵Jamis Buck2005-09-231-1/+1
| | | | | | making it easier to consolidate large migration lists and port database schemas between databases. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the ↵David Heinemeier Hansson2005-09-151-7/+8
| | | | | | connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only attempt to require Active Support if it hasnt been already #1959David Heinemeier Hansson2005-09-151-8/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the AR::Recursion module--it broke more code than it fixedJamis Buck2005-06-211-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Recursion to guard against recursive calls to #saveJamis Buck2005-06-131-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow before/after update hooks to work on models with optimistic lockingJamis Buck2005-06-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Started work on a per-request query cacheDavid Heinemeier Hansson2005-05-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added acts_as_nested_set #1000 [wschenk]David Heinemeier Hansson2005-04-171-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]. ↵David Heinemeier Hansson2005-03-061-7/+4
| | | | | | Moved all active support dependencies into active support git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary support for an agile database migration technique ↵David Heinemeier Hansson2005-03-011-0/+1
| | | | | | (currently only for MySQL) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved TimeZone to Active SupportDavid Heinemeier Hansson2005-02-231-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a OCI8-based Oracle adapter that has been verified to work with Oracle ↵David Heinemeier Hansson2005-02-231-1/+1
| | | | | | 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
* Added TimeZone as the first of a number of value objects that Active Record ↵David Heinemeier Hansson2005-02-231-0/+1
| | | | | | 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
* AR, AP, and AM should look for AS in sibling directory before trying ↵David Heinemeier Hansson2005-02-171-2/+6
| | | | | | RubyGems #648 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* All libraries should link against the independent active supportDavid Heinemeier Hansson2005-02-151-9/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved Active Support into its own gemDavid Heinemeier Hansson2005-02-151-4/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an Oracle adapter that works with the Oracle bindings by Yoshida ↵David Heinemeier Hansson2005-02-071-0/+1
| | | | | | (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
* Added SQLite3 compatibility through the sqlite3-ruby adapter by Jamis Buck ↵David Heinemeier Hansson2005-01-101-1/+1
| | | | | | #381 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added time unit extensions to Fixnum that'll return the period in seconds, ↵David Heinemeier Hansson2005-01-101-0/+1
| | | | | | like 2.days + 4.hours git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a db2 adapter that only depends on the Ruby/DB2 bindings ↵David Heinemeier Hansson2005-01-011-0/+1
| | | | | | (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]. Converted all the fixtures to YAML style ones. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@303 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added automated optimistic locking if the field lock_version is present #384 ↵David Heinemeier Hansson2004-12-311-2/+4
| | | | | | [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@295 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rearranging dependenciesDavid Heinemeier Hansson2004-12-291-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the automated timestamping feature when running under Rails' ↵David Heinemeier Hansson2004-12-181-1/+1
| | | | | | development environment that resets the inheritable attributes on each request. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed Mixins to Acts to resemble the change from include ↵David Heinemeier Hansson2004-12-161-4/+4
| | | | | | ActiveRecord::Mixins::List to acts_as_list and renamed @@default_error_messagess to @@default_error_messages git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that Active Records will automatically record creation and/or update ↵David Heinemeier Hansson2004-12-161-3/+6
| | | | | | timestamps of database objects if fields of the names created_at/created_on or updated_at/updated_on are present. [Tobias Luetke] Added acts_as_tree that can decorates an existing class with a many to many relationship with itself. Added acts_as_list that can decorates an existing class with methods like move_higher/lower, move_to_top/bottom. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot to include Mixins::Touch by defaultDavid Heinemeier Hansson2004-12-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@86 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed from ListMixin and mixins/list_mixin.rb to Mixins::List and ↵David Heinemeier Hansson2004-12-081-0/+2
| | | | | | mixin/list.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@83 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence errors occurring when reloading classesDavid Heinemeier Hansson2004-11-301-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@27 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+50
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de