lib/framework/rho/render.rb in rhodes-2.0.0.beta7 vs lib/framework/rho/render.rb in rhodes-2.0.0.beta8

- old
+ new

@@ -155,9 +155,11 @@ def render_partial(options = nil) options = {} if options.nil? or !options.is_a?(Hash) options = options.symbolize_keys localclass = Class.new do + require 'helpers/application_helper' + include ApplicationHelper def initialize(obj=nil) @vars = {} if obj obj.each do |key,value| @vars[key.to_sym()] = value if key && key.length > 0