aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Dirty typecasts attribute values before comparison, if possible. Closes ↵Jeremy Kemper2008-03-292-63/+65
| | | | | | #11464 [Russell Norris, mroch] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Force json string encoding to ASCII-8BIT before unpacking for Ruby 1.9.Josh Peek2008-03-291-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Play nice with 1.9's DateTime#to_sJeremy Kemper2008-03-292-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure threads finish running for time zone thread safety test.Josh Peek2008-03-291-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default .htaccess configuration as there are so many good ↵David Heinemeier Hansson2008-03-295-23/+58
| | | | | | 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
* Fixed that validates_size_of :within works in associations (closes #11295, ↵David Heinemeier Hansson2008-03-293-7/+21
| | | | | | #10019) [cavalle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert spurious commit from [9126]Jeremy Kemper2008-03-291-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Track changes to unsaved attributesJeremy Kemper2008-03-294-0/+201
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix new migration versionsDavid Heinemeier Hansson2008-03-283-5/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid remote_ip spoofingJeremy Kemper2008-03-283-15/+53
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Inspect options hashes in RenderError message so it's actually readable. ↵Jeremy Kemper2008-03-281-2/+2
| | | | | | Closes #11435 [court3nay] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Switched to UTC-timebased version numbers for migrations and the schema. ↵David Heinemeier Hansson2008-03-287-91/+150
| | | | | | 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
* Add #clone. Closes #7352 [Ryan Daigle, thechrisoshow]Jeremy Kemper2008-03-282-0/+72
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix layouts in symlinked paths. Closes #9136 [court3nay, caio]Jeremy Kemper2008-03-285-6/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing :js template falls back to :html, so you don't have to explicitly ↵Jeremy Kemper2008-03-282-4/+37
| | | | | | specify template format everywhere, breaking old code git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix some mistaken dependencies among AR unit tests. Closes #11425 ↵Jeremy Kemper2008-03-282-3/+3
| | | | | | [thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing fileDavid Heinemeier Hansson2008-03-281-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update doc (closes #11402)David Heinemeier Hansson2008-03-281-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for regexp flags like ignoring case in the :requirements part ↵David Heinemeier Hansson2008-03-286-7/+190
| | | | | | of routes declarations (closes #11421) [NeilW] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that to_param should be used and honored instead of hardcoding the id ↵David Heinemeier Hansson2008-03-283-32/+112
| | | | | | (closes #11406) [gspiers] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that ActionController::Base#read_multipart would fail if boundary was ↵David Heinemeier Hansson2008-03-283-2/+22
| | | | | | exactly 10240 bytes (closes #10886) [ariejan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9113 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
* Fixed HTML::Tokenizer (used in sanitize helper) didnt handle unclosed CDATA ↵David Heinemeier Hansson2008-03-283-1/+10
| | | | | | tags (closes #10071) [esad, packagethief] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that has_many :through would ignore the hash conditions (closes ↵David Heinemeier Hansson2008-03-284-2/+26
| | | | | | #11447) [miloops] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure ActiveRecord tests can run individually. Closes #11425 ↵Pratik Naik2008-03-285-4/+19
| | | | | | [thechrisoshow, h-lame] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* config.time_zone and TimeWithZone#marshal_load accept tzinfo/Olson identifiersGeoff Buesing2008-03-285-2/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps ↵Geoff Buesing2008-03-285-4/+55
| | | | | | result in TimeZone instance git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* TimeWithZone time conversions don't need to be wrapped in TimeOrDateTime, ↵Geoff Buesing2008-03-283-12/+16
| | | | | | because TZInfo does this internally git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* TimeWithZone#usec returns 0 instead of error when DateTime is wrappedGeoff Buesing2008-03-283-1/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9105 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
* Fixed that a return-path header would be ignored (closes #7572) [joost]David Heinemeier Hansson2008-03-272-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9099 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
* Fix issue where the :uniq option of a has_many :through association is ↵Rick Olson2008-03-263-5/+13
| | | | | | ignored when find(:all) is called. Closes #9407 [cavalle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix duplicate table alias error when including an association with a ↵Rick Olson2008-03-263-26/+35
| | | | | | has_many :through association on the same join table. Closes #7310 [cavalle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More efficient association preloading code that compacts a through_records ↵Rick Olson2008-03-262-8/+13
| | | | | | array in a central location. Closes #11427 [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-03-2645-173/+468
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Typo fix in documentation from [9090] References #11422Michael Koziarski2008-03-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Standardise the implementation of the extensions to BigDecimal. Closes ↵Michael Koziarski2008-03-262-23/+39
| | | | | | #10608 [mikong] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that ActiveRecord#Base.find_or_create/initialize would not honor ↵David Heinemeier Hansson2008-03-253-4/+46
| | | | | | attr_protected/accessible when used with a hash (closes #11422) [miloops] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Whitespace + formattingJeremy Kemper2008-03-252-16/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FormHelper#radio_button would produce invalid ids (closes #11298) ↵David Heinemeier Hansson2008-03-243-2/+7
| | | | | | [harlancrystal] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de