aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* Use class << selfDavid Heinemeier Hansson2008-04-011-18/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* gems should be specified before pluginsDavid Heinemeier Hansson2008-04-011-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added examples for config.gemDavid Heinemeier Hansson2008-04-011-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improving railties test coverage. Closes #11496 [miloops]Jeremy Kemper2008-04-015-3/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: use create_ and drop_database for rake tasks. Closes #9045 [ez, ↵Jeremy Kemper2008-04-011-18/+26
| | | | | | nicksieger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Rails.logger, Rails.root, Rails.env and Rails.cache shortcuts for ↵Pratik Naik2008-04-012-0/+18
| | | | | | RAILS_* constants git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update generator tests. Closes #11487 [thechrisoshow]Jeremy Kemper2008-04-016-159/+163
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed charset/collation for rake db:create (closes #11331) [matt]David Heinemeier Hansson2008-03-311-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow files in plugins to be reloaded like the rest of the application. [rick]Rick Olson2008-03-313-1/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rename config/initializers/new_in_rails_3.rb to new_rails_defaults.rbJeremy Kemper2008-03-312-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Partial updates include only unsaved attributes. Off by default; set ↵Jeremy Kemper2008-03-312-1/+7
| | | | | | YourClass.partial_updates = true to enable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle exit, reload, and restart immediately if not processing a request. ↵Jeremy Kemper2008-03-301-16/+32
| | | | | | References #11471 [guillaume, Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* whoops, typo in the CHANGELOGRick Olson2008-03-302-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Small tweak to allow plugins to specify gem dependencies. [rick]Rick Olson2008-03-303-1/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config.gem for specifying which gems are required by the application, ↵Rick Olson2008-03-305-2/+231
| | | | | | as well as rake tasks for installing and freezing gems. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default .htaccess configuration as there are so many good ↵David Heinemeier Hansson2008-03-294-22/+57
| | | | | | deployment options now (kept it as an example in README) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated tests rely on test dir in load path rather than File.dirname ↵Jeremy Kemper2008-03-297-7/+7
| | | | | | shenanigans. ruby -Itest test/unit/foo_test.rb to run a test by hand (that's a capital I as in Island). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update welcome screen with revised instructions and removal of dead linksDavid Heinemeier Hansson2008-03-292-9/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Space at the bottom feels betterDavid Heinemeier Hansson2008-03-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed outdated scaffold from templateDavid Heinemeier Hansson2008-03-291-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix new migration versionsDavid Heinemeier Hansson2008-03-281-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Switched to UTC-timebased version numbers for migrations and the schema. ↵David Heinemeier Hansson2008-03-282-14/+16
| | | | | | This will as good as eliminate the problem of multiple migrations getting the same version assigned in different branches. Also added rake db:migrate:up/down to apply individual migrations that may need to be run when you merge branches (closes #11458) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that no gems installed would cause error (closes #11459) [thechrisoshow]David Heinemeier Hansson2008-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* config.time_zone and TimeWithZone#marshal_load accept tzinfo/Olson identifiersGeoff Buesing2008-03-282-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails::Initializer#initialize_time_zone raises an error if value assigned to ↵Geoff Buesing2008-03-283-4/+13
| | | | | | config.time_zone is not recognized. Rake time zone tasks only require ActiveSupport instead of entire environment git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop adding the antiquated test/mocks/* directories and only add them to the ↵David Heinemeier Hansson2008-03-273-3/+6
| | | | | | path if theyre still there for legacy reasons [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that gems can now be plugins if they include rails/init.rb (closes ↵David Heinemeier Hansson2008-03-275-2/+67
| | | | | | #11444) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing test dataDavid Heinemeier Hansson2008-03-274-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Plugin#about method to programmatically access the about.yml in a ↵David Heinemeier Hansson2008-03-274-17/+52
| | | | | | plugin (closes #10979) [lazyatom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New applications should use UTC as the default time zoneDavid Heinemeier Hansson2008-03-262-11/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-03-262-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct grammar in config.time_zone description in environment.rbGeoff Buesing2008-03-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the more modern error_messages from the form object rather than ↵David Heinemeier Hansson2008-03-222-6/+6
| | | | | | error_messages_for git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config.time_zone = 'UTC' as a commented-out option in the default ↵Geoff Buesing2008-03-222-2/+6
| | | | | | environment.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adding rake tasks time:zones:all, time:zones:us and time:zones:local for ↵Geoff Buesing2008-03-222-0/+45
| | | | | | finding time zone names for config.time_zone option git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfixes (closes #11356, #11172, #10523)David Heinemeier Hansson2008-03-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for installing plugins hosted at git repositories (closes ↵David Heinemeier Hansson2008-03-172-1/+27
| | | | | | #11294) [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed dead styles (closes #11353) [boone]David Heinemeier Hansson2008-03-151-20/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/generate would not look for plugin generators in ↵David Heinemeier Hansson2008-03-137-6/+74
| | | | | | plugin_paths (closes #11000) [glv] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Applied the faster squish version (closes #11123) [jordi]David Heinemeier Hansson2008-03-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix database rake tasks to work with charset/collation and show proper error ↵Pratik Naik2008-03-102-3/+10
| | | | | | messages on failure. Closes #11301 [matt] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update URL in script/generate usage. Closes #11220 [neshmi]Pratik Naik2008-03-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Patch to add a -e (export) option to script/plugin install. Closes #10847 ↵Michael Koziarski2008-02-212-0/+5
| | | | | | [jon@blankpad.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sort the results to remove platform dependent test failuresMichael Koziarski2008-02-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update generated comments to reflect the fact that config.frameworks works ↵Michael Koziarski2008-02-171-2/+2
| | | | | | fine with gems now. Closes #11135 [fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clear active connections before trying to drop the database. Allows db:drop ↵Michael Koziarski2008-02-151-0/+1
| | | | | | to work with posgresql. Closes #10559 [jqr] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move SecretKeyGenerator comments to the correct place for rdoc. Closes ↵Michael Koziarski2008-02-091-7/+6
| | | | | | #10940 [FooBarWidget] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Time Zone support to ActiveRecord, and config.time_zone property for ↵Rick Olson2008-02-062-0/+18
| | | | | | specifying a default Time Zone. Closes #10982 [Geoff Buesing, rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8806 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ensure that the after_initialize hooks are run after the application ↵Rick Olson2008-02-031-2/+2
| | | | | | initializers have run git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reshuffle load order so that routes and observers are initialized after ↵Rick Olson2008-02-022-6/+8
| | | | | | plugins and app initializers. Closes #10980 [rick, fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de