aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added optionally allow for nil or empty strings with ↵David Heinemeier Hansson2005-03-143-72/+66
| | | | | | validates_numericality_of #801 [Sebastian Kanthak] Fixed problem with using slashes in validates_format_of regular expressions #801 [Sebastian Kanthak] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that SQLite3 exceptions are caught and reported properly #823 [yerejm]David Heinemeier Hansson2005-03-145-4/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove superfluous begin/end in caching.rb methods #836David Heinemeier Hansson2005-03-141-16/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CaptureHelper with CaptureHelper#capture and ↵David Heinemeier Hansson2005-03-142-0/+97
| | | | | | CaptureHelper#content_for. See documentation in helper #837 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed :anchor use in url_for #821 [Nicholas Seckar]David Heinemeier Hansson2005-03-142-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the duplicated remote_function and make the real deal publicDavid Heinemeier Hansson2005-03-141-23/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async callbacks work with :updateDavid Heinemeier Hansson2005-03-141-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async the default approach and add get_elements_by_classDavid Heinemeier Hansson2005-03-141-10/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added asynchronous processing modelDavid Heinemeier Hansson2005-03-141-6/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the reliance on PATH_INFO as it was causing problems for caching and ↵David Heinemeier Hansson2005-03-143-16/+3
| | | | | | inhibited the new non-vhost support #822 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix #805David Heinemeier Hansson2005-03-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved image_tag to AssetTagHelperDavid Heinemeier Hansson2005-03-145-30/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that all types of after_find/after_initialized callbacks are triggered ↵David Heinemeier Hansson2005-03-143-24/+79
| | | | | | if the explicit implementation is present, not only the explicit implementation itself git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deal with Safari garbage and allow html_optionsDavid Heinemeier Hansson2005-03-131-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@897 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-15/+0
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Field.present, .focus, and .clear as JS convenience for working with ↵David Heinemeier Hansson2005-03-131-1/+26
| | | | | | forms. Removed link_to_display_toggle in favor of link_to_function "Cancel", "toggle_display("add_item_link", "add_item_form")" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :condition option to abort an update if some condition isnt thereDavid Heinemeier Hansson2005-03-131-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed example in docsDavid Heinemeier Hansson2005-03-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Checked in some documentation for JavascriptHelperDavid Heinemeier Hansson2005-03-121-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Respect :onclick in link_to_toggle_displayDavid Heinemeier Hansson2005-03-121-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Put it in the right moduleDavid Heinemeier Hansson2005-03-121-130/+134
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added first stab at Javascript/Ajax helpersDavid Heinemeier Hansson2005-03-121-0/+160
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Params for components should treat string and symbol keys indifferentlyDavid Heinemeier Hansson2005-03-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that symbols can be used on attribute assignment, like ↵David Heinemeier Hansson2005-03-102-0/+6
| | | | | | page.emails.create(:subject => data.subject, :body => data.body) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More incremental work on active schema for MySQLDavid Heinemeier Hansson2005-03-102-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More incremental work on active schema for MySQLDavid Heinemeier Hansson2005-03-103-13/+45
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* allow 0, 1, '0' or '1' to be cast to the appropriate values for booleanLeon Breedt2005-03-1011-135/+246
| | | | | | | | | values. update XML-RPC example to work in :layered mode. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* change type of faultCode in marshaled SOAP faults to a QName,Leon Breedt2005-03-101-1/+1
| | | | | | | and its value to 'Server' in the SOAP namespace. should fix #804. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assigns shortcut for @response.template.assigns to controller test ↵David Heinemeier Hansson2005-03-102-1/+21
| | | | | | cases [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added render_partial/render_partial_collection from controllers for easier ↵David Heinemeier Hansson2005-03-092-2/+14
| | | | | | Ajaxing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@880 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TagHelper#image_tag and deprecated UrlHelper#link_image_to ↵David Heinemeier Hansson2005-03-095-15/+53
| | | | | | (recommended approach is to combine image_tag and link_to instead) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed textilize to be resilient to getting nil parsed (by using ↵David Heinemeier Hansson2005-03-092-1/+3
| | | | | | Object#blank? instead of String#empty?) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the :multipart option in FormTagHelper#form_tag would be ignored ↵David Heinemeier Hansson2005-03-072-2/+7
| | | | | | [Yonatan Feldman] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepared for 0.10.1 releaseDavid Heinemeier Hansson2005-03-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepared for 0.10.1 releaseDavid Heinemeier Hansson2005-03-0712-20/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed tests for indifferent accessDavid Heinemeier Hansson2005-03-071-47/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Hash#indifferent_access to also deal with include? and fetch and ↵David Heinemeier Hansson2005-03-073-1/+92
| | | | | | nested hashes #726 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More fixes for symlinked setups #793 [phantom]David Heinemeier Hansson2005-03-073-7/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@871 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the routes.rb file wouldn't be found on symlinked setups due to ↵David Heinemeier Hansson2005-03-062-1/+3
| | | | | | File.expand_path #793 [piotr@t-p-l.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix database creation for postgres (again) #790 [adamm <gnuman1@gmail.com>]David Heinemeier Hansson2005-03-061-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]David Heinemeier Hansson2005-03-062-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed issues with caching root pages #734 [Nicholas Seckar]David Heinemeier Hansson2005-03-062-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed ActiveRecordStore to use Marshal instead of YAML as the latter ↵David Heinemeier Hansson2005-03-062-10/+25
| | | | | | proved troublesome in persisting circular dependencies. Updating existing applications MUST clear their existing session table from data to start using this updated store #739 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Logs in GEMs is bad styleDavid Heinemeier Hansson2005-03-061-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added exception shallowing if the DRb server can't be started (not worth ↵David Heinemeier Hansson2005-03-062-1/+3
| | | | | | making a fuss about to distract new users) #779 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed link_to documentation references nonexistent URL #573David Heinemeier Hansson2005-03-061-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added shortcut :id assignment to render_component and friends (before you ↵David Heinemeier Hansson2005-03-062-3/+5
| | | | | | had to go through :params) #784 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an empty favicon.ico file to the public directory of new applications ↵David Heinemeier Hansson2005-03-064-2/+6
| | | | | | (so the logs are not spammed by its absence) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Base.colorize_logging to control whether to use colors ↵David Heinemeier Hansson2005-03-063-8/+20
| | | | | | in logs or not (on by default) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de