aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that create table with :id => false and fixtures don't play nice ↵David Heinemeier Hansson2007-11-255-3/+28
| | | | | | together (closes #10154) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* No trailing whitespace in migration generation (closes #10235)David Heinemeier Hansson2007-11-251-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #10256)David Heinemeier Hansson2007-11-251-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that empty collections should be treated as empty arrays regardless of ↵David Heinemeier Hansson2007-11-253-13/+26
| | | | | | whitespace for Hash#from_xml (closes #10255) [adamj] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont mind the pkg dirDavid Heinemeier Hansson2007-11-250-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve error messages when providing a secret that is too short. Closes ↵Michael Koziarski2007-11-241-4/+5
| | | | | | #10238 [Henrik N] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Honor Ruby's default calendar reform setting when creating DateTime objects ↵Geoff Buesing2007-11-2411-8/+24
| | | | | | via ActiveRecord's Time -> DateTime overflow, Time#time_with_datetime_fallback, Time#to_datetime, Date#to_datetime and String#to_datetime. Closes #10201 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change Time and DateTime #end_of_month to return last second of month ↵Geoff Buesing2007-11-245-10/+10
| | | | | | instead of beginning of last day of month. Closes #10200 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document that the cookie store is the default session store. Mention the ↵Jeremy Kemper2007-11-222-8/+17
| | | | | | memcached store. Closes #10241 [Josh Susser, Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing sub template fixtures. References #10130 [java]Michael Koziarski2007-11-222-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tests and fix for extension extraction. References #10130 [tarmo]Michael Koziarski2007-11-222-2/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add example.log for binary escaping test. References #10176.Jeremy Kemper2007-11-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: correct binary escaping. References #8049, closes #10176 ↵Jeremy Kemper2007-11-222-29/+24
| | | | | | [jbasdf, tmacedo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that cookie sessions use a secret that is at least 30 chars in ↵Michael Koziarski2007-11-214-4/+40
| | | | | | length. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleanup documentation a bit and be more specificDavid Heinemeier Hansson2007-11-212-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleanup documentation a bit and be more specificDavid Heinemeier Hansson2007-11-211-12/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Emphasize the importance of a dictionary attack-proof secret for the cookie ↵David Heinemeier Hansson2007-11-211-1/+4
| | | | | | store git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ousted ActionWebService from Rails 2.0David Heinemeier Hansson2007-11-2179-8408/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dynamic finders on association collections respect association :limit. ↵Jeremy Kemper2007-11-216-3/+41
| | | | | | Closes #10227 [Jack Danger Canty] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor cookie_only option to survive multiple requests and add regression ↵Michael Koziarski2007-11-212-3/+95
| | | | | | tests. References #10048. [theflow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/plugin doesn't skip files beginning with http (i.e. the old ↵Michael Koziarski2007-11-211-1/+1
| | | | | | http_authentication plugin). Closes #7887 [choonkeat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Dynamic Finders on Association Collections Respect Association :order ↵Michael Koziarski2007-11-215-3/+86
| | | | | | [patrick.t.joyce, technoweenie]. Closes #10211 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mailer_class is a class method not an instance method. [josh] Closes #10041Michael Koziarski2007-11-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* validates_inclusion_of and validates_exclusion_of allow formatted :message ↵Jeremy Kemper2007-11-203-4/+30
| | | | | | strings. Closes #8132 [devrieda, Mike Naberezny] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in generator usage blurb. Closes #10217 [Mike Naberezny]Jeremy Kemper2007-11-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 'foxy' support for fixtures of polymorphic associations. Closes #10183 ↵Michael Koziarski2007-11-208-0/+49
| | | | | | [jbarnette, David Lowenfels] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that the routing optimisation code isn't used when additional ↵Michael Koziarski2007-11-202-6/+20
| | | | | | arguments are passed to the named route. Closes #10209 [bscofield, Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unnecessary route reload in integration tests, obsoleted by [7676]. ↵Michael Koziarski2007-11-191-1/+0
| | | | | | Closes #10094. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't cache net/http object so that ActiveResource is more thread-safe. ↵Rick Olson2007-11-192-9/+8
| | | | | | Closes #10142 [kou] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that partial rendering should look at the type of the first render to ↵David Heinemeier Hansson2007-11-184-2/+25
| | | | | | determine its own type if no other clues are available (like when using text.plain.erb as the extension in AM) (closes #10130) [java] Fixed that partials would be broken when using text.plain.erb as the extension #10130 [java] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #10155)David Heinemeier Hansson2007-11-181-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* memoize host with port and refactor the tests which depend on it changingMichael Koziarski2007-11-173-4/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unneeded code to disable optimisations. the defined?(request) stuff ↵Michael Koziarski2007-11-171-3/+0
| | | | | | takes care of this now. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use debug, not info as log_info will discard the information if info is used.Michael Koziarski2007-11-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clarify Array#in_groups_of implementation, don't dup unless needed, only ↵Jeremy Kemper2007-11-171-7/+20
| | | | | | require enumerator once. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RAILS_GEM_VERSION may be set to any valid gem version specifier. Closes #10057.Jeremy Kemper2007-11-173-4/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load config/preinitializer.rb, if present, before loading the environment. ↵Jeremy Kemper2007-11-173-2/+32
| | | | | | Closes #9943. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Table names aren't nested: replace / with _ to match the likely table name.Jeremy Kemper2007-11-161-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resource and scaffold generators pass on the full name to the dependent ↵Jeremy Kemper2007-11-162-2/+2
| | | | | | model, so nested resources give a corresponding nested model. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* attr_readonly behaves well with optimistic locking. Closes #10188.Jeremy Kemper2007-11-163-1/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove components mention from railties README. Closes #10182 [sjgman9]Jeremy Kemper2007-11-161-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the new TestCase subclasses in the scaffold and resource generators ↵Jeremy Kemper2007-11-162-22/+6
| | | | | | also. Closes #10174 [bscofield] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* MacOS X -> Mac OS X. Closes #10171 [henrik@nyh.se]Jeremy Kemper2007-11-162-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Leopard's native mysql_config. Closes #10167 [Robert Evans]Jeremy Kemper2007-11-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove warning about fixture loading order from test_helper since we disable ↵Jeremy Kemper2007-11-141-2/+0
| | | | | | foreign key checks now. [Mike Clark] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct MySQL install instructions for Leopard. Closes #10167 [mnaberez]Jeremy Kemper2007-11-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove stale warning from application generator usage message. Closes #10165 ↵Jeremy Kemper2007-11-141-7/+0
| | | | | | [bronson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use rexml for some tests rather than string include? checks to account for ↵Jeremy Kemper2007-11-141-14/+35
| | | | | | unordered attributes. Closes #10164 [Catfish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add MySQL install instructions for Leopard in particular. Closes #10167 ↵Jeremy Kemper2007-11-141-0/+3
| | | | | | [Robert Evans] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Base#to_xml supports the nil="true" attribute like Hash#to_xml. Closes #8268.Jeremy Kemper2007-11-144-9/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de