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
Jeremy Kemper
50619549ee
r2808@asus: jeremy | 2005-07-04 19:08:48 -0700
...
test at dbman and at CGI::Session level. need to merge the test classes since they're the same tests for different backends..
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 21:26:45 +00:00
Jeremy Kemper
fd901df35d
r2807@asus: jeremy | 2005-07-04 18:15:18 -0700
...
Fingerprint the marshaled data.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 21:26:41 +00:00
David Heinemeier Hansson
1a7377a984
Made gateway.cgi work with a ruby called anything
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:49:40 +00:00
David Heinemeier Hansson
128e352614
Fixed that hashes was not working properly when passed by GET to lighttpd #849 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:21:48 +00:00
David Heinemeier Hansson
9e4f5f3397
Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:16:28 +00:00
David Heinemeier Hansson
00739dee17
Fixed conflict with Glue gem #1606 [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:15:40 +00:00
David Heinemeier Hansson
6e319ccce2
Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:06:50 +00:00
David Heinemeier Hansson
5dedf62dda
Documented the migration support in railties
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 18:53:28 +00:00
David Heinemeier Hansson
4160b518a8
Added new Migrations framework for describing schema transformations in a way that can be easily applied across multiple databases #1604 [Tobias Luetke]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 18:51:02 +00:00
Jeremy Kemper
452442dde8
r2790@asus: jeremy | 2005-07-04 16:30:58 -0700
...
smart active record session class. session class is pluggable; a basic SqlBypass class is provided. set CGI::Session::ActiveRecordStore.session_class = SqlBypass and set SqlBypass.connection = SomeARConnection. Further tests pending.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 18:30:27 +00:00
Jeremy Kemper
e7b142aef7
r2789@asus: jeremy | 2005-07-04 16:17:35 -0700
...
require active_record_store only if ActiveRecord is already defined. define DEFAULT_SESSION_OPTIONS only if it is undefined.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 18:30:22 +00:00
Jeremy Kemper
5900d4ff75
r2788@asus: jeremy | 2005-07-04 16:16:20 -0700
...
Don't unnecessarily pollute $:. Use SQLite3 instead of SQLite by default.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 18:30:17 +00:00
David Heinemeier Hansson
ab416b4dde
Make postgres8 ar tests work #1601 [Tobias Luetke]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 17:16:18 +00:00
Jamis Buck
e85369ed7a
Added unit test to confirm that #1393 is fixed in HEAD
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 16:21:11 +00:00
Jamis Buck
06052cb34c
Avoid adding nil values to mail headers #1392
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 16:11:22 +00:00
Jamis Buck
6e7e552b03
Fix broken capture test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 15:36:22 +00:00
Jamis Buck
fcdcd9b9fa
Hashes sent via multipart post should be converted to strings #1032 [me@julik.nl]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 15:31:37 +00:00
Jamis Buck
cf9c991d4c
Fix test broken by [1648]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 15:20:25 +00:00
David Heinemeier Hansson
f5db702901
More inflector fixes #1599 [foamdino@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 15:15:13 +00:00
Jamis Buck
930f33657c
Updated html-scanner so that assert_tag(:tag => "p", :content => "foo") behaves as expected
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 15:05:40 +00:00
David Heinemeier Hansson
117ee110d7
Improved the whiny nil #1600 [Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 09:54:30 +00:00