aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Checked in the proper version of const_missingDavid Heinemeier Hansson2004-12-201-17/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot a "or" in InflectorDavid Heinemeier Hansson2004-12-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Switched strategy on the id_before_type_cast problem and just did an ↵David Heinemeier Hansson2004-12-201-1/+5
| | | | | | explicit method so postgresql wouldnt choke on id is null git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a require_association hook on const_missing that makes it possible to ↵David Heinemeier Hansson2004-12-204-3/+43
| | | | | | use any model class without requiring it first. Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pulling attributes_from_column_definition should set the primary id to nil ↵David Heinemeier Hansson2004-12-191-1/+1
| | | | | | instead of not at all git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scrap thatDavid Heinemeier Hansson2004-12-191-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont define respond_to? lookups for primary keyDavid Heinemeier Hansson2004-12-191-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* FormHelper should only use *_before_type_cast if they available on the modelDavid Heinemeier Hansson2004-12-192-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed the interface on AbstractAdapter to require that adapters return the ↵David Heinemeier Hansson2004-12-198-14/+39
| | | | | | number of affected rows on delete and update operations. Added that Base.update_all and Base.delete_all return an integer of the number of affected rows #341 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that query benchmarking will only happen if its going to be logged ↵David Heinemeier Hansson2004-12-192-1/+3
| | | | | | anyway #344 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reworded a few doc things for better comprehension [dblack]David Heinemeier Hansson2004-12-191-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed small doc bug [dblack]David Heinemeier Hansson2004-12-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that textilize and markdown would instantiate their engines even on ↵David Heinemeier Hansson2004-12-192-2/+4
| | | | | | empty strings. This also fixes #333 [Ulysses] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of an inaccessible log file by redirecting output to ↵David Heinemeier Hansson2004-12-193-3/+25
| | | | | | STDERR with a warning #330 [rainmkr] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the documentation #329 [rainmkr]David Heinemeier Hansson2004-12-191-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added higher_item and lower_item as public methods for acts_as_list #342 ↵David Heinemeier Hansson2004-12-199-81/+200
| | | | | | [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for automatic layout inclusion #328 [Marcel]David Heinemeier Hansson2004-12-191-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for a -h/--help parameter in the generator #331 [Ulysses]David Heinemeier Hansson2004-12-192-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added breakpoints to stand-alone Active Record, so we can use them in tests ↵David Heinemeier Hansson2004-12-192-0/+606
| | | | | | for AR git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set a high default salary within the validation rangeDavid Heinemeier Hansson2004-12-195-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Developer#salary for the type testsDavid Heinemeier Hansson2004-12-195-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added respondence to *_before_type_cast for all attributes to return their ↵David Heinemeier Hansson2004-12-1911-22/+55
| | | | | | string-state before they were type casted by the column type. Added use of *_before_type_cast for all input and text fields. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#port_string to get something like ":8080" back on 8080 and "" ↵David Heinemeier Hansson2004-12-184-7/+34
| | | | | | on 80 (or 443 with https). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#domain (returns string) and Request#subdomains (returns array).David Heinemeier Hansson2004-12-183-0/+42
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the automated timestamping feature when running under Rails' ↵David Heinemeier Hansson2004-12-183-6/+20
| | | | | | development environment that resets the inheritable attributes on each request. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added POST support for the breakpoint retries, so form processing that ↵David Heinemeier Hansson2004-12-182-1/+17
| | | | | | raises an exception can be retried with the original request [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Base#update_attribute isnt subject to validationDavid Heinemeier Hansson2004-12-182-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Base#update_attributes actually workDavid Heinemeier Hansson2004-12-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* File.expand_path in config/environment.rb would fail when dealing with ↵David Heinemeier Hansson2004-12-183-2/+7
| | | | | | symlinked public directories [mjobin]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base#update_attributes that'll accept a hash of attributes and save ↵David Heinemeier Hansson2004-12-172-1/+18
| | | | | | the record (returning true if it passed validation, false otherwise). Added a return value for Base#update_attribute, so that you get to know whether the save was successful or if it failed validation. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.destroy and Base.delete to remove records without holding a ↵David Heinemeier Hansson2004-12-173-7/+38
| | | | | | reference to them first. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@205 ↵David Heinemeier Hansson2004-12-171-0/+1
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.9.1 releaseDavid Heinemeier Hansson2004-12-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@203 ↵David Heinemeier Hansson2004-12-171-1/+1
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Upgraded to Action Pack 1.0.1 for important bug fix. Updated gem dependencies.David Heinemeier Hansson2004-12-173-4/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug that would cause an ApplicationController to require itself ↵David Heinemeier Hansson2004-12-173-5/+11
| | | | | | three times and hence cause filters to be run three times [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@201 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cut down on the documentation visibleDavid Heinemeier Hansson2004-12-161-11/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a small bug in the new referencing of DEFAULT_SESSION_OPTIONSDavid Heinemeier Hansson2004-12-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails 0.9 is a realityDavid Heinemeier Hansson2004-12-167-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the last tweaks before 0.9David Heinemeier Hansson2004-12-167-66/+135
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-162-1/+45
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-161-21/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated documentationDavid Heinemeier Hansson2004-12-1612-53/+80
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated and added more documentationDavid Heinemeier Hansson2004-12-165-69/+74
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.validates_inclusion_ofDavid Heinemeier Hansson2004-12-163-30/+201
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improving documentation...David Heinemeier Hansson2004-12-166-202/+163
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed Mixins to Acts to resemble the change from include ↵David Heinemeier Hansson2004-12-169-30/+106
| | | | | | ActiveRecord::Mixins::List to acts_as_list and renamed @@default_error_messagess to @@default_error_messages git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only requests that require processing from a controller should block the ↵David Heinemeier Hansson2004-12-161-3/+2
| | | | | | webrick server -- requests for stylesheets, images, and the like should be concurrent git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Needed to update the server root for the new placementDavid Heinemeier Hansson2004-12-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed script/envcon to script/consoleDavid Heinemeier Hansson2004-12-163-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de