Pratik Naik
a17fc20eb1
Fix a typo
2008-10-24 18:05:52 +05:30
Pratik Naik
f8079b815b
Add some more info to the release notes
2008-10-24 18:00:01 +05:30
David Heinemeier Hansson
d224e6ccb1
Update CHANGELOGs with the last few fixes, set date for today
2008-10-24 13:08:47 +02:00
David Heinemeier Hansson
5366e61458
Proper update call for gem server
2008-10-23 20:29:25 +02:00
David Heinemeier Hansson
eec6e0cbbd
Push to new gem server
2008-10-23 20:18:11 +02:00
David Heinemeier Hansson
57c31a380e
Prepare for Rails 2.2.0 [RC1]
2008-10-23 20:14:20 +02:00
Pratik Naik
1a0e7390fc
Fix a typo in fxn's name
2008-10-23 19:26:52 +05:30
Pratik Naik
a8ba6773a7
Add release notes
2008-10-23 19:19:23 +05:30
Pratik Naik
896058b485
Merge with docrails
2008-10-22 23:14:00 +05:30
Pratik Naik
a03e2b356c
Merge with docrails. Also add a rake task to generate guides in your rails application :
...
rake doc:guides
The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
2008-10-21 18:33:40 +01:00
Pratik Naik
326036de46
Fix script/generate warning
2008-10-21 01:47:44 +01:00
Matt Jones
326030a1e8
config.gem: Fix typo in unpack, skip dependencies on unloaded gems, and silence spec warnings on refresh. [ #1128 ]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-10-20 21:45:01 +01:00
Pratik Naik
39e1911463
Expose default value of database connection pool in generated database.yml
2008-10-19 19:54:35 +01:00
Michael Koziarski
6d1d48de6a
Memoize the require and construction of the StringInquirer
2008-10-19 13:26:36 +02:00
Pratik Naik
5384ba3081
Don't create test/performance/test_helper.rb. Just require the needed files from test directly. [ #1135 state:resolved]
2008-10-17 22:58:37 +02:00
Pratik Naik
9cb5400871
Merge docrails
2008-10-16 22:13:06 +02:00
Michael Koziarski
09c1718198
Remove the class_path from the collisions test.
...
The class_path is often taken already in situations like Admin namespaces etc.
2008-10-14 21:59:55 +02:00
Joshua Peek
9ab83b1cd1
Don't include the path when checking class collisions [ #545 state:resolved]
2008-10-13 21:43:58 -05:00
Matt Jones
1b44bbff42
Initialize silence_spec_warnings
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1128 state:resolved]
2008-10-13 17:27:31 +02:00
Matt Jones
9f15870946
Make VendorGemSourceIndex handle broken/missing specs generated by previous versions.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-13 17:27:25 +02:00
Matt Jones
aa4a7c3530
Fix script/console --sandbox warning. [ #1194 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-10-09 01:35:21 +01:00
Matt Jones
0dea211f44
Fix definition of find_name
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1128 state:committed]
2008-10-08 17:36:53 +02:00
Matt Jones
2d644fd136
Mark gem as not loaded when spec not found
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-10-08 17:36:52 +02:00
Chris Cherry
1c75b4fd42
Fix deprecated ActionController::Base.relative_url_root call in mongrel command
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2008-10-05 17:25:57 -05:00
Pratik Naik
a2932784bb
Merge docrails
2008-10-05 22:16:26 +01:00
Matt Jones
2bf58aa782
Fix a number of errors in the config.gem mechanism.
...
* 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 >
2008-10-05 10:16:17 -07:00
Antonio Cangiano
f0e90740d0
Add IMB DB support to Rails application generator. [ #1136 state:resolved]
...
Usage : rails app_name -d ibm_db
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-10-04 13:54:27 +01:00
Luca Guidi
1bc267d216
Make sure recreate MySQL test database with the proper encoding and collation [ #1165 state:resolved]
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1165 state:committed]
2008-10-03 22:08:55 +02:00
Michael Koziarski
a78ec93036
Partially revert 185fe2e9cc
...
We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us.
2008-09-24 18:46:45 +02:00
Michael Koziarski
5f86451a4c
Bump the Version constants to align with the *next* release rather than the previous release.
...
This allows people tracking non-release gems or git submodules to use the constants.
2008-09-22 21:32:12 +02:00
Philip Hallstrom
c47525a583
make db:migrate:redo rake task accept an optional VERSION to target that specific migration to redo
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-09-17 11:14:21 +02:00
Pratik Naik
a17027d13a
Merge docrails
2008-09-13 20:28:01 +01:00
miloops
c98cb8ffc2
Add --debugger option to script/console.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1025 state:committed]
2008-09-11 17:12:00 +02:00
David Heinemeier Hansson
6dc9173a63
Missing doc updates
2008-09-09 23:59:54 -05:00
Antonio Cangiano
854cf3d721
Fix for SQLite's db creation warnings [status:committed #614 ]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-09-09 23:56:37 -05:00
David Heinemeier Hansson
dc8b21dc3c
Dont reference the class being tested when it can be assumed
2008-09-09 17:59:34 -05:00
Akira Matsuda
5f7c42413b
Ruby 1.9 compat: remove instance variables and global variables from block parameters
...
[#1000 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-09-09 10:35:53 -07:00
Akira Matsuda
8e68ec4dcc
Ruby 1.9 compat: use String#lines instead of to_a in Ruby 1.9
...
[#1001 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-09-09 10:35:24 -07:00
Akira Matsuda
07eb9ffd15
Ruby 1.9 compat: remove constants from block parameters
...
[#1002 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-09-09 10:07:59 -07:00
Pratik Naik
6ef35461dc
Merge docrails
2008-09-03 17:58:47 +01:00
Nigel Ramsay
b36d000975
Inline help text was incorrectly telling user to uncomment line to use default local time. User should comment the line to use default local time.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#960 state:committed]
2008-09-03 09:04:42 +02:00
Jeremy Kemper
6f932b4790
Database connections are now pooled, one pool per #establish_connection call.
...
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]
2008-09-02 18:32:54 +02:00
Jeremy Kemper
a1eb4e11c2
Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, but it has since been removed from 1.9.
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
Conflicts:
actionpack/test/controller/layout_test.rb
2008-08-31 13:20:15 -07:00
Nathaniel Bibler
efa6620a2a
Added optional rake doc:app TITLE environment parameter
...
[#939 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2008-08-29 21:04:04 -07:00
Nick Sieger
c1b949869c
Remove call to active_record.allow_concurrency since it's deprecated
2008-08-29 14:12:13 -05:00
Nick Sieger
3151d96663
Revert "Change all databases.rake adapter 'when' statements to use regexes."
...
This reverts commit 3d2512d38d2e28b3ea669139f7c7b0307522aa72.
2008-08-29 14:12:09 -05:00
Nick
1a81f156bd
Change all databases.rake adapter 'when' statements to use regexes.
...
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.
2008-08-29 14:12:08 -05:00
Michael Koziarski
8b6870cfae
Prevent deprecation warning in the tests
2008-08-28 12:47:18 +02:00
Michael Koziarski
b7cd4ded93
Formally deprecate the old secret key generator
2008-08-27 15:18:07 +02:00
Hongli Lai (Phusion
b3411ff59e
Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.
...
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]
2008-08-27 15:08:16 +02:00