aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added option to turn off cachingDavid Heinemeier Hansson2005-01-111-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Byte operations to Numeric, so 5.5.megabytes + 200.kilobytes #461 ↵David Heinemeier Hansson2005-01-115-59/+36
| | | | | | [Marcel Molina] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a differenciation between AssociationCollection#size and -length. Now ↵David Heinemeier Hansson2005-01-112-1/+15
| | | | | | 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
* Fixed the 4.11 changes to the mysql adapterDavid Heinemeier Hansson2005-01-112-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaks and tinkeringDavid Heinemeier Hansson2005-01-111-5/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated to new naming styleDavid Heinemeier Hansson2005-01-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@388 ↵David Heinemeier Hansson2005-01-112-0/+6
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added conditional layouts like <tt>layout "weblog_standard", :except => ↵David Heinemeier Hansson2005-01-112-21/+65
| | | | | | :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
* Added Base#attributes that returns a hash of all the attributes with their ↵David Heinemeier Hansson2005-01-113-1/+20
| | | | | | 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
* Added MemCacheStore to fragment caching #449 [Lucas Carlson]David Heinemeier Hansson2005-01-111-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that MemCacheStore wasn't included by default and added default ↵David Heinemeier Hansson2005-01-113-1/+4
| | | | | | MemCache object pointing to localhost #447 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added fourth argument to render_collection_of_partials that allows you to ↵David Heinemeier Hansson2005-01-112-2/+4
| | | | | | 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
* Fixed that foreign keys named the same as the association would cause stack ↵David Heinemeier Hansson2005-01-118-4/+36
| | | | | | overflow #437 [Eric Anderson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that host would choke when cgi.host returned nil #432 [Tobias Luetke]David Heinemeier Hansson2005-01-112-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed default scope of acts_as_list from "1" to "1 = 1", so itll work in ↵David Heinemeier Hansson2005-01-112-1/+3
| | | | | | PostgreSQL (among other places) #427 [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that rake clone_structure_to_test, db_structure_dump, and ↵David Heinemeier Hansson2005-01-113-14/+17
| | | | | | 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
* Added that form helpers now take an index option #448 [Tim Bates]David Heinemeier Hansson2005-01-102-2/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Dependencies.reload can't load the same file twice #420 [Kent ↵David Heinemeier Hansson2005-01-102-1/+3
| | | | | | Sibilev] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base#reload that reloads the attributes of an object from the database ↵David Heinemeier Hansson2005-01-103-2/+20
| | | | | | #422 [Andreas Schwarz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed script/console to work with Windows (that requires the use of irb.bat) ↵David Heinemeier Hansson2005-01-102-2/+9
| | | | | | #418 [octopod] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added SQLite3 compatibility through the sqlite3-ruby adapter by Jamis Buck ↵David Heinemeier Hansson2005-01-107-86/+153
| | | | | | #381 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed random ordering of test cases that would cause errors on some systems ↵David Heinemeier Hansson2005-01-101-2/+5
| | | | | | #446 [Josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for the new protocol spoken by MySQL 4.1.1+ servers for the ↵David Heinemeier Hansson2005-01-103-0/+321
| | | | | | 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
* Added Fixnum#ago/until, Fixnum#since/from_now #450 [bitsweat]David Heinemeier Hansson2005-01-103-5/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed three issues with retrying breakpoints #417 [Florian Gross]David Heinemeier Hansson2005-01-102-4/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some missing docsDavid Heinemeier Hansson2005-01-103-4/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated caching to include action caching as well and simplified the ↵David Heinemeier Hansson2005-01-102-44/+184
| | | | | | name/key reference to just be name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that Observers can use the observes class method instead of ↵David Heinemeier Hansson2005-01-101-1/+5
| | | | | | overwriting self.observed_class() git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also accepts Symbols and Classes by calling .to_s on the word suppliedDavid Heinemeier Hansson2005-01-101-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added time unit extensions to Fixnum that'll return the period in seconds, ↵David Heinemeier Hansson2005-01-104-0/+54
| | | | | | like 2.days + 4.hours git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that all renders and redirects now return false, so they can be used ↵David Heinemeier Hansson2005-01-102-0/+17
| | | | | | 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
* Apparently the temp hack for functional tests was still neededDavid Heinemeier Hansson2005-01-101-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed temporary hack for test/unit problems that only worked for ↵David Heinemeier Hansson2005-01-101-16/+0
| | | | | | functional tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added inclusion of fix for test/unit and rake problems with Ruby 1.8.2David Heinemeier Hansson2005-01-104-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added run time fix for the test/unit problems with Ruby 1.8.2David Heinemeier Hansson2005-01-101-0/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more core_ext to install.rbDavid Heinemeier Hansson2005-01-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@359 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more core_ext to install.rbDavid Heinemeier Hansson2005-01-091-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated install.rbDavid Heinemeier Hansson2005-01-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@357 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed last trace of ill-conceived authentication frameworkDavid Heinemeier Hansson2005-01-091-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed authentication framework as xal made me realize that with noradios ↵David Heinemeier Hansson2005-01-093-206/+0
| | | | | | 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
* Added conditional filters #431 [Marcel]David Heinemeier Hansson2005-01-093-16/+213
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added write_inheritable_hash to use with conditional filters in Action PackDavid Heinemeier Hansson2005-01-091-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :before option to authenticationDavid Heinemeier Hansson2005-01-093-3/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added authentication framework to protect actions behind a condition and ↵David Heinemeier Hansson2005-01-097-2/+200
| | | | | | redirect on failure. See ActionController::Authentication for more. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the first of the coming core extensionsDavid Heinemeier Hansson2005-01-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the first of the coming core extensionsDavid Heinemeier Hansson2005-01-093-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added rewrite conditions needed for page caching to workDavid Heinemeier Hansson2005-01-081-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Taken out as noradio took overDavid Heinemeier Hansson2005-01-081-23/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at page and fragment cachingDavid Heinemeier Hansson2005-01-084-2/+205
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rewriting of dashes, lashesDavid Heinemeier Hansson2005-01-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de