Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 1802

Show
Ignore:
Timestamp:
07/10/05 19:38:33 (3 years ago)
Author:
david
Message:

Fixed that Action View should always use the included Builder, never attempt to require the gem, to ensure compatibility

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r1789 r1802  
    11*SVN* 
    22 
     3* Fixed that Action View should always use the included Builder, never attempt to require the gem, to ensure compatibility 
     4 
    35* Added that nil options are not included in tags, so tag("p", :ignore => nil) now returns <p /> not <p ignore="" />  but that tag("p", :ignore => "") still includes it #1465 [michael@schuerig.de] 
    46 
    57* Fixed that UrlHelper#link_to_unless/link_to_if used html_escape on the name if no link was to be applied. This is unnecessary and breaks its use with images #1649 [joergd@pobox.com] 
    68 
    7 * Added even more goodies to script.aculo.us #1677 [Thomas Fuchs] 
     9* Improved error message for DoubleRenderError 
     10 
     11* Fixed routing to allow for testing of *path components #1650 [Nicholas Seckar] 
     12 
     13* Added :handle as an option to sortable_element to restrict the drag handle to a given class #1642 [thejohnny] 
     14 
     15* Added a bunch of script.aculo.us features #1644, #1677 [Thomas Fuchs] 
     16  * Effect.ScrollTo, to smoothly scroll the page to an element 
     17  * Better Firefox flickering handling on SlideUp/SlideDown 
     18  * Removed a possible memory leak in IE with draggables 
     19  * Added support for cancelling dragging my hitting ESC 
    820  * Added capability to remove draggables/droppables and redeclare sortables in dragdrop.js (this makes it possible to call sortable_element on the same element more than once, e.g. in AJAX returns that modify the sortable element. all current sortable 'stuff' on the element will be discarded and the sortable will be rebuilt) 
    921  * Always reset background color on Effect.Highlight; this make change backwards-compatibility, to be sure include style="background-color:(target-color)" on your elements or else elements will fall back to their CSS rules (which is a good thing in most circumstances) 
     
    1123  * Changes to class extension in effects.js 
    1224  * Make Effect.Highlight restore any previously set background color when finishing (makes effect work with CSS classes that set a background color) 
    13  
    14 * Improved error message for DoubleRenderError 
    15  
    16 * Fixed routing to allow for testing of *path components #1650 [Nicholas Seckar] 
    17  
    18 * Added :handle as an option to sortable_element to restrict the drag handle to a given class #1642 [thejohnny] 
    19  
    20 * Added a bunch of script.aculo.us features: Effect.ScrollTo, to smoothly scroll the page to an element, better Firefox flickering handling on SlideUp/SlideDown, Removed a possible memory leak in IE with draggables, Added support for cancelling dragging my hitting ESC #1644 [Thomas Fuchs] 
    2125 
    2226* Fixed that named routes didn't use the default values for action and possible other parameters #1534 [Nicholas Seckar] 
  • trunk/actionpack/lib/action_view.rb

    r648 r1802  
    2222#++ 
    2323 
    24 begin 
    25   require 'rubygems' 
    26   require 'builder' 
    27 rescue LoadError 
    28   # RubyGems is not available, use included Builder 
    29   $:.unshift(File.dirname(__FILE__) + "/action_view/vendor") 
    30   require 'action_view/vendor/builder' 
    31 end 
     24$:.unshift(File.dirname(__FILE__) + "/action_view/vendor") 
     25require 'action_view/vendor/builder' 
    3226 
    3327require 'action_view/base'