Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Comatose Plugin
Conversations
About
Invoking "render" from inside a Comatose Drop
1 view
Skip to first unread message
Ryan Daigle
unread,
Aug 19, 2009, 1:39:40 PM
8/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Comatose Plugin
I'm trying to create a Comatose Drop which will return the result of
rendering a partial. It looks something like this:
<pre><code>
Comatose.define_drop 'contact' do
def form
render :partial => 'emails/new', :locals => { :email =>
Email.new }
end
end
</code></pre>
However, "render" is not available from within a drop. Is there a
known approach for this type of need, or have I approached the problem
incorrectly?
-Ryan
Reply all
Reply to author
Forward
0 new messages