aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that every successive call on the sqlite adapter prepended RAILS_ROOT ↵David Heinemeier Hansson2004-12-121-1/+1
| | | | | | again and again because RAILS_ROOT itself is the Windows absolute path which begins with the drive letter #294 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Options for the new validation methods are now given as a hashDavid Heinemeier Hansson2004-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.validate_uniqueness thatv alidates whether the value of the ↵David Heinemeier Hansson2004-12-101-1/+1
| | | | | | specified attributes are unique across the system. Useful for making sure that only one user can be named "davidhh". git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TIMESTAMP columns broken due to TIME handling patchDavid Heinemeier Hansson2004-12-091-11/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@99 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed value quoting in all generated SQL statements, so that integers are ↵David Heinemeier Hansson2004-12-072-7/+12
| | | | | | not surrounded in quotes and that all sanitation are happening through the database's own quoting routine. This should hopefully make it lots easier for new adapters that doesn't accept '1' for integer columns. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@70 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added proper handling of time fields that are turned into Time objects with ↵David Heinemeier Hansson2004-12-011-1/+13
| | | | | | the dummy date of 2000/1/1 [HariSeldon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@40 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed infinite loop when environment is missing in database.ymlDavid Heinemeier Hansson2004-12-011-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@35 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added relative path search for sqlite dbfiles in database.yml (if RAILS_ROOT ↵David Heinemeier Hansson2004-12-011-2/+3
| | | | | | is defined) #233 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@34 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* symbolize_strings_in_hash shouldnt change receiver -- this should fix the ↵David Heinemeier Hansson2004-11-261-6/+4
| | | | | | bug with dump_schema in the rakefile git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@17 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to establish_connection where you'll be able to leave out the ↵David Heinemeier Hansson2004-11-251-13/+16
| | | | | | parameter to have it use the RAILS_ENV environment variable git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-245-0/+1075
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de