aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added Base.validates_boundries_of that delegates to add_on_boundary_breaking ↵David Heinemeier Hansson2004-12-153-32/+64
| | | | | | #312 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Railties *not* include .svn dirs in its gemspec files list #308 [Marcel]David Heinemeier Hansson2004-12-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Base#find will return an array if given an array -- regardless of ↵David Heinemeier Hansson2004-12-153-2/+11
| | | | | | the number of elements #270 [Marten] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documented select, collection_select, and country_select #304 [Ulysses]David Heinemeier Hansson2004-12-151-3/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Insignificante...David Heinemeier Hansson2004-12-152-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated examples to use ApplicationController instead of ↵David Heinemeier Hansson2004-12-151-7/+10
| | | | | | AbstractApplicationController git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that controllers will now search for a layout in ↵David Heinemeier Hansson2004-12-151-1/+15
| | | | | | $template_root/layouts/$controller_name.r(html|xml), so PostsController will look for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed AbstractApplicationController and abstract_application.rb to ↵David Heinemeier Hansson2004-12-157-10/+12
| | | | | | ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Brought unit tests up to dateDavid Heinemeier Hansson2004-12-152-16/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed validate_* to validates_*_of, so validate_acceptance becomes ↵David Heinemeier Hansson2004-12-153-71/+41
| | | | | | validates_acceptance_of, and added :on as a configuration option instead of using _on_create/update git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added tree mixin and unit tests for all the mixinsDavid Heinemeier Hansson2004-12-1515-16/+271
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrapped multi-step operations in transactionsDavid Heinemeier Hansson2004-12-141-16/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixtures :models will now also attempt to include the model.rb fileDavid Heinemeier Hansson2004-12-141-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixtures :models will now also attempt to include the model.rb fileDavid Heinemeier Hansson2004-12-143-4/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that has_and_belongs_to_many would generate bad sql when naming ↵David Heinemeier Hansson2004-12-142-4/+6
| | | | | | conventions differed from using vanilla "id" everywhere [RedTerror] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added FormHelper#radio_button to work with radio buttons like its already ↵David Heinemeier Hansson2004-12-143-0/+35
| | | | | | possible with check boxes [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* This patch allows urls to be of the form :module/:controller/:action as well ↵David Heinemeier Hansson2004-12-141-1/+10
| | | | | | as :controller/:action/:id where :id is no entirely numeric by determining if what would be :module corresponds to a directory in app/controllers. If it does not then the :controller/:action/:id scheme is used. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a better exception for when a type column is used in a table without ↵David Heinemeier Hansson2004-12-146-16/+59
| | | | | | the intention of triggering single-table inheritance. Added that single-table inheritance will only kick in if the inheritance_column (by default "type") is present. Otherwise, inheritance wont have any magic side effects git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cut dependency on dev-utils by using included breakpoint libDavid Heinemeier Hansson2004-12-134-11/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Slightly less overzealous testingDavid Heinemeier Hansson2004-12-131-7/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the quality of the breakpointing -- especially under FCGIDavid Heinemeier Hansson2004-12-132-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TemplateError#backtrace that makes it much easier to debug template ↵David Heinemeier Hansson2004-12-132-3/+12
| | | | | | errors from unit and functional tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extended no inclusion of messages if theyre nil to baseDavid Heinemeier Hansson2004-12-131-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug with reloading associationsDavid Heinemeier Hansson2004-12-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option of passing false to :module or :controller_prefix in order ↵David Heinemeier Hansson2004-12-133-5/+29
| | | | | | to "break out" of a module or prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated unit tests to reflect lowercase post as method in form tagsDavid Heinemeier Hansson2004-12-131-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved methods into the main body as only wiring is needed in append_featuresDavid Heinemeier Hansson2004-12-131-9/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that every successive call on the sqlite adapter prepended RAILS_ROOT ↵David Heinemeier Hansson2004-12-121-1/+1
| | | | | | again and again because RAILS_ROOT itself is the Windows absolute path which begins with the drive letter #294 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaner deactivation of the breakpoint serverDavid Heinemeier Hansson2004-12-122-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a pattern for module loadingDavid Heinemeier Hansson2004-12-122-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Breakpointing that works much better with CGI and FCGIDavid Heinemeier Hansson2004-12-123-87/+98
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility of marking fields as being in error without adding a ↵David Heinemeier Hansson2004-12-121-2/+2
| | | | | | message (using nil) to it thatll get displayed wth full_messages #208 [mjobin] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added collusion handling for FCGIDavid Heinemeier Hansson2004-12-122-14/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added confirmations on successfull connections and resumationsDavid Heinemeier Hansson2004-12-121-3/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Attempted to capture #286 in a unit test, but couldnt get it to failDavid Heinemeier Hansson2004-12-123-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reload the cached column information between requests when the ↵David Heinemeier Hansson2004-12-121-2/+2
| | | | | | ActionController is set to reloading dependencies git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added methods for resetting the cached information on classes that you want ↵David Heinemeier Hansson2004-12-121-5/+10
| | | | | | to clear between requests in development mode git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pattern for specific actions in a modularized controllerDavid Heinemeier Hansson2004-12-121-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only start the breakpoint server when included by dispatchersDavid Heinemeier Hansson2004-12-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* No longer necessary to guard against reincludes with the new reset of ↵David Heinemeier Hansson2004-12-122-2/+2
| | | | | | inheritance variables git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Turn off ACL for localhostDavid Heinemeier Hansson2004-12-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-129-55/+59
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Display error messages on scaffolded form pagesDavid Heinemeier Hansson2004-12-124-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the default button name on forms generated with formDavid Heinemeier Hansson2004-12-121-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Superseeded by rails_generator.rbDavid Heinemeier Hansson2004-12-121-115/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to ERB templates to swallow newlines by using <% if something ↵David Heinemeier Hansson2004-12-122-1/+33
| | | | | | -%> instead of just <% if something %> git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remember to include the right breakpoint for the docsDavid Heinemeier Hansson2004-12-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Differentiate breakpointing on gem or not in an attempt to fix looping problemsDavid Heinemeier Hansson2004-12-123-7/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* No longer needed to explicitly pass the session defaults as the error screen ↵David Heinemeier Hansson2004-12-121-1/+1
| | | | | | was removed git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CgiRequest so that it'll now accept session options with Symbols as ↵David Heinemeier Hansson2004-12-123-3/+15
| | | | | | keys (as the documentation points out) [Suggested by Andreas] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de