Displaying 2 results from an estimated 2 matches for "list_edit".
2005 Apr 27
5
Eager load mysteriously deletes records
...:dependent => true
has_many :whens, :class_name => "Whens", :dependent => true
end
Below is the SQL from the log file showing first the OK line and then
the not working line.
***********************************************************
This is OK
Processing TodosController#list_edit (for 10.70.2.70 at Wed Apr 27
14:40:43 W. Europe Daylight Time 2005)
Parameters: {"action"=>"list_edit", "controller"=>"todos",
"position"=>"0"}
[4;35mTodo Columns (0.010000) [0;37mSHOW FIELDS FROM todos
[4;33mWhens Column...
2006 Sep 26
0
Is it possible to render RXML partials in RHTML templates?
I have a RHTML template and I would like the output of a RXML partial to
be embedded within it.
When I do <%= render(:partial => ''list_edit'') %> where there exists a
_list_edit.rmxl file, I get XML parsing errors in the browser - I
believe because the partial is causing the rendered content to be
identified as XML instead of HTML.
Is there any way to "pre-render" the RXML (which will simply output HTML
anyway...