similar to: newbie

Displaying 20 results from an estimated 600 matches similar to: "newbie"

2005 Dec 19
3
RMagick Resizing Issue
Hello ~ I have RMagick and file_column working in RoR. In my model I am setting up some standard sizes for the submitted photos. The photo files are created and named correctly, but the sizes are wrong. Only the second argument of my geometry call is used, with the width dimension being resized proportionately. file_column :image, :magick => { :versions => { "medium" =>
2005 Dec 22
2
Lighttpd/fastcgi - one ruby process taking up 98% of the cpu
My app goes unresponsive after running for a while. I checked out top, and one of the ruby processes is taking up 98% of the cpu. I have no clue why this is happening, and I doubt anyone can tell me specifically, but does anyone at least have any ideas as to where I should look? Pat
2006 Apr 14
3
Updateform with a has_many relationship ?
Hello all, I would like to be able to update the "amount" of a certain item in me order list. The problem I run into is how to define the text_field element. @order is the current order, which has_many :order_item which in turn belongs_to :order. order_item has a field "amount" which should be modified... What I tried is this below, but I get a undefined method
2006 Jan 06
7
Question
All, I am looking to write an ecommerce application and debating using rails or struts. Any advice as to which path to follow.
2005 Dec 19
1
New rails site. Beta testers need.
Hi Rails List, I need some beta testers for my new site: http://www.smarkets.net. This list is literally the first group to see it, so be gentle. Smarkets is a prediction market for Amazon products. It takes Amazon products and turns them into a stock. The price of these "stocks" move based on the movement of its Amazon sales rank. If the sales rank goes up 10%, the price of the stock
2006 Mar 13
8
Nested find(:all, :include => ) statements
Is there a way for me to do: OrderItem.find(:all, :include => [:user, :product => [:supplier]] So I don''t have a supplier_id on my order_item, but have it on my product, which is part of order_item. Joerg -- Posted via http://www.ruby-forum.com/.
2006 Jul 06
7
form_remote_tag submitting to an rjs file.
I have the following form that I am trying to use, but for some reason, the form gets submitted with out the params values. <%= form_remote_tag(:url => { :action => :add_item_to_order }) %> <tr> <td> <%=collection_select(:order_item , :item_category_id, @item_categories, :id, :name)%> </td> <td> <%= text_field
2006 May 08
4
Rubyy on rails hosting
All, Could any of you recommend an out fit for hosting my rails app that is not expensive with excellent support. Thanks Patrick
2006 May 08
2
Ruby on Rails hosting solutions
All, Could any of you recommend an out fit for hosting my rails app that is not expensive with excellent support. Thanks Patrick
2006 Mar 09
1
[TIP] Making an intelligent form fields
After searching arround I found a quite smart solution to me for binding form fields to model in an active way. I use aggregations with single value objects such as class Percentage attr_accessor :value def initialize(value) @value = (value.is_a? String) ? value.tr('' %'', '''').to_f : value end def to_s return unless value
2017 Aug 27
6
regex - optional part isn't considered in replacement with gsub
Hello, I need some help with regex. I have this to sentences. I need to extract both "49MU6300" and "LE32S5970" and put them in a new colum "SKU". A) SMART TV UHD 49'' CURVO 49MU6300 B) SMART TV HD 32'' LE32S5970 DataFrame for testing: ecommerce <- data.frame(a = c(1,2), producto = c("SMART TV UHD 49'' CURVO 49MU6300",
2017 Aug 28
0
regex - optional part isn't considered in replacement with gsub
"Please, consider that some SKUs have "-" in the middle, for example: "PG-9021". Then you need to include these in the list of patterns you gave. Try it again -- this time with a **complete** list. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his
2009 Mar 15
4
php 5.2
Hi, Is there any news about CentOS 5.2 updating to php 5.2? Best Regards, Melinda Odom Design Hosting, Inc. Web Design, Web Hosting, & Ecommerce Solutions 479-471-0891 CST info at designhosting.biz http://www.designhosting.biz
2006 Mar 01
1
question
Hello all! I would like to get an admin interface for my shopping cart app up and running using rails. The admin interface will be used for Customers, Products, Catggories, ect management. My db schema reflects the above mention tables names. The question I have is could I use the scaffold feature this way: (eg)---ruby script/generate scaffold Products Customers Categories Admin?
2006 Jan 07
2
help
I am at a lost with error below: Extracted source (around line #15): 12: <p><b>Category:</b><br> 13: 14: <select name="product[category_id]"> 15: <% @categories.each do |category| %> 16: <option value="<%= category.id %>" 17: <%= ''selected'' if category.id == @product.category_id
2006 Jul 11
0
using acts_as_list storing the information in a session
Hi, I have an order model that i am storing in a session, that is not currently in the database. I am updating the page using ajax, and I do not want to store the order in the database untill it is completely filled out. I have order_items that I am adding to the order, and I have used the acts_as_list within the order_item model. My problem comes when i try and rearrange the order_items
2018 Sep 26
1
Which is the best open source ecommerce platform?
Good afternoon from Singapore, There are far too many choices when it comes to open source ecommerce solutions. Are there any credible rankings of open source ecommerce platforms? Which open source ecommerce solution do you think is the best and tell me why. Thank you. ===BEGIN SIGNATURE=== Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017 [1]
2011 Feb 24
4
OT: Ecommerce hosting
Would appreciate some suggestions for ecommerce hosting. Been using, cough, cough, godaddy, for about 5 or 6 yrs but in the last year or so, they really suck. Did the hosting myself for a while prior to going with godaddy but I don't have time to babysit. Seems godaddy would rather spend millions advertising during the Super Bowl than put that money to good use. TIA!!
2005 Jul 05
2
root@localhost email problem
I have another problem with the email root at localhost not working now on centos 3.5 with plesk. This has always worked in the past. Anytime I test my ecommerce store the default email address has been root at localhost and has sent an email to my domain email address when testing. Just recently this has stopped working. The ecommerce store is php. I contacted the ecommerce store developer
2012 May 10
6
Is it suitable using STI?
I have problems on a simple design problem. I have many companies. Each company have one or more commercial activity. Activities types are: ecommerce, local unit, television, automatic vending machines, and so on. Company may have one or more ecommerce activity or one or more local unit activity, one ormore vending machines, etc. How can I model this scenario? Company has_many ecommerce has_many