Displaying 1 result from an estimated 1 matches for "rant_list".
Did you mean:
part_list
2006 Jul 19
3
render :partial inserting new line in RJS
...t a new line is being inserted after the
partial and before the final single quote, which means the string isn''t
terminated. It''s definitely not in the partial, which is a simple
one-line: <li><%= #stuff %></li>
page << "first_item = $$(''#rant_list li'').first(); new Insertion.Before
first_item, ''#{render(:partial => ''rant_list_item'', :object => @rant)}'';"
Anybody got any ideas why it''s doing this?