Displaying 3 results from an estimated 3 matches for "price_".
Did you mean:
price
2008 Jan 10
5
diff in a dataframe
I have a dataframe say:
date price_g price_s
0.34 0.56
0.36 0.76
. .
. .
. .
and so on. say, 1000 rows.
Is it possible to add two columns to this dataframe, by computing say
diff(log(price_g) and diff(log(price_s)) ?
The eleme...
2006 Aug 12
5
In place editing on a list - not passing ID through
...passed through to the controller.
I use this in my view to create the field:
<% for frame in @frames %>
...
<%= in_place_editor_field :frame, :price %>
<% end %>
and this produces the following in my output:
<span class="in_place_editor_field"
id="frame_price__in_place_editor">0.0</span>
<script type="text/javascript">
//<![CDATA[
new Ajax.InPlaceEditor(''frame_price__in_place_editor'',
''/frames/set_frame_price'')
//]]>
</script>
I understand from some research that what I'&...
2006 Jun 02
2
I need help with my 1st sortable list!
...n you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
#{RAILS_ROOT}/app/controllers/admin_controller.rb:171:in `sort''
# My view -
<ul id="price">
<% @prices.each do |@price| %>
<li id="price_<%= @price.id %>">
<%= @price.service %> <%= @price.price %>
</li>
<% end %>
</ul>
<p id="list-info"></p>
<%= sortable_element ''price'',
:update => ''list-info'',
:url =>...