search for: urlizie

Displaying 1 result from an estimated 1 matches for "urlizie".

Did you mean: uilizi
2006 May 17
6
ActiveRecord#to_param
...ion %> <%= 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 urlizie the contents of object and read and searching the documentation. The closed I came up with was: <%= link_to "action", {:action => "take_action"}.merge(object.attributes_before_type_cast) %> This way I can see the data of the object in the @params Hash but instead o...