aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Check for the dir instead of relying on an exception.Jeremy Kemper2007-10-071-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix calling .clear on a has_many :dependent=>:delete_all association. ↵Michael Koziarski2007-10-073-2/+5
| | | | | | [tarmo] Closes #6904 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow change_column to set NOT NULL in the PostgreSQL adaptor. Closes #3904 ↵Michael Koziarski2007-10-073-18/+29
| | | | | | [tarmo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extend the console +helper+ method to allow you to include custom helpers. ↵Michael Koziarski2007-10-072-2/+9
| | | | | | Closes #6781 [Chris Wanstrath] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Base#to_param to Active Resource that quacks like ActiveRecord. Closes ↵Michael Koziarski2007-10-072-0/+12
| | | | | | #9557 [bradediger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BlankSlate -> BasicObjectJeremy Kemper2007-10-071-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility.Jeremy Kemper2007-10-074-3/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unbundle Builder in favor of a gem dependency.Jeremy Kemper2007-10-078-724/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use StringIO and Tempfile subclasses instead of defining singleton methods ↵Jeremy Kemper2007-10-062-59/+79
| | | | | | on each multipart field. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rewind stdin if possible after multipart parsing.Jeremy Kemper2007-10-062-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't generate strings to log unless they'll actually get logged.Jeremy Kemper2007-10-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* TypoJeremy Kemper2007-10-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move misplaced CHANGELOG entryJeremy Kemper2007-10-062-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed the addMichael Koziarski2007-10-062-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Send the correct INSERT statement when dealing with objects with only ↵Michael Koziarski2007-10-0622-8/+94
| | | | | | primary keys. Closes #9523 [tarmo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only cache attributes which need it for performance reasons. Closes #9767 ↵Michael Koziarski2007-10-062-1/+75
| | | | | | [skaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test for each JSON fragment to workaround assumed hash ordering.Jeremy Kemper2007-10-061-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Simplify some JSON testsJeremy Kemper2007-10-061-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that ActiveRecord would create attribute methods and override custom ↵Rick Olson2007-10-064-15/+54
| | | | | | attribute getters if the method is also defined in Kernel.methods. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't call attr_readonly on polymorphic belongs_to associations, in case it ↵Rick Olson2007-10-053-1/+7
| | | | | | matches the name of some other non-ActiveRecord class/module. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disambiguate Time, Date, and DateTime#to_json formatting. Closes #9750.Jeremy Kemper2007-10-055-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Bump versions for 1.2.4 release.Jeremy Kemper2007-10-0512-21/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remember these for the next releaseDavid Heinemeier Hansson2007-10-052-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabling auto_flushing still flushes when the buffer hits a maximum size, ↵Jeremy Kemper2007-10-043-12/+24
| | | | | | as a failsafe against memory-gobbling. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tidy up framework initialization code to ensure that it doesn't add folders ↵Michael Koziarski2007-10-042-10/+64
| | | | | | | | | to the load path that it doesn't intend to require. Work around mongrel swallowing LoadErrors to ensure that users get more helpful errors if active_resource is required but not missing. [mislav] Closes #9743 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash#to_json takes :only or :except options to specific or omit certain hash ↵Jeremy Kemper2007-10-0418-27/+88
| | | | | | keys. Enumerable#to_json passes through its options to each element. Closes #9751. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Try loading activerecord-<adaptername>-adapter gem before trying a plain ↵Jeremy Kemper2007-10-042-8/+8
| | | | | | require so you can use custom gems for the bundled adapters. Also stops gems from requiring an adapter from an old Active Record gem. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Explicitly convert the buffer array to a string before writing to head off ↵Jeremy Kemper2007-10-031-1/+1
| | | | | | compatibility issues with outputs that don't fully quack like an IO. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some platforms include colon in timezone offset, some don't. References #9744.Jeremy Kemper2007-10-032-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers ↵Jeremy Kemper2007-10-033-14/+65
| | | | | | with an array instead of string. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* only create custom accessors for Kernel:: methodsTobias Lütke2007-10-031-11/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow column accessors to be created even if Kernel. or Object# methods of ↵Tobias Lütke2007-10-031-4/+15
| | | | | | the same name exist. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move #query_string to AbstractRequestJeremy Kemper2007-10-032-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rescue LoadError if memcache isn't available while loading the MemCache ↵Rick Olson2007-10-031-0/+4
| | | | | | fragment store git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use #require_library_or_gem to load the memcache library for the MemCache ↵Rick Olson2007-10-033-1/+4
| | | | | | session and fragment cache stores. Closes #8662. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move ActionController::Routing.optimise_named_routes to ↵Rick Olson2007-10-036-17/+28
| | | | | | | | ActionController::Base.optimise_named_routes. Now you can set it in the config. ActionController::Routing::DynamicSegment#interpolation_chunk should call #to_s on all values before calling URI.escape. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache the descends_from_activerecord? call to speed up query generation. ↵Michael Koziarski2007-10-031-3/+8
| | | | | | [skaes] Closes #9765 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge session fixation fixes from stableMichael Koziarski2007-10-022-4/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-0269-275/+304
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:create works with remote databases whereas db:create:all only ↵Jeremy Kemper2007-10-022-31/+53
| | | | | | createsdatabases on localhost. Closes #9753. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add --prefix option to script/server when using mongrel. [dacat] Closes #9716Michael Koziarski2007-10-012-1/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7708 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Date#xmlschema for dates outside the range of what can be created with ↵David Heinemeier Hansson2007-10-014-2/+32
| | | | | | Time (closes #9744) [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed calls to fixtures in generated tests as fixtures :all is now present ↵David Heinemeier Hansson2007-10-015-8/+5
| | | | | | by default in test_helper.rb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A set secret causes trouble with the cookie storeDavid Heinemeier Hansson2007-10-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that render template did not honor exempt_from_layout (closes #9698) ↵David Heinemeier Hansson2007-09-304-3/+24
| | | | | | [pezra] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that La Paz was included in -25200 and -14400 offsets when it should ↵David Heinemeier Hansson2007-09-302-2/+4
| | | | | | only be in -14400 (closes #9735) [bermi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfix (closes #9740) [chuyeow]David Heinemeier Hansson2007-09-301-5/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that installing plugins from SVN repositories that use trunk/ will ↵David Heinemeier Hansson2007-09-302-8/+14
| | | | | | work (closes #8188) [evan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JSON encoding to use quoted keys according to the JSON standard ↵David Heinemeier Hansson2007-09-307-52/+11
| | | | | | (closes #8762) [choonkat/chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add attr_readonly to specify columns that are skipped during a normal ↵Rick Olson2007-09-305-17/+85
| | | | | | ActiveRecord #save operation. Closes #6896 [dcmanges] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de