aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Added that render_partial will always by default include a counter with ↵David Heinemeier Hansson2004-12-121-1/+8
| | | | | | value 1 unless there is a counter passed in via the local_assigns hash that overrides it. As a result, render_collection_of_partials can still be written in terms of render_partial and partials that make use of a counter can be called without problems from both render_collection_of_partials as well as render_partial #295 [marcel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CgiRequest#out to fall back to #write if doesn't have #syswrite ↵David Heinemeier Hansson2004-12-122-4/+12
| | | | | | [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed all helpers so that they use XHTML compliant double quotes for values ↵David Heinemeier Hansson2004-12-126-45/+46
| | | | | | instead of single quotes [htonl/bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use lower-case post instead of POST as form method for XHTML compliance #290 ↵David Heinemeier Hansson2004-12-123-9/+9
| | | | | | [Scott Baron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix breakpointing by differenciating between gem and notDavid Heinemeier Hansson2004-12-101-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mailer generator should create passing testsDavid Heinemeier Hansson2004-12-103-7/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problem with cookies not being set to path=/ by default and a test ↵David Heinemeier Hansson2004-12-102-4/+5
| | | | | | buggerboo git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Options for the new validation methods are now given as a hashDavid Heinemeier Hansson2004-12-103-12/+28
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.validate_uniqueness thatv alidates whether the value of the ↵David Heinemeier Hansson2004-12-106-6/+73
| | | | | | specified attributes are unique across the system. Useful for making sure that only one user can be named "davidhh". git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.validate_presence as an alternative to implementing validate and ↵David Heinemeier Hansson2004-12-103-24/+81
| | | | | | doing errors.add_on_empty yourself. Added _on_create and _on_update versions for all the new validations git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set border on link_to_image to 0 by defaultDavid Heinemeier Hansson2004-12-101-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added link_to_image(src, options = {}, html_options = {}, ↵David Heinemeier Hansson2004-12-093-0/+65
| | | | | | *parameters_for_method_reference) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a few issues for the breakpointingDavid Heinemeier Hansson2004-12-093-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added breakpoint retries on rescue screensDavid Heinemeier Hansson2004-12-092-0/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary remote breakpoint supportDavid Heinemeier Hansson2004-12-098-20/+750
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the usage documentation for the generator actions for their new homeDavid Heinemeier Hansson2004-12-096-43/+51
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tidied up Fixtures for better readability and some error checking [bitsweat]David Heinemeier Hansson2004-12-092-42/+61
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed TIMESTAMP columns broken due to TIME handling patchDavid Heinemeier Hansson2004-12-091-11/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@99 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Base.errors to be indifferent as to whether strings or symbols are used.David Heinemeier Hansson2004-12-093-15/+47
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@98 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.validate_confirmation that encapsulates the pattern of wanting to ↵David Heinemeier Hansson2004-12-093-9/+51
| | | | | | validate the acceptance of a terms of service check box (or similar agreement) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@97 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed the Proc for a string to avoid repetition problemsDavid Heinemeier Hansson2004-12-091-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@96 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base.validate_confirmation that encapsulates the pattern of wanting to ↵David Heinemeier Hansson2004-12-093-4/+70
| | | | | | validate a password or email address field with a confirmation. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@95 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added validation macros to make the stackable just like the lifecycle callbacksDavid Heinemeier Hansson2004-12-093-2/+69
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@94 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* We need to pass the name when deleting the cookieDavid Heinemeier Hansson2004-12-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@93 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CookieJar#delete and fixed CookieJar[] to just call first, so you get ↵David Heinemeier Hansson2004-12-092-1/+8
| | | | | | a string instead of an array back. This limits each cookie to one value, which I consider a mighty fine restriction git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@92 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A fix that actually works...David Heinemeier Hansson2004-12-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@91 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Callbacks added to the inheritable que should only be called once -- even as ↵David Heinemeier Hansson2004-12-081-1/+1
| | | | | | the definition is read again git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@90 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* scope_condition defaults to 1 on list mixinDavid Heinemeier Hansson2004-12-081-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@89 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added mixins to install.rbDavid Heinemeier Hansson2004-12-081-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@88 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaned up the class_eval stuff in the new mixins a bitDavid Heinemeier Hansson2004-12-082-9/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@87 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot to include Mixins::Touch by defaultDavid Heinemeier Hansson2004-12-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@86 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Mixins::Touch that will record creation and update times ↵David Heinemeier Hansson2004-12-082-1/+50
| | | | | | of objects [xal] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@85 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Mixins::List that can decorates an existing class with ↵David Heinemeier Hansson2004-12-082-1/+16
| | | | | | methods like move_higher/lower, move_to_top/bottom git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@84 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed from ListMixin and mixins/list_mixin.rb to Mixins::List and ↵David Heinemeier Hansson2004-12-083-154/+157
| | | | | | mixin/list.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@83 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unofficially added ListMixinDavid Heinemeier Hansson2004-12-081-0/+154
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@82 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed to_input_field_tag so it no longer explicitly uses InstanceTag.value ↵David Heinemeier Hansson2004-12-081-2/+4
| | | | | | if value was specified in the options hash [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@81 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Killed the out of place alias and made sure you can use the different HTTP ↵David Heinemeier Hansson2004-12-082-6/+17
| | | | | | methods within the same testaction git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@80 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only nuke the AbstractApplicationController if its availableDavid Heinemeier Hansson2004-12-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@79 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added named bind-style variable interpolation #281 [Michael Koziarski]David Heinemeier Hansson2004-12-083-6/+60
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@78 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@77 ↵David Heinemeier Hansson2004-12-081-1/+0
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated Builder to 1.2.2David Heinemeier Hansson2004-12-081-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@76 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the option for sanitizing find_by_sql and the offset parts in regular ↵David Heinemeier Hansson2004-12-073-5/+50
| | | | | | finds [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@75 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot another small change with the new generatorsDavid Heinemeier Hansson2004-12-071-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@74 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot a small change with the new generatorsDavid Heinemeier Hansson2004-12-071-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@73 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@72 ↵David Heinemeier Hansson2004-12-071-12/+13
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de