aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Work-in progress for providing better join model support and polymorphic ↵David Heinemeier Hansson2005-12-0213-44/+194
| | | | | | associations git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix docs for text_area_tag. Closes #3083.Marcel Molina2005-12-022-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow validate_uniqueness_of to be scoped by more than just one column. ↵Marcel Molina2005-12-023-5/+41
| | | | | | Closes #1559. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Firebird: active? and reconnect! methods for handling stale connections. ↵Jeremy Kemper2005-12-022-2/+25
| | | | | | References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence deprecation warnings for keep_flash when running tests.Marcel Molina2005-12-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Firebird: updated for FireRuby 0.4.0. References #3009.Jeremy Kemper2005-12-022-67/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change form_for and fields_for method signatures to take object name and ↵Marcel Molina2005-12-025-33/+22
| | | | | | object as separate arguments rather than as a Hash. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Run initialize_logger in script/lighttpd to ensure the log file exists ↵Sam Stephenson2005-11-303-6/+11
| | | | | | before tailing it git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make load_fixtures include csv fixtures. Closes #3053.Marcel Molina2005-11-282-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: active? compatibility with the pure-Ruby driver. Still need to ↵Jeremy Kemper2005-11-282-3/+5
| | | | | | move connect into the adapter since postgres-pr doesn't support #reset. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL: active? compatibility with the pure-Ruby driver. References #428.Jeremy Kemper2005-11-282-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle mutual dependencies with .rb suffix.Jeremy Kemper2005-11-283-15/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix freeze_gems so that the latest rails version is dumped by defaultNicholas Seckar2005-11-282-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce Dependencies.warnings_on_first_load setting. If true, enables ↵Jeremy Kemper2005-11-243-2/+11
| | | | | | warnings on first load of a require_dependency. Otherwise, loads without warnings. Disabled (set to false) by default. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: active? check pings the database rather than testing the last ↵Jeremy Kemper2005-11-242-17/+17
| | | | | | command status. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Credit everybody that helped =)Florian Weber2005-11-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made test_update_attributes_after_push_without_duplicate_join_table_rows ↵Florian Weber2005-11-241-2/+2
| | | | | | pass with Oracle Adapter. #2888 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: resolve column aliasing/quoting collision when using limit or ↵Jeremy Kemper2005-11-242-1/+8
| | | | | | offset in an eager find. References #2974. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reloading a model doesn't lose track of its connection. References #2996.Jeremy Kemper2005-11-2413-19/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sever infinite loop for mutual dependencies. Closes #2997.Jeremy Kemper2005-11-245-7/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dependencies: set load_file_name = file_name if it ends in .rbJeremy Kemper2005-11-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/plugin: handle root paths and plugin names which contain spaces. ↵Jeremy Kemper2005-11-232-10/+13
| | | | | | References #2995. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce :selected option to the select helper. Allows you to specify a ↵Jeremy Kemper2005-11-233-2/+26
| | | | | | selection other than the current value of object.method. Specify :selected => nil to leave all options unselected. Closes #2991. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Credit ticket author.Jeremy Kemper2005-11-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable warnings on first load only. File which are loaded but raise an ↵Jeremy Kemper2005-11-235-18/+91
| | | | | | exception are not added to loaded set. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug where using update_attribute after pushing a record to a habtm ↵Florian Weber2005-11-233-2/+17
| | | | | | association of the object caused duplicate rows in the join table. #2888 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct spelling of persistent [Stefan Kaes]. Document and eliminate ↵Jeremy Kemper2005-11-231-5/+15
| | | | | | warnings in clear_persistent_model_associations. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MySQL, PostgreSQL: reconnect! also reconfigures the connection. Otherwise, ↵Jeremy Kemper2005-11-223-19/+38
| | | | | | the connection 'loses' its settings if it times out and is reconnected. Closes #2978. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make javascript_include_tag :default behave correctly with application.js, ↵Thomas Fuchs2005-11-221-1/+1
| | | | | | fixes #2986 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Initialize @optional in routing code to avoid warningsNicholas Seckar2005-11-222-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Model generator: correct relative path to test_helper in unit test.Jeremy Kemper2005-11-222-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove superfluous check for pluralize_table_names (use table_name which ↵Sam Stephenson2005-11-221-1/+1
| | | | | | does this check when it's set). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make ActionController's render honor the :locals option when rendering a ↵Sam Stephenson2005-11-225-3/+42
| | | | | | :file. Closes #1665. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* FormHelper correctly passes its object through select, collection_select, ↵Jeremy Kemper2005-11-222-5/+7
| | | | | | country_select, and time_zone_select. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de