aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* New error checking removes the necessity for giving a specific error page ↵David Heinemeier Hansson2004-12-071-1/+1
| | | | | | along to the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@71 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed value quoting in all generated SQL statements, so that integers are ↵David Heinemeier Hansson2004-12-0710-51/+71
| | | | | | not surrounded in quotes and that all sanitation are happening through the database's own quoting routine. This should hopefully make it lots easier for new adapters that doesn't accept '1' for integer columns. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@70 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed has_and_belongs_to_many guessing of foreign key so that keys are ↵David Heinemeier Hansson2004-12-072-1/+4
| | | | | | generated correctly for models like SomeVerySpecialClient [Florian Weber] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@69 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added counter_sql option for has_many associations [bitsweat]David Heinemeier Hansson2004-12-076-43/+69
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@68 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility of having validate be protected for ↵David Heinemeier Hansson2004-12-073-7/+10
| | | | | | assert_(in)valid_column #263 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@67 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Trick tests on url_forDavid Heinemeier Hansson2004-12-071-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@66 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that methods wrapped in callbacks still return their original result ↵David Heinemeier Hansson2004-12-072-25/+32
| | | | | | #260 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@65 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the dispatch.rb behave after being run by the WEBrick dispatcherDavid Heinemeier Hansson2004-12-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@64 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a better generator for scaffolding that actually creates the code, so ↵David Heinemeier Hansson2004-12-0736-112/+706
| | | | | | it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that ActiveRecordHelper#form now calls url_for on the :action option.David Heinemeier Hansson2004-12-073-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@62 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug with the HEAD stuffDavid Heinemeier Hansson2004-12-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@61 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the Inflector to handle the movie/movies pair correctly #261 [Scott Baron]David Heinemeier Hansson2004-12-074-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@60 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation bugsDavid Heinemeier Hansson2004-12-071-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@59 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added all the HTTP methods as alternatives to the generic "process" for ↵David Heinemeier Hansson2004-12-073-2/+54
| | | | | | functional testing #276 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@58 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added indifference to whether @headers["Content-Type"], ↵David Heinemeier Hansson2004-12-073-5/+18
| | | | | | @headers["Content-type"], or @headers["content-type"] is used. Added proper handling of HEAD requests, so that content isnt returned (Request#head? added as well) #277 [Eric Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@57 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added bind-style variable interpolation for the condition arrays that uses ↵David Heinemeier Hansson2004-12-073-11/+32
| | | | | | the adapter's quote method [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@56 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CSV format for fixtures #272 [what-a-day]David Heinemeier Hansson2004-12-072-36/+145
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@55 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas ↵David Heinemeier Hansson2004-12-072-10/+33
| | | | | | Schwarz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@54 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed fixtures using primary key fields called something else than "id" #270 ↵David Heinemeier Hansson2004-12-062-1/+3
| | | | | | [dave] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@53 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TestSession#session_id that returns an empty string to make it easier ↵David Heinemeier Hansson2004-12-062-0/+7
| | | | | | to functional test applications that doesn't use cookie-based sessions #275 [jcf] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@52 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Syntax errors and other exceptions thrown outside of an action are now ↵David Heinemeier Hansson2004-12-0612-52/+40
| | | | | | gracefully handled by the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaned it upDavid Heinemeier Hansson2004-12-061-37/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@50 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an easier way of starting a IRB session on the environmentDavid Heinemeier Hansson2004-12-061-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@49 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an easier way of starting a IRB session on the environmentDavid Heinemeier Hansson2004-12-062-2/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@48 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@47 ↵David Heinemeier Hansson2004-12-060-0/+0
| | | | 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added extra words of caution for guarding against SQL-injection attacksDavid Heinemeier Hansson2004-12-061-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@46 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that cached template loading would still check the file system to see ↵David Heinemeier Hansson2004-12-012-1/+4
| | | | | | if the file existed #258 [Andreas Schwarz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@43 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont include the primary key in updates -- its unneeded and SQL Server ↵David Heinemeier Hansson2004-12-011-3/+3
| | | | | | chokes on it git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@42 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added options to tailor header tag, div id, and div class on ↵David Heinemeier Hansson2004-12-013-8/+37
| | | | | | ActiveRecordHelper#error_messages_for [josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@41 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added proper handling of time fields that are turned into Time objects with ↵David Heinemeier Hansson2004-12-018-4/+37
| | | | | | the dummy date of 2000/1/1 [HariSeldon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@40 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of non-alphanumeric names and misplaced brackets in ↵David Heinemeier Hansson2004-12-013-19/+49
| | | | | | input parameters [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@39 5ecf4fe2-1ee6-0310-87b1-e25e094e27de