aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Honor ActiveRecord::Base.pluralize_table_names when creating and destroying ↵Marcel Molina2005-12-182-3/+9
| | | | | | session store table. Closes #3204. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't include a layout when rendering an rjs template using render's ↵Marcel Molina2005-12-174-2/+17
| | | | | | :template option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed :through relations when using STI inherited classes would use the ↵Tobias Lütke2005-12-167-4/+39
| | | | | | inherited class's name as foreign key on the join model git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Object#with_options for DRYing up multiple calls to methods having ↵Sam Stephenson2005-12-155-0/+73
| | | | | | shared options git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update trunk to scriptaculous 1.5 finalThomas Fuchs2005-12-132-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't used defined? on a scoped constant since it results in a const_missing ↵Jeremy Kemper2005-12-131-1/+1
| | | | | | call. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.4.0 finalSam Stephenson2005-12-134-16/+54
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Roll back [3244]. References #3116.Jeremy Kemper2005-12-132-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: allow encoding option for mysql.rb driver.Jeremy Kemper2005-12-132-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in benchmarker usage string.Marcel Molina2005-12-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in profiler usage string.Marcel Molina2005-12-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option inheritance for find calls on has_and_belongs_to_many and ↵David Heinemeier Hansson2005-12-1311-25/+82
| | | | | | | | has_many assosociations [DHH] Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [DHH] Added form_remote_for (form_for meets form_remote_tag) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to script.aculo.us 1.5.0_rc6Thomas Fuchs2005-12-126-880/+874
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tests for join models and fixed a bug #3177David Heinemeier Hansson2005-12-116-3/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove duplicate entry from chagnelogs.Marcel Molina2005-12-111-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update instructions on how to find and install generators. Closes #3172.Marcel Molina2005-12-112-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: fixes for the bundled mysql.rb driver. References #3160.Jeremy Kemper2005-12-102-8/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3274 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Close h1 with h1 not h2 (closes #3150)David Heinemeier Hansson2005-12-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: fix obscure optimistic locking bug, support uniqueidentifier ↵Jeremy Kemper2005-12-102-4/+18
| | | | | | columns, cope with tables names qualified by owner, cope with columns with desc in the name, cope with primary keys with select in the name. Closes #3068, #2930, #3067, #1950, #3057, #3162. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added form_remote_for [DHH]David Heinemeier Hansson2005-12-101-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Name vendor/generators source differently from lib/generators source.Jeremy Kemper2005-12-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: ensure that @config is set.Jeremy Kemper2005-12-091-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generator looks in vendor/generators also.Jeremy Kemper2005-12-092-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bundled mysql.rb to correctly check for PROTO_41. Fixed scramble41 with ↵Jeremy Kemper2005-12-091-43/+37
| | | | | | nil password. Fixed change_user with PROTO_41. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix shebang handling for empty files. References #2927.Jeremy Kemper2005-12-091-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generator copies files in binary mode. References #3156.Jeremy Kemper2005-12-092-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix some test failures due to MySQL assumptions. Closes #3149.Jeremy Kemper2005-12-082-6/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3254 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: active? performs a select instead of a commit. References #3133.Jeremy Kemper2005-12-082-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3252 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove insignificant classes from docsDavid Heinemeier Hansson2005-12-082-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: more robust test for nullified result hashes. References #3124.Jeremy Kemper2005-12-082-8/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: find database file when RAILS_ROOT is a symlink. References #3116.Jeremy Kemper2005-12-082-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reloading an instance refreshes its aggregations as well as its ↵Jeremy Kemper2005-12-085-0/+32
| | | | | | associations. References #3024. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that using :include together with :conditions array in Base.find would ↵David Heinemeier Hansson2005-12-083-3/+30
| | | | | | cause NoMethodError (closes #2887) [Paul Hammmond] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More robust relative url root discovery for SCGI compatibility. This solves ↵Jeremy Kemper2005-12-083-1/+9
| | | | | | the 'SCGI routes problem' -- you no longer need to prefix all your routes with the name of the SCGI mountpoint. References #3070. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: more robust sequence name discovery. References #3087.Jeremy Kemper2005-12-083-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: use syntax compatible with Oracle 8. References #3131.Jeremy Kemper2005-12-082-6/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Warn people not to change boot.rbDavid Heinemeier Hansson2005-12-081-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Finish polish on new welcome screenDavid Heinemeier Hansson2005-12-081-16/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed RDoc warnings [DHH]David Heinemeier Hansson2005-12-082-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix has_many :throughDavid Heinemeier Hansson2005-12-071-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add builtin/ to the gemspec. Closes #3047.Sam Stephenson2005-12-062-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont overwrite the documentation from the real base classDavid Heinemeier Hansson2005-12-051-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clear the connection cache entry when a new connection is established on the ↵Jeremy Kemper2005-12-052-21/+24
| | | | | | same class. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clear connection cache after rolling back transaction.Jeremy Kemper2005-12-051-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move dummy active? and reconnect! from sqlite to base adapter. References #428.Jeremy Kemper2005-12-042-13/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Connection cache to speed up retrieve_connection and get rid of dirty ↵Jeremy Kemper2005-12-045-37/+13
| | | | | | connection marking. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't use transactional fixtures for when DDL changes are involved.Jeremy Kemper2005-12-042-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: work around ruby-mysql/mysql-ruby inconsistency with mysql.stat. ↵Jeremy Kemper2005-12-032-7/+11
| | | | | | Eliminate usage of mysql.ping because it doesn't guarantee reconnect. Explicitly close and reopen the connection instead. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add install.rb file to plugin generation which is loaded, if it exists, when ↵Marcel Molina2005-12-035-1/+14
| | | | | | you install a plugin. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary support for join models [DHH] Added preliminary support ↵David Heinemeier Hansson2005-12-0317-446/+520
| | | | | | for polymorphic associations [DHH] Refactored associations to use reflections to get DRYer, beware, major refactoring -- double check before deploying anything with this (all tests pass, but..) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de