aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* Proper update call for gem serverDavid Heinemeier Hansson2008-10-231-1/+1
|
* Push to new gem serverDavid Heinemeier Hansson2008-10-231-2/+2
|
* Prepare for Rails 2.2.0 [RC1]David Heinemeier Hansson2008-10-232-7/+7
|
* Fix a typo in fxn's namePratik Naik2008-10-232-2/+2
|
* Add release notesPratik Naik2008-10-234-12/+1498
|
* Merge with docrailsPratik Naik2008-10-2242-137/+304
|
* Merge with docrails. Also add a rake task to generate guides in your rails ↵Pratik Naik2008-10-21124-650/+20644
| | | | | | | | application : rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
* Fix script/generate warningPratik Naik2008-10-211-1/+2
|
* config.gem: Fix typo in unpack, skip dependencies on unloaded gems, and ↵Matt Jones2008-10-202-2/+3
| | | | | | silence spec warnings on refresh. [#1128] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Expose default value of database connection pool in generated database.ymlPratik Naik2008-10-194-0/+12
|
* Memoize the require and construction of the StringInquirerMichael Koziarski2008-10-191-2/+4
|
* Don't create test/performance/test_helper.rb. Just require the needed files ↵Pratik Naik2008-10-174-5/+4
| | | | from test directly. [#1135 state:resolved]
* Merge docrailsPratik Naik2008-10-1622-778/+1799
|
* Remove the class_path from the collisions test.Michael Koziarski2008-10-149-11/+11
| | | | The class_path is often taken already in situations like Admin namespaces etc.
* Don't include the path when checking class collisions [#545 state:resolved]Joshua Peek2008-10-132-0/+4
|
* Initialize silence_spec_warningsMatt Jones2008-10-131-0/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:resolved]
* Make VendorGemSourceIndex handle broken/missing specs generated by previous ↵Matt Jones2008-10-137-23/+157
| | | | | | versions. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix script/console --sandbox warning. [#1194 state:resolved]Matt Jones2008-10-091-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix definition of find_nameMatt Jones2008-10-081-2/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1128 state:committed]
* Mark gem as not loaded when spec not foundMatt Jones2008-10-081-0/+2
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix deprecated ActionController::Base.relative_url_root call in mongrel commandChris Cherry2008-10-051-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge docrailsPratik Naik2008-10-0555-1412/+51462
|
* Fix a number of errors in the config.gem mechanism.Matt Jones2008-10-0517-49/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com>
* Add IMB DB support to Rails application generator. [#1136 state:resolved]Antonio Cangiano2008-10-042-1/+63
| | | | | | Usage : rails app_name -d ibm_db Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure recreate MySQL test database with the proper encoding and ↵Luca Guidi2008-10-031-1/+1
| | | | | | | collation [#1165 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1165 state:committed]
* Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1Michael Koziarski2008-09-242-2/+4
| | | | We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us.
* Bump the Version constants to align with the *next* release rather than the ↵Michael Koziarski2008-09-221-1/+1
| | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants.
* make db:migrate:redo rake task accept an optional VERSION to target that ↵Philip Hallstrom2008-09-171-2/+10
| | | | | | specific migration to redo Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Merge docrailsPratik Naik2008-09-1315-8/+4392
|
* Add --debugger option to script/console.miloops2008-09-111-0/+13
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1025 state:committed]
* Missing doc updatesDavid Heinemeier Hansson2008-09-091-0/+2
|
* Fix for SQLite's db creation warnings [status:committed #614]Antonio Cangiano2008-09-091-6/+18
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Dont reference the class being tested when it can be assumedDavid Heinemeier Hansson2008-09-091-1/+0
|
* Ruby 1.9 compat: remove instance variables and global variables from block ↵Akira Matsuda2008-09-091-8/+8
| | | | | | | | parameters [#1000 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: use String#lines instead of to_a in Ruby 1.9Akira Matsuda2008-09-091-1/+1
| | | | | | [#1001 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: remove constants from block parametersAkira Matsuda2008-09-091-2/+2
| | | | | | [#1002 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge docrailsPratik Naik2008-09-032-2/+3
|
* Inline help text was incorrectly telling user to uncomment line to use ↵Nigel Ramsay2008-09-031-1/+1
| | | | | | | default local time. User should comment the line to use default local time. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#960 state:committed]
* Database connections are now pooled, one pool per #establish_connection call.Jeremy Kemper2008-09-022-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pools start out empty and grow as necessary to a maximum size (default is 5, configure size with key 'pool' in your database configuration). If no connections are available, a thread will wait up to a 'wait_timeout' time (default is 5 seconds). Connections are verified and reset when checked out from the pool (usually upon first access to ActiveRecord::Base.connection), and returned back to the pool after each request. If you would like to use connection pools outside of ActionPack, there is an ActiveRecord::Base.connection_pool method that gives you access to the pool, and you can manually checkout/checkin connections, or supply a block to ActiveRecord::Base.connection_pool.with_connection which takes care of the checkout/checkin for you. [#936 state:resolved]
| * Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
| * Added optional rake doc:app TITLE environment parameterNathaniel Bibler2008-08-291-2/+2
| | | | | | | | | | | | [#939 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Remove call to active_record.allow_concurrency since it's deprecatedNick Sieger2008-08-291-1/+0
| |
* | Revert "Change all databases.rake adapter 'when' statements to use regexes."Nick Sieger2008-08-291-18/+18
| | | | | | | | This reverts commit 3d2512d38d2e28b3ea669139f7c7b0307522aa72.
* | Change all databases.rake adapter 'when' statements to use regexes.Nick2008-08-291-18/+18
|/ | | | | | This is more friendly to JRuby/JDBC adapters (with names like 'jdbcmysql') and leaves the door open to alternate implementations of adapters in the future.
* Prevent deprecation warning in the testsMichael Koziarski2008-08-281-1/+3
|
* Formally deprecate the old secret key generatorMichael Koziarski2008-08-271-0/+1
|
* Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-274-161/+8
| | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed]
* The 'rails' command was broken by the last commit. Fix that.Hongli Lai (Phusion2008-08-262-3/+10
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* When an unexpected exception is caught, tell the administrator to read the ↵Hongli Lai (Phusion2008-08-262-0/+39
| | | | | | log file for more information about the error. This should make things less confusing for developers who are new to Rails. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Reverse the priority of the mysql commands in dbconsoleMichael Koziarski2008-08-241-1/+1
|