Displaying 15 results from an estimated 15 matches for "item_names".
Did you mean:
item_name
2009 Jun 12
2
Automate a data load and merge
Hi R list,
I would like to automate, or speed up the process from which I take
several separate datasets, stored in .csv formate, import and merge
them by a common variable. So far I have greatly sped up the loading
process but cannot think of a way to automate the merger of all
datasets into a common data.frame.
My apologies if this has been covered, any R search suggestions are
2006 Jan 19
0
Strange thing with ActiveRecord ??
Hi
I am probably missing something, so please help:
I have a table called ''zipped_responses'' with an ''item_names'' varchar column.
I want to create a comma separated string of ''names''.
I have an ''add_item_names'' method which takes a ''name'' and put it at the end
of a string with a preceding comma.
The model goes like this:
class ZippedResponse...
2008 Jan 30
1
Import XML in mysql
Hi,
I am using scrubyt for scraping a webpage. The output is xml:
Example:
<root>
<item>
<item_name>Canon Vertical Battery Grip BG-E3 For EOS Digital Rebel
XT</item_name>
<price>$179.00</price>
</item>
<item>
<item_name>Canon Vertical Battery Grip BG-E4 For EOS
5D</item_name>
2006 Mar 10
5
PDF::Writer Simpletable Iteration
Hello All:
I have been working with <a
href="http://ruby-pdf.rubyforge.org/pdf-writer/index.html">Austin
Ziegler''s PDF::Writer</a> as a means to produce PDF documents from my
Rails app. I am stumped on how to iterate through a collection of items
and output them in a table format. The way I have tried it so far only
returns the last item in the collection -
2011 Nov 07
1
RpgSQL row names
Hello,
Using the RpgSQL package, there must be a way to get the row names into the
table automatically. In the example below, I'm trying to get rid of the
cbind line, yet have the row names of the data frame populate a column.
> bentest = matrix(1:4,2,2)
> dimnames(bentest) = list(c('ra','rb'),c('ca','cb'))
> bentest
ca cb
ra 1 3
rb 2 4
>
2007 Aug 23
0
active scaffold polymorphic model
Hi
I am trying to use active scaffold to build a polymorphic model .
I have a number of models that can be featured and I have a Feature model
that belongs_to :item, :polymorphic => true
In my config.columns I include :item_type and item_id, I also added
:item_name to show the name of the record in the form.
In the form, when a type of model is selected I populate the select box for
2006 Apr 28
4
can someone help DRY a noob? thanks...
hi all
i''m trying to pass a variable name right round the block and need a hand
to ease my aching brain.
##in my sidebar i have
<li><%= SidebarItem(''catalogue'') %></li>
<li><%= SidebarItem(''provenance'') %></li>
<li><%= SidebarItem(''status'') %></li>
##linked to a
2008 Mar 31
2
How can I make a textbox uneditable?
I want to make this textbox indeitable but im not sure how to use ruby
to do this can anyone help?
my textbox:
<%= f.text_field :item_name %>
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Sep 25
7
simple story, extract link
hi,
I just started fooling around with story runner, thought I''d start
with a dead simple scenario:
The first thing I do when describing a site to someone is go to the
home page, and begin exploring public pages from there.
So, that seems like a good first story to spec out.
And I''d really like to extract the actual link from the rendered page
(rather than just
2006 Apr 11
5
multiple select_tag
Hello again,
I have a table called line_items, with the following fields:
id int
item_name varchar()
qty int
conditions text
I''ve made my LineItem model, and everything works as such (with simple
text_fields)..
Now I''d like for the conditions field to be a select_tag() with multiple
choice possibility.
I''m guessing I need some code to expand/restract the array for
2006 Jun 29
0
Problem getting encrypted submit buttons working with the paypal gem and rails 1.1.2
I''m running Rails 1.1.2, and using version 1.9.0 of the paypal gem.
When I make unencrypted paypal forms, they work just fine, I get the
IPN notification from the sandbox and everything is wonderful. When I
try to encrypt the form though, all I get is the error message "We
were unable to authorize the transaction. Please contact your
merchant.", which is ... unhelpful.
2010 Oct 02
0
Ajax observe_field not vorking on Rails
down vote favorite
I am trying to create some kind of search in my ruby on rails
application and I want to add ajax support. I want when a user types in
a search box a word, ajax automatically generates the results. And I
have searched almost all internet and I couldn''t find answer to
following question:
When I type into my text area nothing happens. It is like ajax is not
working at
2006 Mar 25
4
Rails PayPal and Currencies other than USD
Has anyone been able to make direct API calls to PayPal in currencies
other than USD? I get an error message "The currency code submitted is
not supported. Check the currency code and try again."
I''m using the PayPal plugin for Rails. I can successfully transact in
USD, but not AUD (Australian Dollars).
Cheers,
Dan
2012 Oct 09
10
Auto refresh the drop-down
I have an option in dropdown like "Add new option" written using
grouped_collection_select.
And when user clicks on the "Add new option". A pop up dialog appears to
add a new value. And when I click create it hits the database and adds the
value to the db.
But It never updates the dropdown list. Suggest me a way to auto refresh
only the current dropdown with the new
2006 Feb 07
21
Paypal and Rails
Hello everyone,
I am looking for a way to pass off a simple payment to paypal using our
own interface. I understand that this requires making full use of
Paypal''s API since we won''t be using their shopping cart or anything. I
found the article by Pranav Bihari on his site and in the Wiki on using
SOAP4R and the paypal WSDL file to interface with paypal web services,
but I