aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added optional rake doc:app TITLE environment parameterNathaniel Bibler2008-08-291-2/+2
| | | | | | [#939 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Formally deprecate the old secret key generatorMichael Koziarski2008-08-271-0/+1
|
* Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-273-153/+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]
* 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-232-1/+5
|
* Generate belongs_to associations automatically for 'references' types [#640 ↵Tarmo Tänav2008-08-231-0/+3
| | | | 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-221-1/+1
| | | | | | | | 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 edgeJoshua Peek2008-08-191-0/+5
|
* Removed config.ru template from app generatorJoshua Peek2008-08-191-1/+0
|
* Added rack logger middleware that tails the environment logJoshua Peek2008-08-192-0/+29
|
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-182-8/+11
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* rake db:fixtures:load and db:fixtures:identify now accept a FIXTURES_PATH ↵Matthew Rudy Jacobs2008-08-091-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/runnnerDaniel Rodríguez Troitiño2008-08-081-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Make sure ActionView is loaded inorder to build view pathsJoshua Peek2008-08-061-6/+10
|
* MemoryStore is the only "unsafe" store. Make it threadsafe by default.Joshua Peek2008-08-061-1/+0
|
* Added config.threadsafe! to toggle allow concurrency settings and disable ↵Joshua Peek2008-08-041-0/+12
| | | | the dependency loader
* Make requiring gems optional.Ben Sandofsky2008-08-042-2/+6
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#743 state:resolved]
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-315-5/+7
|\
| * Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"Tarmo Tänav2008-07-312-4/+4
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix file permissionsTarmo Tänav2008-07-313-0/+0
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Turn cache_classes on by default [#645 state:resolved]Joshua Peek2008-07-311-1/+1
| |
| * Ensure dbconsole includes the -p parameter to mysql as intendedMichael Koziarski2008-07-311-0/+2
| |
* | load_application_classes requires files relative to the load path and ↵Jeremy Kemper2008-07-311-2/+3
|/ | | | without .rb extension, including .rb files in subdirectories
* Initializer requires ERB explicitly instead of assuming Action Pack loaded ↵José Valim2008-07-301-0/+1
| | | | it. [#722 state:resolved]
* Initializer skips prepare_dispatcher if Action Controller isn't in use. ↵José Valim2008-07-301-0/+1
| | | | [#721 state:resolved]
* Remove incomplete non-blocking logger functionalityMichael Koziarski2008-07-291-1/+0
|
* Check for ActionMailer and ActionController before attempting to eager load ↵Sam Granieri2008-07-241-2/+2
| | | | | | their view paths Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added config.dependency_loading to enable or disable the dependency loader ↵Joshua Peek2008-07-241-3/+24
| | | | after initialization
* Load view path cache after plugins and gems.Joshua Peek2008-07-231-3/+10
|
* Make script/plugin work with svn+ssh urls. [#662 state:resolved]Miles Georgi2008-07-221-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added configurable eager load paths. Defaults to app/models, ↵Joshua Peek2008-07-211-4/+21
| | | | app/controllers, and app/helpers
* Preload application classes. Uses same strategy as phusion passenger.Joshua Peek2008-07-211-0/+11
|
* Prefer Mongrel over Thin [#658 state:resolved]Joshua Peek2008-07-191-3/+3
|
* Set config.active_record.timestamped_migrations = false to have migrations ↵Nik Wakelin2008-07-171-1/+16
| | | | | | with numeric prefix instead of UTC timestamp. [#446 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge with docrails.Pratik Naik2008-07-166-18/+21
|
* Add config.ru to rails app generatorPratik Naik2008-07-161-0/+1
|
* ActionMailer and ActionView can share the same view path cacheJoshua Peek2008-07-151-2/+4
|
* Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-152-1/+1
| | | | instead
* Give more info on missing gems and abort instead of printing a warning. App ↵Jeremy Kemper2008-07-151-5/+10
| | | | can begin in incomplete state otherwise.
* Move performance test helper settings to railtiesPratik Naik2008-07-151-0/+6
|
* Added db:charset support to PostgreSQL. [#556 state:resolved]Sebastian A. Espindola2008-07-141-0/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make script/plugin install <plugin> -r <revision> option work with git based ↵Tim Pope2008-07-141-15/+32
| | | | | | plugins. [#257 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Enable loading fixtures from arbitrary locations. [#586 state:resolved]Jacek Becela2008-07-141-4/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use full path in database tasks so commands will work outside of Rails root ↵Tapajós2008-07-131-10/+10
| | | | | | [#612 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor template preloading. New abstractions include Renderable mixins and ↵Joshua Peek2008-07-121-1/+1
| | | | a refactored Template class.
* Ensure script/generate finds generators from symlinked plugins. [#449 ↵Daniel Guettler2008-07-121-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use require_dependency 'application' not require in the console bootstraps ↵Michael Koziarski2008-07-111-1/+1
| | | | to avoid requiring application.rb twice
* Revert "Fixed generator collisions for nested controller modules."Joshua Peek2008-07-111-16/+9
| | | | This reverts commit 2d372d704987e05712ccd937e78d8dbd41242efe.