Displaying 3 results from an estimated 3 matches for "unit_weight".
2006 Feb 22
0
Need help getting value from text_field_with_autocomplete
...<%= @product.unit_price %>"></td>
<td align="center"><input type="text" name="sell_price[#{@product.id}]"
size="5"></td>
</tr>
<tr>
<td align="center"><input type="text" name="unit_weight[#{@product.id}]"
size="5", value="<%= @product.unit_weight %>"></td>
<td align="center"> </td>
<td align="center"> </td>
</tr>
I know that the complete_row partial works because I can access...
2006 Sep 19
0
strange acts_as_ferret bug in my enviorment
...localized ('','' instead of
''.'' as decimal separator) when having aaf in vendor/plugins...
Hi!
On Tue, Sep 19, 2006 at 06:39:35PM +0200, admin wrote:
[..]
> When I check activerecord logfiles I see that WITH acts_as_ferret
> installed I have
> ---
> `unit_weight` = 50,0
> ---
>
> and Without acts_as_ferret I get:
> ---
> `unit_weight` = 50.0
> ---
>
> One has "," -- the other has ".".
strange, I once had the same problem with strange Javascript errors,
where some duration of an effect had a '','...
2006 Jan 10
0
Customizing autocomplete to update more than one value upon vaule select
...''product_code LIKE ?'',
''%'' + params[:product][:product_code] + ''%''] )
render :partial => ''podetails_product''
end
partial:
<ul>
<% for @product in @products do %>
<li weight="<%= @product.unit_weight %>" buy_price="<%= @
product.unit_price %>" description="<%= @product.product_name %>"><%= @
product.product_code %></li>
<% end %>
</ul>
The log shows the following when attempting to enter a product code:
Processing
PurchaseO...