Rails 2.3.5

Upgrade to Rails 2.3.5.
Also work around this bug:
 https://rails.lighthouseapp.com/projects/8994/tickets/3524
created by the aforementioned
Rails release.
This commit is contained in:
Jacques Distler 2009-11-30 19:38:34 -06:00
parent a6429f8c22
commit e3832c6f79
187 changed files with 2316 additions and 891 deletions

View file

@ -57,9 +57,14 @@ module ActionView #:nodoc:
end
class EagerPath < Path
def initialize(path)
super
@loaded = false
end
def load!
return if @loaded
@paths = {}
templates_in_path do |template|
template.load!
@ -103,8 +108,9 @@ module ActionView #:nodoc:
@@exempt_from_layout.merge(regexps)
end
attr_accessor :template_path, :filename, :load_path, :base_path
attr_accessor :template_path, :load_path, :base_path
attr_accessor :locale, :name, :format, :extension
attr_writer :filename
delegate :to_s, :to => :path
def initialize(template_path, load_path = nil)