David Heinemeier Hansson
|
d3a8d5f93c
|
Fixed url rewriter confusion when the controller or action name was a substring of the controller_prefix or action_prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-12 16:23:18 +00:00 |
|
David Heinemeier Hansson
|
cb8a020ec9
|
Fixed url rewriter confusion when the controller name was a substring of the controller_prefix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-12 15:21:09 +00:00 |
|
David Heinemeier Hansson
|
8d5d7161eb
|
Remove length alias of size
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 22:36:16 +00:00 |
|
David Heinemeier Hansson
|
1497522ab0
|
Fixed the half applied 393 changeset
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 22:06:05 +00:00 |
|
David Heinemeier Hansson
|
d44deadd39
|
Added option to turn off caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 22:03:27 +00:00 |
|
David Heinemeier Hansson
|
876a1a1fa3
|
Added Byte operations to Numeric, so 5.5.megabytes + 200.kilobytes #461 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 21:37:02 +00:00 |
|
David Heinemeier Hansson
|
fe8fb574c0
|
Added a differenciation between AssociationCollection#size and -length. Now AssociationCollection#size returns the size of the collection by executing a SELECT COUNT(*) query if the collection hasn't been loaded and calling collection.size if it has. If it's more likely than not that the collection does have a size larger than zero and you need to fetch that collection afterwards, it'll take one less SELECT query if you use length.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 13:21:17 +00:00 |
|
David Heinemeier Hansson
|
45ea2bd452
|
Fixed the 4.11 changes to the mysql adapter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 10:59:49 +00:00 |
|
David Heinemeier Hansson
|
2182a8203f
|
Tweaks and tinkering
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 02:11:24 +00:00 |
|
David Heinemeier Hansson
|
efdabfb8f5
|
Updated to new naming style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 01:54:55 +00:00 |
|
David Heinemeier Hansson
|
0f4cba7b86
|
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:53:04 +00:00 |
|
David Heinemeier Hansson
|
e38ee7cd7f
|
Added conditional layouts like <tt>layout "weblog_standard", :except => :rss</tt> #452 [Marcel Molina] -- We are still missing unit tests for layouts in general, so please do contribute if you want some testing workout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:50:11 +00:00 |
|
David Heinemeier Hansson
|
b067bf7884
|
Added Base#attributes that returns a hash of all the attributes with their names as keys and clones of their objects as values #433 [atyp.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:45:26 +00:00 |
|
David Heinemeier Hansson
|
18e945d887
|
Added MemCacheStore to fragment caching #449 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:30:53 +00:00 |
|
David Heinemeier Hansson
|
0d1e3846d6
|
Fixed that MemCacheStore wasn't included by default and added default MemCache object pointing to localhost #447 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:29:55 +00:00 |
|
David Heinemeier Hansson
|
98c16a3320
|
Added fourth argument to render_collection_of_partials that allows you to specify local_assigns -- just like render_partial #432 [zenspider]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:27:33 +00:00 |
|
David Heinemeier Hansson
|
79365a0184
|
Fixed that foreign keys named the same as the association would cause stack overflow #437 [Eric Anderson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:24:19 +00:00 |
|
David Heinemeier Hansson
|
bcb8116796
|
Fixed that host would choke when cgi.host returned nil #432 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:15:02 +00:00 |
|
David Heinemeier Hansson
|
a971dc5e4a
|
Fixed default scope of acts_as_list from "1" to "1 = 1", so itll work in PostgreSQL (among other places) #427 [Alexey]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:13:42 +00:00 |
|
David Heinemeier Hansson
|
dbb5341691
|
Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:07:35 +00:00 |
|
David Heinemeier Hansson
|
2594f2abe9
|
Added that form helpers now take an index option #448 [Tim Bates]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 23:57:36 +00:00 |
|
David Heinemeier Hansson
|
445f89ccb5
|
Fixed that Dependencies.reload can't load the same file twice #420 [Kent Sibilev]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 23:52:37 +00:00 |
|
David Heinemeier Hansson
|
3ff5c5805f
|
Added Base#reload that reloads the attributes of an object from the database #422 [Andreas Schwarz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 23:49:57 +00:00 |
|
David Heinemeier Hansson
|
59c2a4d511
|
Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [octopod]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 23:47:32 +00:00 |
|
David Heinemeier Hansson
|
a133f3e64f
|
Added SQLite3 compatibility through the sqlite3-ruby adapter by Jamis Buck #381 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 23:09:51 +00:00 |
|
David Heinemeier Hansson
|
903dcefbaf
|
Fixed random ordering of test cases that would cause errors on some systems #446 [Josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 22:58:06 +00:00 |
|
David Heinemeier Hansson
|
b9f28eb587
|
Added support for the new protocol spoken by MySQL 4.1.1+ servers for the Ruby/MySQL adapter that ships with Rails #440 [Matt Mower]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 22:52:14 +00:00 |
|
David Heinemeier Hansson
|
14ed815b1c
|
Added Fixnum#ago/until, Fixnum#since/from_now #450 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 22:49:45 +00:00 |
|
David Heinemeier Hansson
|
ebf424061d
|
Fixed three issues with retrying breakpoints #417 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 22:46:45 +00:00 |
|
David Heinemeier Hansson
|
7ed4b745fc
|
Some missing docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 19:18:37 +00:00 |
|
David Heinemeier Hansson
|
de5c48c4e3
|
Updated caching to include action caching as well and simplified the name/key reference to just be name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 18:20:58 +00:00 |
|
David Heinemeier Hansson
|
d5de666056
|
Added that Observers can use the observes class method instead of overwriting self.observed_class()
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 16:06:04 +00:00 |
|
David Heinemeier Hansson
|
d239ac40fa
|
Also accepts Symbols and Classes by calling .to_s on the word supplied
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 16:03:44 +00:00 |
|
David Heinemeier Hansson
|
38e55bac61
|
Added time unit extensions to Fixnum that'll return the period in seconds, like 2.days + 4.hours
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 13:14:50 +00:00 |
|
David Heinemeier Hansson
|
576b162725
|
Added that all renders and redirects now return false, so they can be used as the last line in before_filters to stop execution.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 01:27:39 +00:00 |
|
David Heinemeier Hansson
|
e96c08b1aa
|
Apparently the temp hack for functional tests was still needed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 01:17:53 +00:00 |
|
David Heinemeier Hansson
|
c04b71a4b1
|
Removed temporary hack for test/unit problems that only worked for functional tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 00:40:27 +00:00 |
|
David Heinemeier Hansson
|
590ea2930d
|
Added inclusion of fix for test/unit and rake problems with Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 00:33:03 +00:00 |
|
David Heinemeier Hansson
|
7027fb8950
|
Added run time fix for the test/unit problems with Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-10 00:19:17 +00:00 |
|
David Heinemeier Hansson
|
9041caadb4
|
Added more core_ext to install.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 22:10:21 +00:00 |
|
David Heinemeier Hansson
|
7270f3ae82
|
Added more core_ext to install.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 22:03:52 +00:00 |
|
David Heinemeier Hansson
|
8dd93b3777
|
Updated install.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 21:56:58 +00:00 |
|
David Heinemeier Hansson
|
1de33ac2f9
|
Removed last trace of ill-conceived authentication framework
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 21:45:43 +00:00 |
|
David Heinemeier Hansson
|
11f766d3eb
|
Removed authentication framework as xal made me realize that with noradios conditional filters, it was actually more code to use the framework than doing it by hand. Killing a darling! Props to noradio for the patch and xal for the nerve to stand up and question the captain before the plane crashed. Oh, and a pad on my own back for walking away from a couple of hours of work without getting pissy
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:21:29 +00:00 |
|
David Heinemeier Hansson
|
677d92299b
|
Added conditional filters #431 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:14:47 +00:00 |
|
David Heinemeier Hansson
|
c83683202a
|
Added write_inheritable_hash to use with conditional filters in Action Pack
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 17:05:02 +00:00 |
|
David Heinemeier Hansson
|
cbd367b7fa
|
Added :before option to authentication
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 16:43:21 +00:00 |
|
David Heinemeier Hansson
|
75fca04590
|
Added authentication framework to protect actions behind a condition and redirect on failure. See ActionController::Authentication for more.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:20:00 +00:00 |
|
David Heinemeier Hansson
|
298cbbd3a0
|
Added the first of the coming core extensions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:02:39 +00:00 |
|
David Heinemeier Hansson
|
f626aece79
|
Added the first of the coming core extensions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-09 15:00:45 +00:00 |
|