Displaying 1 result from an estimated 1 matches for "object_discript".
2006 May 17
6
ActiveRecord#to_param
Hello,
to implement some some kind of optimistic locking, I want to build a
view, where an object is displayed together with a link containing the
data of the displayed object. My first try looked something like
<%= object.object_discription %>
<%= link_to "action", :action => "take_action", :data => object %>
this won''t work because object is of a class derived from ActiveRecord
and thus only the object.id will be transmitted. Next I''ve tried some
approaches to stringinize or...