diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-06-12 13:32:06 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-06-12 13:32:06 +0000 |
commit | c4a3634929b2739782da63dc4f00493add949b45 (patch) | |
tree | b4d5f061faa805953abe7b4c578042c874b07f83 /activerecord | |
parent | d0bd3b5af4a796d8f0b83815a3f164ae811c0626 (diff) | |
download | rails-c4a3634929b2739782da63dc4f00493add949b45.tar.gz rails-c4a3634929b2739782da63dc4f00493add949b45.tar.bz2 rails-c4a3634929b2739782da63dc4f00493add949b45.zip |
Corrected @@configurations typo. #1410 [david@ruppconsulting.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 454ab93cfa..84d46062df 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Corrected @@configurations typo #1410 [david@ruppconsulting.com] + * Return PostgreSQL columns in the order they were declared #1374 [perlguy@gmail.com] * Allow before/after update hooks to work on models using optimistic locking diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 0a953cfcd0..9782b6cd04 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -249,10 +249,10 @@ module ActiveRecord #:nodoc: end @@subclasses = {} - + cattr_accessor :configurations - @@primary_key_prefix_type = {} - + @@configurations = {} + # Accessor for the prefix type that will be prepended to every primary key column name. The options are :table_name and # :table_name_with_underscore. If the first is specified, the Product class will look for "productid" instead of "id" as # the primary column. If the latter is specified, the Product class will look for "product_id" instead of "id". Remember |