Jeremy Kemper
|
849038ee51
|
Recognize and raise an exception on 405 Method Not Allowed responses. Closes #7692.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 20:57:08 +00:00 |
|
Marcel Molina
|
404a357013
|
Fix syntax error in code example for routing documentation. #8377. [norbert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 20:29:05 +00:00 |
|
Jeremy Kemper
|
dcaa074abf
|
Routing: respond with 405 Method Not Allowed status when the route path matches but the HTTP method does not. Closes #6953.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 20:07:34 +00:00 |
|
Marcel Molina
|
42ebf559cc
|
Add support for assert_select_rjs with :show and :hide. #7780 [dchelimsky]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 17:29:23 +00:00 |
|
Marcel Molina
|
dc4d23f2d7
|
Make assert_select's failure messages clearer about what failed. #7779 [dchelimsky]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 17:25:19 +00:00 |
|
Jeremy Kemper
|
33e96f3cb3
|
Oracle binary fixtures; pull fixture insertion into the adapters. Closes #7987.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 06:26:50 +00:00 |
|
Jeremy Kemper
|
652fe645f6
|
Array#to_xml yields the builder just like Hash and ActiveRecord::Base. Closes #8472.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 06:20:07 +00:00 |
|
Jeremy Kemper
|
40860e9852
|
Missed svn add from [6856]. References #8174.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 03:18:57 +00:00 |
|
Jeremy Kemper
|
672941decb
|
Introduce a default respond_to block for custom types. Closes #8174.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6856 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 03:11:34 +00:00 |
|
Jeremy Kemper
|
d0d5a1fe23
|
Announce migration versions as they're performed.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 02:36:55 +00:00 |
|
Jeremy Kemper
|
66bde4ca52
|
DateTime uses Time formats. Closes #8476.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 01:07:25 +00:00 |
|
Jeremy Kemper
|
26f88892a9
|
SQLite: db:create and drop
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:39:18 +00:00 |
|
Jeremy Kemper
|
2be3a33f32
|
find gracefully copes with blank :conditions. Closes #7599.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:35:49 +00:00 |
|
Jeremy Kemper
|
9dac6b759f
|
auto_complete_field takes a :method option so you can GET or POST. Closes #8120.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:32:52 +00:00 |
|
Jeremy Kemper
|
64d655628c
|
validates_numericality_of takes :greater_than, :greater_than_or_equal_to, :equal_to, :less_than, :less_than_or_equal_to, :odd, and :even options. Closes #3952.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:30:14 +00:00 |
|
Jeremy Kemper
|
1f03c5111d
|
Add db:create, drop, reset, charset, and collation tasks. Closes #8448.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6849 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:24:58 +00:00 |
|
Jeremy Kemper
|
ed2a84f99b
|
MySQL: create_database takes :charset and :collation options. Charset defaults to utf8. References #8448.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 00:20:37 +00:00 |
|
Jeremy Kemper
|
79212def83
|
Test that #to_xml takes a block. Closes #8471. [seth]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 23:04:45 +00:00 |
|
Jeremy Kemper
|
6149c39d14
|
Typo in [6845]. References #8437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 22:05:57 +00:00 |
|
Jeremy Kemper
|
109926c5a3
|
Find with a list of ids supports limit/offset. Closes #8437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:56:21 +00:00 |
|
Jeremy Kemper
|
ad4f1fd630
|
Date, Time, and DateTime support formatting blocks in addition to strftime strings. Introduce :long_ordinal format, e.g. 'February 21st, 2005'. Closes #8191.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:43:19 +00:00 |
|
Jeremy Kemper
|
c4a31560bd
|
Optimistic locking: revert the lock version when an update fails. Closes #7840. Also return the number of affected rows instead of true.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:31:44 +00:00 |
|
Jeremy Kemper
|
38deb0ed83
|
Migrations: add_column supports custom column types. Closes #7742. First-patch cheers to jsgarvin\!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:21:41 +00:00 |
|
Jeremy Kemper
|
0cbb75e9a0
|
Also remove the duplicated unit test template. References #7222.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:16:38 +00:00 |
|
Jeremy Kemper
|
b0b5ee958a
|
Scaffold generator depends on model generator instead of duplicating it. Closes #7222.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:15:46 +00:00 |
|
Jeremy Kemper
|
74265b6501
|
Missed commit from [6833]. References #8456.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:14:32 +00:00 |
|
Jeremy Kemper
|
4793c5b808
|
Test reconnection after MySQL client timeout. References #428.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:09:46 +00:00 |
|
Jeremy Kemper
|
def61a200e
|
Call the newly generated read method after generating it. Closes #8470.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 20:55:05 +00:00 |
|
Jeremy Kemper
|
cb7a17a9d0
|
Load database adapters on demand. Eliminates config.connection_adapters and RAILS_CONNECTION_ADAPTERS. Closes #8456.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 03:19:35 +00:00 |
|
Jeremy Kemper
|
162a4c5309
|
Include some missing fixtures. Closes #7981.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 01:28:40 +00:00 |
|
Jeremy Kemper
|
06f325f478
|
Add multipart request parsing test with bracketed parameter key. References #8449.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 23:37:37 +00:00 |
|
David Heinemeier Hansson
|
74d1512b99
|
Added option to suppress :size when using :maxlength for FormTagHelper#text_field #3112 [rails@tpope.info]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 20:47:03 +00:00 |
|
Jeremy Kemper
|
b290bc6b2f
|
Don't alias local var
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6829 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 20:42:03 +00:00 |
|
Rick Olson
|
04354cd4c2
|
update changelog too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 20:40:14 +00:00 |
|
Rick Olson
|
c57c7210cd
|
Ensure that associations with :dependent => :delete_all respect :conditions option. Closes #8034 [danger, joshpeek, Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 20:39:51 +00:00 |
|
Rick Olson
|
4b9e67c5b9
|
catch possible WSOD when trying to render a missing partial. Closes #8454 [Catfish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-24 16:42:10 +00:00 |
|
Jeremy Kemper
|
da7f9f516a
|
Scaffold generator tests. Closes #8443.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 22:42:24 +00:00 |
|
Jeremy Kemper
|
4bd3e3aa1b
|
Set RAW_POST_DATA when request parameters are parsed.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 19:09:37 +00:00 |
|
Jeremy Kemper
|
7b99b40352
|
Fix JSON date/time conversion tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6822 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 08:43:48 +00:00 |
|
Jeremy Kemper
|
301b92370a
|
Extend the view instance directly instead of mucking with anonymous subclasses.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 08:00:35 +00:00 |
|
Jeremy Kemper
|
27ff573290
|
Don't play with fire (anonymous class and returning block).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 07:44:57 +00:00 |
|
Jeremy Kemper
|
f78a1948d2
|
Don't load observers if Active Record isn't loaded.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 07:05:51 +00:00 |
|
Jeremy Kemper
|
a11374ad5a
|
whiny nil shouldn't depend on Active Record
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 07:03:31 +00:00 |
|
Jeremy Kemper
|
9f51eb2472
|
Fix :through docs wrecked up by [6777]. Closes #4961.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 06:35:08 +00:00 |
|
Jeremy Kemper
|
ba7dc5d421
|
Revert [6811]. Should be fixed instead of selectively reintroducing the deprecated environment variable.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 06:11:48 +00:00 |
|
Jeremy Kemper
|
b0d01921d8
|
Rewind request body after reading it, if possible. Closes #8438.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-23 05:43:00 +00:00 |
|
Tobias Lütke
|
d418b7d391
|
Set RAW_POST_DATA in integration tests as expected
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-22 22:26:00 +00:00 |
|
Tobias Lütke
|
19fbd84e12
|
Rescuing in around_filters works as expected again [codahale, Stephan Kaes]. Closes #8341
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-22 19:17:43 +00:00 |
|
Tobias Lütke
|
4611d0e108
|
Initializers are now loaded consistently sorted by name. Closes #8343
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-22 19:09:32 +00:00 |
|
Jeremy Kemper
|
43cd97e7fa
|
Generated scaffold functional tests use assert_difference. Closes #8421.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-22 09:41:28 +00:00 |
|