search for: render_string

Displaying 2 results from an estimated 2 matches for "render_string".

2008 Jun 14
0
does BackgrounDRB not "know" the rails environment it is running within/in parallel with?]
...he self.render_to_string does look like this # Renders a record instance to a string using the provided template and additional variables. def render_to_string(template, variables={}) assigns = variables.reverse_merge(self.class.class_name.underscore.to_sym => self) self.class.render_string(template, assigns) end and the self.class.render_string looks like this # Renders a template to a string with the included variable assignments def self.render_string(template, assigns) viewer = Class.new(ApplicationController) view = Class.new(ActionView::Base) view.sen...
2007 Apr 10
1
[PATCH] Add support for DHCP-Options
hi, I've written a start of an c32-module to do basic substition: add subst.c32 this is a start of a generic substition module --- commit 9a1f41a7e6599fe6a162197cd9ddc6610185e780 tree cfb799a0be9844926afe44e21b2eb96630666c44 parent 89478bdbfa7167bc1b627a478d042c99e46f06b7 author Maurice Massar <massar at unix-ag.uni-kl.de> Tue, 10 Apr 2007 20:13:39 +0200 committer Maurice Massar