Jeremy Kemper
|
873f5e2f3c
|
Docs: validations examples. Closes #7343.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 12:17:14 +00:00 |
|
Jeremy Kemper
|
7fce529b2a
|
Mocha 0.4 mixes in more public instance methods, confusing controller identification of action methods. Closes #7347.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 12:04:08 +00:00 |
|
Jeremy Kemper
|
f08bd27398
|
Pass busy timeout for sqlite3 integration tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 12:02:40 +00:00 |
|
Kent Sibilev
|
bb778fcf17
|
Allow action_web_service to handle various HTTP methods including GET
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 08:05:33 +00:00 |
|
Rick Olson
|
d5bd679340
|
Add missing tests ensuring callbacks work with class inheritance. Closes #7339 [sandofsky]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 03:04:48 +00:00 |
|
Rick Olson
|
f49e449ed5
|
Carry over the convenience of #create from ActiveRecord. Closes #7340. [Ryan Daigle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6025 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 02:40:32 +00:00 |
|
Jeremy Kemper
|
0eb8398cfa
|
Fixtures use the table name and connection from set_fixture_class. Closes #7330.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 01:29:49 +00:00 |
|
Rick Olson
|
be7f86e37a
|
Added test coverage for Inflector.inflections.clear. Closes #7179. [Rich Collins]. Remove unused code from Duration#inspect. Closes #7180. [Rich Collins]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:32:08 +00:00 |
|
Rick Olson
|
a44cee2549
|
ActiveSupport::Multibyte::Handlers::UTF8Handler should raise when a range and an integer are passed in (just like the native implementation). Closes #7176 [Rich Collins]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:27:25 +00:00 |
|
Rick Olson
|
1bdb14bdd3
|
Increase ActiveResource::Base test coverage. Closes #7173, #7174 [Rich Collins]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:22:33 +00:00 |
|
Rick Olson
|
f3f691eaf2
|
A couple extra tests for #classify. Closes #7273. [Josh Susser]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:11:34 +00:00 |
|
Rick Olson
|
8296c680d5
|
Remove useless code in #attribute_present? since 0 != blank?. Closes #7249 [Josh Susser]. Fix minor doc typos. Closes #7157 [Josh Susser]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:10:21 +00:00 |
|
Rick Olson
|
bc97a87138
|
Fix incorrect usage of #classify when creating the eager loading join statement. Closes #7044 [Josh Susser]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:07:35 +00:00 |
|
Rick Olson
|
37fa17f55a
|
Add/Update usage documentation for script/destroy, resource generator and scaffold_resource generator. Closes #7092, #7271, #7267. [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:01:05 +00:00 |
|
Jeremy Kemper
|
fee8856ff1
|
SQLServer: quote table name in indexes query. Closes #2928.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 04:23:29 +00:00 |
|
Jeremy Kemper
|
06afb8c746
|
Subclasses of an abstract class work with single-table inheritance. References #5704, closes #7284.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 04:19:16 +00:00 |
|
Jamis Buck
|
7359dc0028
|
Make sure sqlite3 driver closes open connections on disconnect (closes #7105)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-22 23:07:54 +00:00 |
|
Jamis Buck
|
1e9ce3c6a1
|
Better docs for Object extensions (closes #7002)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-22 22:53:38 +00:00 |
|
Michael Koziarski
|
59418618b9
|
Improve test coverage of Duration. Closes #7182 [richcollins]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-21 23:31:41 +00:00 |
|
Michael Koziarski
|
704f2cc6de
|
Improve Test Coverage for raise_delivery_errors. [kevinclark] closes #7152
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-21 23:20:44 +00:00 |
|
Thomas Fuchs
|
8e82e29010
|
Make TextHelper::auto_link recognize URLs with colons in path correctly, fixes #7268
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-21 21:41:44 +00:00 |
|
Thomas Fuchs
|
0f8ed48bf5
|
Update trunk to script.aculo.us 1.7.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-19 20:56:31 +00:00 |
|
Thomas Fuchs
|
94e36ef363
|
Update prototype.js to [5985], fixes content-type issue with simulated HTTP methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-18 20:29:02 +00:00 |
|
Rick Olson
|
fcd73821c2
|
Modernize cookie testing code, and increase coverage (Heckle++) #7101 [Kevin Clark]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:51:59 +00:00 |
|
Rick Olson
|
d2205ea5e9
|
Improve Test Coverage for ActionController::Routing::Route#matches_controller_and_action? (Heckle++) #7115 [Kevin Clark]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:49:43 +00:00 |
|
Rick Olson
|
582c028b14
|
Heckling ActionController::Resources::Resource revealed that set_prefixes didn't break when :name_prefix was munged. #7081 [Kevin Clark]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:46:02 +00:00 |
|
Rick Olson
|
4733182e56
|
Fix #distance_of_time_in_words to report accurately against the Duration class. #7114 [eventualbuddha]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:28:57 +00:00 |
|
Rick Olson
|
1ff84503b4
|
Refactor #form_tag to allow easy extending. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:25:30 +00:00 |
|
Sam Stephenson
|
9ec31ba741
|
Update to Prototype 1.5.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 05:01:29 +00:00 |
|
Jeremy Kemper
|
e00e6a2941
|
Interpret 422 Unprocessable Entity as ResourceInvalid. Closes #7097.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 00:46:32 +00:00 |
|
Jeremy Kemper
|
d38417fc02
|
RecordInvalid, RecordNotSaved => 422 Unprocessable Entity, StaleObjectError => 409 Conflict. References #7097.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 00:43:53 +00:00 |
|
Jamis Buck
|
b0a1aa7e7e
|
Allow fields_for to be nested in form_for
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5965 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 00:04:02 +00:00 |
|
Rick Olson
|
932e7b003c
|
Mega documentation patches. #7025, #7069 [rwdaigle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-16 06:34:10 +00:00 |
|
Rick Olson
|
56c5535466
|
[DOC] clear up some ambiguity with the way has_and_belongs_to_many creates the default join table name. #7072 [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-16 06:30:02 +00:00 |
|
Michael Koziarski
|
71a4f7161f
|
Allow the Oracle adapter to insert a string "null". Closes #6997 [laurelfan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-16 01:39:05 +00:00 |
|
Michael Koziarski
|
8437be3380
|
Improve handling of LoadErrors with the oracle adapter. Closes #6780 [kubo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-16 01:31:25 +00:00 |
|
David Heinemeier Hansson
|
6d37c638e7
|
Made sure that connections are only removed for SQLite
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 22:12:40 +00:00 |
|
Sam Stephenson
|
312e6edf91
|
Fix that Dates couldn't be subtracted from Dates after [5940].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 22:02:11 +00:00 |
|
Jamis Buck
|
521ca37c3e
|
be like a duck. Let's not rely on explicit classes, so we can pass proxy objects around and have them interpreted correctly by ActiveRecord's serialization routines
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 17:23:01 +00:00 |
|
Jamis Buck
|
5314960d8b
|
change Duration to use the new Object#acts_like? helper to do duck typing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 17:13:45 +00:00 |
|
Jamis Buck
|
f28eef9a27
|
Add Object#acts_like? and Time#acts_like_time? and Date#acts_like_date? to facilitate duck-typing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 17:12:32 +00:00 |
|
Jamis Buck
|
8368e160b4
|
Make sure Duration uses duck-typing instead of explicit classes, so apps can pass proxy objects around and have it all "just work"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 16:47:51 +00:00 |
|
Jeremy Kemper
|
d1917cfea2
|
Skip column options for primary keys. Closes #7048.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 15:48:38 +00:00 |
|
Tobias Lütke
|
64a80ef756
|
Allow inGroupsOf and eachSlice to be called through rjs. Closes #7046
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 15:11:29 +00:00 |
|
Michael Koziarski
|
67194d9c2d
|
Improve the documentation for customising your rescue actions. Closes #7041 [rsanheim]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 07:17:58 +00:00 |
|
Michael Koziarski
|
276c9f29cd
|
Make 1.months and friends accurate by introducing a Duration class. #6835 [eventualbuddha]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 06:54:50 +00:00 |
|
Michael Koziarski
|
51d840e272
|
Improve association documentation, closes #7022. [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 06:43:47 +00:00 |
|
Jeremy Kemper
|
6019c26856
|
change_column accepts :default => nil. Closes #6956.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 02:22:53 +00:00 |
|
Jeremy Kemper
|
a491f92860
|
MySQL, PostgreSQL: change_column_default quotes the default value and doesn't lose column type information. References #3987, closes #6664.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 01:24:23 +00:00 |
|
Jeremy Kemper
|
e310344111
|
Oracle: create_table takes a :sequence_name option to override the 'tablename_seq' default. Closes #7000.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 00:34:43 +00:00 |
|