David Heinemeier Hansson
744058b699
Retract the session fix until 0.13.1 to preserve the truthfulness of the book
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 08:58:34 +00:00
David Heinemeier Hansson
2186ed83dd
Make new AJAX helpers aware of more of their options #1622 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 08:32:04 +00:00
David Heinemeier Hansson
93ec99c246
Partly tuned docs for release (AP)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 08:27:11 +00:00
David Heinemeier Hansson
72104faa58
Tuned documentation for release (AWS)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 08:25:04 +00:00
David Heinemeier Hansson
2789b5d2ce
Tuned documentation for release (AM)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 08:22:56 +00:00
David Heinemeier Hansson
8dbaae6012
Fixed that a SessionRestoreError was thrown if a model object was placed in the session that wasn't available to all controllers
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 07:06:02 +00:00
David Heinemeier Hansson
ac380810ec
Pulled the gateway.cgi until we can make it work properly out the gates
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 06:12:43 +00:00
David Heinemeier Hansson
38e78c6260
Fixed documentation snafu with send_file -- the option is :stream, not :streaming #1621 [evl]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 05:23:42 +00:00
David Heinemeier Hansson
6f26511076
Added a USAGE document to the migration generator
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 05:19:56 +00:00
David Heinemeier Hansson
707106f347
Added fixed gateway script [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 04:29:18 +00:00
David Heinemeier Hansson
3170295136
Added warning about setting the test database to the same as production or development #1619 [court3nay]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 04:20:08 +00:00
Jeremy Kemper
c9901176be
benchmark helper takes an optional log level, defaults to :info. Chose symbols log levels rather than Logger::FOO constants for simplicity. Added benchmark helper test suite.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 19:33:25 +00:00
Jeremy Kemper
063956b93c
r2879@asus: jeremy | 2005-07-05 16:15:16 -0700
...
Rollback changesets for Ticket #1229 .
r2880@asus: jeremy | 2005-07-05 16:17:08 -0700
Ticket #1229 does not affect Ticket #1614 . Reinstating the changesets.
r2881@asus: jeremy | 2005-07-05 16:24:04 -0700
@test_unchanged in deprecated render test :partials_list action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 18:31:51 +00:00
Jeremy Kemper
8a2fec8d31
r2874@asus: jeremy | 2005-07-05 16:13:39 -0700
...
Unit test for Ticket #1614 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 18:21:26 +00:00
David Heinemeier Hansson
607ce7f0a0
Move URI to the end for greater overview
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 18:14:19 +00:00
David Heinemeier Hansson
84afbbbc03
Fix syntax error
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 18:02:02 +00:00
David Heinemeier Hansson
977b4be208
Changed logging of SQL statements to use the DEBUG level instead of INFO. Added logging of the request URI in the benchmark statement (makes it easy to grep for slow actions). Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 17:23:41 +00:00
David Heinemeier Hansson
4fe0248f57
Fixed routing regression on index exception
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 15:31:51 +00:00
Jamis Buck
3b1d271e02
Routing fix
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 15:06:09 +00:00
Jeremy Kemper
870cca6829
r2866@asus: jeremy | 2005-07-05 13:23:10 -0700
...
Silence ARStore session activity in the logs.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 15:04:44 +00:00
Jeremy Kemper
1e6603e6e7
r2850@asus: jeremy | 2005-07-05 13:08:32 -0700
...
Don't be strict about the order in which AR store methods are called. Allow e.g. session close followed by session close.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 14:50:07 +00:00
Jamis Buck
56c3d72aa7
Fix regression from [1631] that caused an attribute to be set to nil if it was assigned false
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1709 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 12:38:06 +00:00
David Heinemeier Hansson
56fa64e995
Fixed transparent background for Safari with auto completer
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 10:31:28 +00:00
David Heinemeier Hansson
5eee938643
Added javascript_include_tag :defaults shortcut that'll include all the default javascripts included with Action Pack (prototype, effects, controls, dragdrop)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 10:23:51 +00:00
David Heinemeier Hansson
e08025db6f
Backed out of #1694
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 09:46:37 +00:00
David Heinemeier Hansson
74961dbbe9
Backed out of #1694 as it broke requests that hit the cache with wrong argument type nil (expected Module) on WEBrick
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 09:45:30 +00:00
David Heinemeier Hansson
26ccf4cb53
Fixed recognize bug introduced with #1694
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 09:38:20 +00:00
David Heinemeier Hansson
0bef168238
Made default changes work in both postgresql and mysql #1612 [Tobias Luetke]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 09:16:23 +00:00
David Heinemeier Hansson
6eee49aa2e
Backed out of create/destroy_db -- didnt yet work right in mysql and breaks AWD
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 09:15:21 +00:00
David Heinemeier Hansson
91afb9298b
Added create_db and destroy_db tasks in the Rakefile to make it easier to load the dumped structure into the database #1587 [Sam Stephenson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:58:13 +00:00
David Heinemeier Hansson
25c33a99f9
Fixed Prototype bug #1602
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:55:37 +00:00
David Heinemeier Hansson
f4c579e92e
More inflector fixes #1608
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:44:46 +00:00
David Heinemeier Hansson
0e92f36d75
Added callbacks on push_with_attributes #1594 [Florian Weber]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:20:24 +00:00
David Heinemeier Hansson
f1880cac58
Sugared up migrations with even more bling #1609 [Tobias Luekte]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:19:20 +00:00
Jeremy Kemper
2418a68aa2
Simplify aaa_create_tables_test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 05:08:24 +00:00
Jeremy Kemper
c1efa54195
Include all tables in mysql, sqlite, and postgresql drop sql.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1695 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 05:07:49 +00:00
Jeremy Kemper
9933ec82b2
r2840@asus: jeremy | 2005-07-05 00:42:27 -0700
...
Ticket 1233 - Cache recognized routes
r2842@asus: jeremy | 2005-07-05 00:53:16 -0700
update changelog
r2843@asus: jeremy | 2005-07-05 00:54:11 -0700
cache recognized routes. clear cache with clear_recognized_routes_cache\!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 02:46:49 +00:00
Jeremy Kemper
d80d9a52bd
r2837@asus: jeremy | 2005-07-05 00:34:31 -0700
...
Don't restrict sessid compat. check to a single run. Reset cached column info before checking in case it's stale (may happen if you change table_name). Make the test a private class method.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 02:29:42 +00:00
Jeremy Kemper
ed12b0cac0
r2836@asus: jeremy | 2005-07-05 00:33:12 -0700
...
Test sessid backward compatibility. DRY up the test classes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 02:29:37 +00:00
Jeremy Kemper
47b1aa8025
r2830@asus: jeremy | 2005-07-04 23:35:07 -0700
...
update changelog
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 01:31:08 +00:00
Jeremy Kemper
fa158ff07a
r2829@asus: jeremy | 2005-07-04 23:31:55 -0700
...
cache protected_instance_variables
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 01:31:03 +00:00
Jeremy Kemper
d2b9e39c85
r2828@asus: jeremy | 2005-07-04 22:02:44 -0700
...
cache controller_name and controller_path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 01:30:49 +00:00
Jeremy Kemper
c6f819edb7
r2827@asus: jeremy | 2005-07-04 21:30:06 -0700
...
precompute action_name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 01:30:44 +00:00
Jeremy Kemper
ac412ef1c7
r2822@asus: jeremy | 2005-07-04 21:14:30 -0700
...
silence warnings re. class redefinitions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 23:09:58 +00:00
Jeremy Kemper
79455b6d45
r2821@asus: jeremy | 2005-07-04 21:14:16 -0700
...
reuse path_to_ar
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 23:09:54 +00:00
Jeremy Kemper
5ab1df9e37
r2820@asus: jeremy | 2005-07-04 21:13:57 -0700
...
Bring in-mem SQLite goodness to active_record_assertions_test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 23:09:49 +00:00
Jeremy Kemper
7bcaf2b689
r2817@asus: jeremy | 2005-07-04 20:49:12 -0700
...
active_record_store_test falls back to SQLite2 if 3 is unavailable
r2818@asus: jeremy | 2005-07-04 20:52:25 -0700
update changelog
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 22:48:01 +00:00
Jeremy Kemper
ddb57d8ab8
r2815@asus: jeremy | 2005-07-04 19:49:35 -0700
...
Correct SqlBypass test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 21:46:01 +00:00
Jeremy Kemper
9ad1f49985
r2810@asus: jeremy | 2005-07-04 19:29:54 -0700
...
correct marshaling and fingerprinting logic
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 21:26:54 +00:00
Jeremy Kemper
509bf53889
r2809@asus: jeremy | 2005-07-04 19:29:19 -0700
...
give CGI::Session options as strings, not symbols
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 21:26:50 +00:00