aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git@github.com:lifo/docrailsFrederick Cheung2008-09-084-139/+40
|\ | | | | | | | | | | | | | | | | * 'master' of git@github.com:lifo/docrails: Updates to nested/shallow routes discussion in "Routing from the Outside In" guide. Add an index file for the guides. Get rid of the work-in-progress 'book' that's supposed to be based on Django's book. Add migrations guide to guide HTML generation task. Change over examples to use {{count}} and {{value}} instead of %d and %s.
| * Updates to nested/shallow routes discussion in "Routing from the Outside In" ↵Mike Gunderloy2008-09-081-1/+20
| | | | | | | | | | | | guide. Added guidance on avoiding deeply-nested routes, further explanation of :shallow, show example of :has_many and :shallow together.
| * Add an index file for the guides.Hongli Lai (Phusion)2008-09-082-1/+19
| |
| * Get rid of the work-in-progress 'book' that's supposed to be based on ↵Hongli Lai (Phusion)2008-09-082-137/+0
| | | | | | | | Django's book.
| * Add migrations guide to guide HTML generation task.Hongli Lai (Phusion)2008-09-081-0/+1
| |
* | expand the schema sectionFrederick Cheung2008-09-081-4/+32
|/
* Style regular font for constantsFrederick Cheung2008-09-074-5/+5
|
* Merge branch 'master' of git@github.com:lifo/docrailsFrederick Cheung2008-09-071-0/+256
|\ | | | | | | | | * 'master' of git@github.com:lifo/docrails: Initial draft of Getting Started With Rails guide, far from complete
| * Initial draft of Getting Started With Rails guide, far from completeJames Miller2008-09-071-0/+256
| |
* | ActiveRecord -> Active RecordFrederick Cheung2008-09-077-16/+16
|/
* Add to the preambleFrederick Cheung2008-09-071-1/+6
|
* Stylistic cleanupsFrederick Cheung2008-09-075-7/+7
|
* Fixed typoFrederick Cheung2008-09-071-1/+1
|
* Merge branch 'mig_guide'Frederick Cheung2008-09-077-0/+506
|\ | | | | | | | | * mig_guide: Initial draft
| * Initial draftFrederick Cheung2008-09-077-0/+506
| |
* | Add 'Debugging Rails Applications' guide to guide HTML generation task.Hongli Lai (Phusion)2008-09-071-1/+2
|/
* Added View Helpers to the Rails debugging guide.miloops2008-09-051-0/+99
|
* Rails debugging guide updated.miloops2008-09-051-22/+23
|
* Debugging Guide updated after having some feedback on it, added breakpoints ↵miloops2008-09-051-8/+44
| | | | and catchpoints chapters.
* Dont use multipagePratik Naik2008-09-051-2/+1
|
* Updates on Debugging Rails guide.miloops2008-09-051-37/+51
|
* Debugging Rails Applications guide updated.miloops2008-09-051-17/+155
|
* Add HTML generation task for the routing guide.Hongli Lai (Phusion)2008-09-051-5/+17
|
* Merge branch 'master' of git@github.com:lifo/docrailsHongli Lai (Phusion)2008-09-052-15/+291
|\
| * Edits to the "Routing from the Outside In" guide.Mike Gunderloy2008-09-051-15/+71
| | | | | | | | Cleaned up a few parts, reworded coverage of classic vs. RESTful routing, added coverage of routing assertions.
| * More work on Rails debugging guide.miloops2008-09-041-14/+50
| |
| * Added prompt, context and references to debugging Rails guide.miloops2008-09-041-0/+131
| |
| * Initial commit of the Rails debugging guide.miloops2008-09-041-0/+53
| |
* | Merge branch 'master' of git@github.com:lifo/docrailsHongli Lai (Phusion)2008-09-0421-178/+920
|\|
| * Merge commit 'mainstream/master'Pratik Naik2008-09-034-6/+7
| |\ | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/resources.rb
| | * 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
| | |
| * | Added "Routing from the Outside In" guide.Mike Gunderloy2008-08-311-0/+763
| | |
| * | Merge commit 'mainstream/master'Pratik Naik2008-08-2819-173/+151
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/callbacks.rb activeresource/lib/active_resource/base.rb
| | * 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
| | |
| | * Generate belongs_to association when generating a modelTarmo Tänav2008-08-233-1/+13
| | |
| | * Generate belongs_to associations automatically for 'references' types [#640 ↵Tarmo Tänav2008-08-232-0/+11
| | | | | | | | | | | | state:resolved]
| | * Always require activesupport, even if its constant already existsTarmo Tänav2008-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed because the existance of the ActiveSupport constant by itself does not guarantee that the whole library has been loaded. Also load the StringInquirer in the Rails#env method as the it might be called inside the initializer block before activesupport itself has been loaded.
| | * Fixed that rake doc:plugins to uses UTF-8. [#573 state:resolved]Chris Lloyd2008-08-221-0/+1
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | * Initializer to sort files before eager loading. [#859 state:resolved]Tom Ward2008-08-224-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | Changed Rails::Initializer to sort files before eager loading them. This ensures that any files in a parent directory will be loaded before files in a subdirectory of the 'same' name. i.e. zoo.rb will be loaded before zoo/reptile_house.rb Signed-off-by: Pratik Naik <pratiknaik@gmail.com>