Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add HTML generation task for the routing guide. | Hongli Lai (Phusion) | 2008-09-05 | 1 | -5/+17 |
| | |||||
* | Merge branch 'master' of git@github.com:lifo/docrails | Hongli Lai (Phusion) | 2008-09-05 | 2 | -15/+291 |
|\ | |||||
| * | Edits to the "Routing from the Outside In" guide. | Mike Gunderloy | 2008-09-05 | 1 | -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. | miloops | 2008-09-04 | 1 | -14/+50 |
| | | |||||
| * | Added prompt, context and references to debugging Rails guide. | miloops | 2008-09-04 | 1 | -0/+131 |
| | | |||||
| * | Initial commit of the Rails debugging guide. | miloops | 2008-09-04 | 1 | -0/+53 |
| | | |||||
* | | Merge branch 'master' of git@github.com:lifo/docrails | Hongli Lai (Phusion) | 2008-09-04 | 21 | -178/+920 |
|\| | |||||
| * | Merge commit 'mainstream/master' | Pratik Naik | 2008-09-03 | 4 | -6/+7 |
| |\ | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/resources.rb | ||||
| | * | Inline help text was incorrectly telling user to uncomment line to use ↵ | Nigel Ramsay | 2008-09-03 | 1 | -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 Kemper | 2008-09-02 | 2 | -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 Kemper | 2008-08-31 | 1 | -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 parameter | Nathaniel Bibler | 2008-08-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | [#939 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| | * | | Remove call to active_record.allow_concurrency since it's deprecated | Nick Sieger | 2008-08-29 | 1 | -1/+0 |
| | | | | |||||
| | * | | Revert "Change all databases.rake adapter 'when' statements to use regexes." | Nick Sieger | 2008-08-29 | 1 | -18/+18 |
| | | | | | | | | | | | | | | | | This reverts commit 3d2512d38d2e28b3ea669139f7c7b0307522aa72. | ||||
| | * | | Change all databases.rake adapter 'when' statements to use regexes. | Nick | 2008-08-29 | 1 | -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 tests | Michael Koziarski | 2008-08-28 | 1 | -1/+3 |
| | | | |||||
| * | | Added "Routing from the Outside In" guide. | Mike Gunderloy | 2008-08-31 | 1 | -0/+763 |
| | | | |||||
| * | | Merge commit 'mainstream/master' | Pratik Naik | 2008-08-28 | 19 | -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 generator | Michael Koziarski | 2008-08-27 | 1 | -0/+1 |
| | | | |||||
| | * | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom. | Hongli Lai (Phusion | 2008-08-27 | 4 | -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 (Phusion | 2008-08-26 | 2 | -3/+10 |
| | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
| | * | When an unexpected exception is caught, tell the administrator to read the ↵ | Hongli Lai (Phusion | 2008-08-26 | 2 | -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 dbconsole | Michael Koziarski | 2008-08-24 | 1 | -1/+1 |
| | | | |||||
| | * | Generate belongs_to association when generating a model | Tarmo Tänav | 2008-08-23 | 3 | -1/+13 |
| | | | |||||
| | * | Generate belongs_to associations automatically for 'references' types [#640 ↵ | Tarmo Tänav | 2008-08-23 | 2 | -0/+11 |
| | | | | | | | | | | | | state:resolved] | ||||
| | * | Always require activesupport, even if its constant already exists | Tarmo Tänav | 2008-08-23 | 1 | -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 Lloyd | 2008-08-22 | 1 | -0/+1 |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| | * | Initializer to sort files before eager loading. [#859 state:resolved] | Tom Ward | 2008-08-22 | 4 | -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> | ||||
| | * | Touch file with git revision when freezing edge | Joshua Peek | 2008-08-19 | 1 | -0/+5 |
| | | | |||||
| | * | Removed config.ru template from app generator | Joshua Peek | 2008-08-19 | 1 | -1/+0 |
| | | | |||||
| | * | Added rack logger middleware that tails the environment log | Joshua Peek | 2008-08-19 | 2 | -0/+29 |
| | | | |||||
| | * | Consistently use the framework's configured logger and avoid reverting to ↵ | Joshua Peek | 2008-08-18 | 2 | -8/+11 |
| | | | | | | | | | | | | RAILS_DEFAULT_LOGGER unless necessary. | ||||
* | | | Merge branch 'master' of git@github.com:lifo/docrails | Hongli Lai (Phusion) | 2008-08-27 | 7 | -13/+47 |
|\| | | |||||
| * | | Merge commit 'mainstream/master' | Pratik Naik | 2008-08-14 | 7 | -13/+47 |
| |\| | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/request.rb actionpack/lib/action_controller/resources.rb | ||||
| | * | rake db:fixtures:load and db:fixtures:identify now accept a FIXTURES_PATH ↵ | Matthew Rudy Jacobs | 2008-08-09 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | option eg. "rake db:fixtures:load FIXTURES_PATH=spec/fixtures" Signed-off-by: Michael Koziarski <michael@koziarski.com> [#792 state:committed] | ||||
| | * | Added file name information for errors and exceptions in script/runnner | Daniel Rodríguez Troitiño | 2008-08-08 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
| | * | Make sure ActionView is loaded inorder to build view paths | Joshua Peek | 2008-08-06 | 1 | -6/+10 |
| | | | |||||
| | * | MemoryStore is the only "unsafe" store. Make it threadsafe by default. | Joshua Peek | 2008-08-06 | 1 | -1/+0 |
| | | | |||||
| | * | Added config.threadsafe! to toggle allow concurrency settings and disable ↵ | Joshua Peek | 2008-08-04 | 3 | -0/+17 |
| | | | | | | | | | | | | the dependency loader | ||||
| | * | Make requiring gems optional. | Ben Sandofsky | 2008-08-04 | 3 | -2/+15 |
| | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#743 state:resolved] | ||||
* | | | Merge branch 'master' of git@github.com:lifo/docrails | Hongli Lai (Phusion) | 2008-08-08 | 50 | -275/+1287 |
|\| | | |||||
| * | | Corrected the command-line help text for script/dbconsole. | Dave Rothlisberger | 2008-08-04 | 1 | -1/+1 |
| | | | |||||
| * | | Added a better explanation for config.active_record.observers when using it ↵ | Ryan Bigg | 2008-08-04 | 1 | -1/+2 |
| |/ | | | | | | | | | | | in tandem with script/generate observer. Thanks to halogenandtoast from #rubyonrails for pointing this out. | ||||
| * | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-07-31 | 23 | -10/+14 |
| |\ | |||||
| | * | Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby" | Tarmo Tänav | 2008-07-31 | 5 | -9/+9 |
| | | | | | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| | * | Fix file permissions | Tarmo Tänav | 2008-07-31 | 18 | -0/+0 |
| | | | | | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| | * | Turn cache_classes on by default [#645 state:resolved] | Joshua Peek | 2008-07-31 | 2 | -1/+3 |
| | | | |||||
| | * | Ensure dbconsole includes the -p parameter to mysql as intended | Michael Koziarski | 2008-07-31 | 1 | -0/+2 |
| | | | |||||
| * | | load_application_classes requires files relative to the load path and ↵ | Jeremy Kemper | 2008-07-31 | 1 | -2/+3 |
| |/ | | | | | | | without .rb extension, including .rb files in subdirectories | ||||
| * | Initializer requires ERB explicitly instead of assuming Action Pack loaded ↵ | José Valim | 2008-07-30 | 1 | -0/+1 |
| | | | | | | | | it. [#722 state:resolved] |