aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Let polymorphic_path treat an array contains single name as without array ↵Hiroshi Saito2008-11-192-0/+7
| | | | | | [#1386 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added Enumerable#none? to check that none of the elements match the block ↵Damian Janowski2008-11-193-0/+21
| | | | | | [#1408 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Make optimized named routes respect all reserved options and tie it into ↵Gabe da Silveira2008-11-183-9/+12
| | | | | | UrlRewriter::RESERVED_OPTIONS so it's DRY Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix rendering html partial via inline render when with :js format [#1399 ↵Luke Melia2008-11-183-1/+17
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Spam more people, the list is nextMichael Koziarski2008-11-181-1/+1
|
* Register 'checked' as an HTML boolean attribute.Hongli Lai (Phusion)2008-11-182-1/+2
| | | | | | | | | | | | | | | This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected <input type="checkbox" /> instead of the old <input type="checkbox" checked="false" /> The latter would result in a checkbox that's initially checked. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove duplicate distribution of prototype and scriptaculous.Michael Koziarski2008-11-184-7384/+0
| | | | This was previously needed by define_javascript_functions which has been removed for a while.
* Remove mention of long-dead define_javascript_functionsMichael Koziarski2008-11-181-3/+0
|
* Update Prototype to 1.6.0.3 and update script.aculo.us to 1.8.2Thomas Fuchs2008-11-187-921/+1038
|
* TimeZone offset tests: use current_period, to ensure TimeZone#utc_offset is ↵gbuesing2008-11-182-1/+3
| | | | up-to-date
* Update bundled TZInfo to 0.3.12gbuesing2008-11-18141-172/+90
|
* add vendor/ back to load paths; catch errors in constant loadingMatt Jones2008-11-182-15/+20
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-1815-107/+107
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added config.i18n settings gatherer to config/environment, auto-loading of ↵David Heinemeier Hansson2008-11-187-2/+97
| | | | all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
* Prevent assert_template failures when a render :inline is called before ↵Luke Melia2008-11-172-10/+22
| | | | | | rendering a file-based template [#1383 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add helper test generators [#1199 state:resolved]Eugene Bolshakov2008-11-1718-45/+179
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix a typo in test helperPratik Naik2008-11-181-1/+1
|
* Dont require 'application' when running testsPratik Naik2008-11-181-2/+0
|
* Fix script/consolePratik Naik2008-11-181-2/+0
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-173-11/+17
|\
| * Fix default_scope to work in combination with named scopesTom Stuart2008-11-173-11/+17
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | Explicitly require test/unit so tests autorunJeremy Kemper2008-11-171-0/+4
|/
* Fix compatibility with Ruby 1.8 that also has the Miniunit gem installed.Hongli Lai (Phusion)2008-11-171-3/+7
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Explicitly require AS::DurationJeremy Kemper2008-11-171-0/+2
|
* Change usage of defined? to check the rubygems constant existance by a ↵Carlos Paramio2008-11-171-1/+1
| | | | | | rescue block on boot.rb for Ruby 1.9 compatibility Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use ActiveSupport::TestCase in generated test/test_helper.rbJeremy Kemper2008-11-171-1/+1
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-177-16/+11
|\
| * BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵David Heinemeier Hansson2008-11-177-16/+11
| | | | | | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH]
* | Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-179-87/+181
|\|
| * Fixed RedCloth and BlueCloth shouldn't preload. Instead just assume that ↵David Heinemeier Hansson2008-11-172-81/+74
| | | | | | | | they're available if you want to use textilize and markdown and let autoload require them [DHH]
| * The inflector is meant to work on words not phrases -- dont confuse people ↵David Heinemeier Hansson2008-11-161-2/+0
| | | | | | | | with a phrase example
| * Ensure shared default_scoping stack is duped before assigning to thread localJoshua Peek2008-11-161-1/+1
| |
| * Add text/plain to the browser_generated_types array as webkit and gecko can ↵Michael Koziarski2008-11-161-2/+2
| | | | | | | | | | | | | | | | submit them. For more information see: http://pseudo-flaw.net/content/web-browsers/form-data-encoding-roundup/
| * Added default_scope to Base [#1381 state:committed] (Paweł Kondzior)Pratik Naik2008-11-164-1/+104
| |
| * Ensure @@already_loaded_fixtures is initialized before usePratik Naik2008-11-161-1/+1
| |
| * Revert "Added default_scope to Base [#1381 state:committed] (Paweł ↵David Heinemeier Hansson2008-11-164-76/+0
| | | | | | | | | | | | Kondzior)" -- won't gel with threads. This reverts commit ff594b2bc94ff2a942fe6ca05672387722dee686.
| * Added default_scope to Base [#1381 state:committed] (Paweł Kondzior)David Heinemeier Hansson2008-11-164-0/+76
| |
* | Lazy-require state machine internals when the module is includedJeremy Kemper2008-11-153-7/+8
| |
* | Use the Ruby load path for test_helper requires. Fix AM::TestCase.Jeremy Kemper2008-11-157-21/+12
| |
* | Require callbacks so AS::TestCase may be required in isolationJeremy Kemper2008-11-151-0/+2
|/
* Switch to AS::TestCase for assert_deprecatedJeremy Kemper2008-11-151-2/+2
|
* Add create_fixtures method for testsJeremy Kemper2008-11-151-0/+4
|
* Set up fixtures for AR testsJeremy Kemper2008-11-151-0/+8
|
* Appropriate test case subclasses to get assert_tag and assert_deprecatedJeremy Kemper2008-11-152-2/+2
|
* Merge branch 'master' into testingJeremy Kemper2008-11-15102-2753/+5179
|\
| * auto_link helper: add intelligent ending closing bracket handling. add new ↵Mislav Marohnić2008-11-152-56/+94
| | | | | | | | | | | | | | tests and reorder new ones for readability Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1353 state:committed]
| * refactor autolink helper. change tests to expect HTML-escaped URLsMislav Marohnić2008-11-152-39/+44
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Moved the * strings out of construct_finder_sql to a new default_select ↵Will Bryant2008-11-151-1/+9
| | | | | | | | | | | | | | method so it can be overridden by plugins cleanly Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1371 state:resolved]
| * fix assignment to has_one :through associations.Matt Jones2008-11-157-5/+67
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Wrong referenceDavid Heinemeier Hansson2008-11-151-1/+1
| |