aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Stop adding the antiquated test/mocks/* directories and only add them to the ↵David Heinemeier Hansson2008-03-273-3/+6
| | | | | | path if theyre still there for legacy reasons [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that gems can now be plugins if they include rails/init.rb (closes ↵David Heinemeier Hansson2008-03-275-2/+67
| | | | | | #11444) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing test dataDavid Heinemeier Hansson2008-03-274-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that a return-path header would be ignored (closes #7572) [joost]David Heinemeier Hansson2008-03-272-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Plugin#about method to programmatically access the about.yml in a ↵David Heinemeier Hansson2008-03-274-17/+52
| | | | | | plugin (closes #10979) [lazyatom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New applications should use UTC as the default time zoneDavid Heinemeier Hansson2008-03-262-11/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix issue where the :uniq option of a has_many :through association is ↵Rick Olson2008-03-263-5/+13
| | | | | | ignored when find(:all) is called. Closes #9407 [cavalle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix duplicate table alias error when including an association with a ↵Rick Olson2008-03-263-26/+35
| | | | | | has_many :through association on the same join table. Closes #7310 [cavalle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More efficient association preloading code that compacts a through_records ↵Rick Olson2008-03-262-8/+13
| | | | | | array in a central location. Closes #11427 [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-03-2645-173/+468
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Typo fix in documentation from [9090] References #11422Michael Koziarski2008-03-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Standardise the implementation of the extensions to BigDecimal. Closes ↵Michael Koziarski2008-03-262-23/+39
| | | | | | #10608 [mikong] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that ActiveRecord#Base.find_or_create/initialize would not honor ↵David Heinemeier Hansson2008-03-253-4/+46
| | | | | | attr_protected/accessible when used with a hash (closes #11422) [miloops] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Whitespace + formattingJeremy Kemper2008-03-252-16/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FormHelper#radio_button would produce invalid ids (closes #11298) ↵David Heinemeier Hansson2008-03-243-2/+7
| | | | | | [harlancrystal] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :confirm option to submit_tag (closes #11415) [miloops]David Heinemeier Hansson2008-03-243-3/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed NumberHelper#number_with_precision to properly round in a way that ↵David Heinemeier Hansson2008-03-243-3/+7
| | | | | | works equally on Mac, Windows, Linux (closes #11409, #8275, #10090, #8027) [zhangyuanyi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord#Base.all/first/last as aliases for ↵David Heinemeier Hansson2008-03-244-2/+28
| | | | | | find(:all/:first/:last) (closes #11413) [nkallen, thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-2420-39/+369
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow the #simple_format text_helper to take an html_options hash for each ↵Rick Olson2008-03-243-5/+18
| | | | | | paragraph. Closes #2448 [Francois Beausoleil, thechrisoshow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix merging blank conditions. Closes #10764 [mcmire, cavalle]Jeremy Kemper2008-03-232-10/+43
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that TimeWithZone#to_yaml works when passed a YAML::Emitter. [rick]Rick Olson2008-03-233-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix regression from filter refactoring where re-adding a skipped filter ↵Rick Olson2008-03-233-0/+38
| | | | | | resulted in it being called twice. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure correct TimeWithZone#to_dateGeoff Buesing2008-03-223-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct grammar in config.time_zone description in environment.rbGeoff Buesing2008-03-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the more modern error_messages from the form object rather than ↵David Heinemeier Hansson2008-03-222-6/+6
| | | | | | error_messages_for git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config.time_zone = 'UTC' as a commented-out option in the default ↵Geoff Buesing2008-03-222-2/+6
| | | | | | environment.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* has_one :through supports :source_type. Fix up some tests. References #4756.Jeremy Kemper2008-03-225-9/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Adding rake tasks time:zones:all, time:zones:us and time:zones:local for ↵Geoff Buesing2008-03-222-0/+45
| | | | | | finding time zone names for config.time_zone option git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix schema.rb some more. sponsors.sponsorable_type should be a string. ↵Jeremy Kemper2008-03-211-1/+1
| | | | | | References #4756. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix schema.rb. Please to be testing on more than just MySQL! References #9067.Jeremy Kemper2008-03-211-24/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9072 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TimeWithZone work with tzinfo 0.2.x: use ↵Geoff Buesing2008-03-216-174/+243
| | | | | | TZInfo::Timezone#zone_identifier alias for #abbreviation, silence warnings on tests. Raise LoadError when TZInfo version is < 0.2 by sniffing for TZInfo::TimeOrDateTime constant. Move all tzinfo-dependent TimeZone tests into uses_tzinfo block git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix an edge case with extra periods in Routing.normalize_paths. Closes ↵Jeremy Kemper2008-03-212-6/+6
| | | | | | #11337 [cavalle, veejar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow association scoping for built/created records if :conditions is ↵Rick Olson2008-03-214-3/+36
| | | | | | specified as a hash. Closes #11393 [miloops] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add has_one :through support, finally. Closes #4756 [thechrisoshow]Rick Olson2008-03-2115-22/+245
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed adds. References #10350.Jeremy Kemper2008-03-204-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Re-added ActionView::Helpers::register_javascript/stylesheet_expansion to ↵Jeremy Kemper2008-03-204-21/+108
| | | | | | make it easier for plugin developers to inject multiple assets. Closes #10350. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Docfixes (closes #11356, #11172, #10523)David Heinemeier Hansson2008-03-204-1/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [9106]. References #10350.Jeremy Kemper2008-03-193-85/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response, don't cry if @exception isn't available in the templateJeremy Kemper2008-03-181-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Migrations: create_table supports primary_key_prefix_type. Closes #10314.Jeremy Kemper2008-03-184-4/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor filters to use Active Support callbacks. Closes #11235.Jeremy Kemper2008-03-188-449/+383
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* sshpublisher needs to be explicitly required now, apparentlyDavid Heinemeier Hansson2008-03-185-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that polymorphic routes would modify the input array (closes #11363) ↵David Heinemeier Hansson2008-03-173-0/+13
| | | | | | [thomas.lee] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :format option to NumberHelper#number_to_currency to enable better ↵David Heinemeier Hansson2008-03-173-1/+11
| | | | | | localization support #11149 [lylo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only log if theres a loggerDavid Heinemeier Hansson2008-03-171-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added logging for dependency load errors with fixtures (closes #11056) ↵David Heinemeier Hansson2008-03-173-5/+27
| | | | | | [stuthulhu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for installing plugins hosted at git repositories (closes ↵David Heinemeier Hansson2008-03-172-1/+27
| | | | | | #11294) [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Time, DateTime and TimeWithZone #in_time_zone defaults to Time.zone. ↵Geoff Buesing2008-03-177-54/+50
| | | | | | Removing now unneeded #in_current_time_zone. ActiveRecord time zone aware attributes updated to use #in_time_zone git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* TZInfo caches Timezone instances in its own internal hash cache, so ↵Geoff Buesing2008-03-172-7/+3
| | | | | | TimeZone::MAPPING doesn't need to cache them as well git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de