aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added -m/--mime-types option to the WEBrick server, so you can specify a ↵David Heinemeier Hansson2005-09-093-10/+20
| | | | | | Apache-style mime.types file to load #2059 [ask@develooper.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -c/--svn option to the generator that'll add new files and remove ↵David Heinemeier Hansson2005-09-093-3/+42
| | | | | | destroyed files using svn add/revert/remove as appropriate #2064 [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -c/--charset option to WEBrick controller, so you can specify a ↵David Heinemeier Hansson2005-09-093-1/+18
| | | | | | default charset (which without changes is UTF-8) #2084 [wejn@box.cz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed comparison of Active Record objects so two new objects are not equal ↵David Heinemeier Hansson2005-09-093-1/+10
| | | | | | #2099 [deberg] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added String#starts_with? and String#ends_with? #2118 [thijs@vandervossen.net]David Heinemeier Hansson2005-09-093-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that number_to_currency(1000, {:precision => 0})) should return ↵David Heinemeier Hansson2005-09-093-0/+5
| | | | | | "$1,000", instead of "$1,000." #2122 [sd@notso.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the SQL Server adapter would sometimes return DBI::Timestamp ↵David Heinemeier Hansson2005-09-093-4/+7
| | | | | | objects instead of Time #2127 [Tom Ward] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the test_find_all_by_one_attribute and ↵David Heinemeier Hansson2005-09-091-1/+1
| | | | | | test_find_all_by_one_attribute_with_options tests not fail in SQL Server #2128 [Tom Ward] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored away all the legacy validate_options calls and replaced them with ↵David Heinemeier Hansson2005-09-096-31/+38
| | | | | | Hash#assert_valid_keys git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_valid_keys slightly more lenientDavid Heinemeier Hansson2005-09-092-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix docs #2136 [coffee2code]David Heinemeier Hansson2005-09-091-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow link_to_remote to use any DOM-element as the parent of the form ↵David Heinemeier Hansson2005-09-092-0/+16
| | | | | | elements to be submitted #2137 [erik@ruby-lang.nl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the instance methods #root and #ancestors on acts_as_tree and fixed ↵David Heinemeier Hansson2005-09-094-13/+69
| | | | | | siblings to not include the current node #2142, #2140 [coffee2code] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for overwrite_params #2146 [Michael Shuerig]David Heinemeier Hansson2005-09-092-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that render :partial would fail when :object was a Hash (due to ↵David Heinemeier Hansson2005-09-096-3/+18
| | | | | | backwards compatibility issues) #2148 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavascriptHelper#auto_complete_for to only include unique items #2153 ↵David Heinemeier Hansson2005-09-093-1/+7
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that onclick would be overridden even when special features werent usedDavid Heinemeier Hansson2005-09-082-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for #1904David Heinemeier Hansson2005-09-081-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed all AssetHelper methods to work with relative paths, such that ↵David Heinemeier Hansson2005-09-083-1/+4
| | | | | | javascript_include_tag('stdlib/standard') will look in /javascripts/stdlib/standard instead of '/stdlib/standard/' #1963 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a broken testDavid Heinemeier Hansson2005-09-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* An explicit include ClassInheritableAttributes is no longer needed #1948 ↵David Heinemeier Hansson2005-09-083-6/+0
| | | | | | [Caleb Tennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Active Record would call SHOW FIELDS twice (or more) for the same ↵David Heinemeier Hansson2005-09-082-2/+4
| | | | | | model when the cached results were available #1947 [sd@notso.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid extending view instance with helper modules each request. Closes #1979Nicholas Seckar2005-09-083-18/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance improvements to CGI methods. Closes #1980Nicholas Seckar2005-09-083-9/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use this.href, not unexisting urlDavid Heinemeier Hansson2005-09-072-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :post option to UrlHelper#link_to that makes it possible to do POST ↵David Heinemeier Hansson2005-09-073-21/+61
| | | | | | requests through normal ahref links using Javascript git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Symbolize the keys of overwritten parameters. Really closes #1909.Nicholas Seckar2005-09-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix overwrite params. Closes #1909Nicholas Seckar2005-09-063-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give AR the new benchmark method tooDavid Heinemeier Hansson2005-09-061-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix fragment benchmark calls and limit timings to 5 decimalsDavid Heinemeier Hansson2005-09-063-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only do benchmarking if log level matches and log cachingDavid Heinemeier Hansson2005-09-062-20/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added use_silence parameter to ActiveRecord::Base.benchmark that can be ↵David Heinemeier Hansson2005-09-064-7/+41
| | | | | | passed false to include all logging statements during the benchmark block. Added ActionController::Base.benchmark and ActionController::Base.silence to allow for easy benchmarking and turning off the log git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont encode the default subject for the test cases since they are within the ↵David Heinemeier Hansson2005-09-061-1/+1
| | | | | | ascii range git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the default stats task extendable by modifying the STATS_DIRECTORIES ↵Jamis Buck2005-09-052-9/+13
| | | | | | constant git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have ↵Jamis Buck2005-09-052-1/+6
| | | | | | Rails::Initializer use it if it exists. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated vendor copy of html-scanner to support better xml parsingJamis Buck2005-09-053-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix vendor require paths to prevent files being required twiceJamis Buck2005-09-053-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :popup option to UrlHelper#link_to #1996 [gabriel.gironda@gmail.com]David Heinemeier Hansson2005-09-043-3/+54
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get rid of that silly lockDavid Heinemeier Hansson2005-09-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Silence logger initializationDavid Heinemeier Hansson2005-09-033-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the options_for_select to deal with the fact that Strings now ↵David Heinemeier Hansson2005-09-031-1/+1
| | | | | | implement :first git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix mocks dirDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the spot looking for migrationsDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Talk about whats missingDavid Heinemeier Hansson2005-09-031-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Also configure template view pathDavid Heinemeier Hansson2005-09-031-0/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Proper clean rakefileDavid Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is ↵David Heinemeier Hansson2005-09-0313-311/+396
| | | | | | empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* You will never sleep again!David Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added note about how pre-packaged error functionality can be easier to ↵David Heinemeier Hansson2005-09-031-0/+4
| | | | | | recreate yourself than attempt to overly tailor #1489 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de