I am trying to get my submission form to disable it's submit button until turned back on by RJS. Here is how I am doing it and if someone can suggest a solution that would be great. i just n...
Hi experts,
I started working with with Ruby and this looks like a rather simple problem I think, but still couldn't solve it.
products = Array.new
doc.search( "//td[@class='foo']" )....
Hello
I have a csv file (approx 20000 lines) and I want to count the number of times the following text (On Hold)appears in a given field (Col4) Example ....
Col1, Col2 , Col3, ...
I have the need to create a large number of check boxes (22), and then write the values to a single entry within Ruby on Rails.
The user will fill out a form, and select the check boxes for...
hi, i've got the following problem:
within a view of my rails program i'm trying to open a form in a lightwindow. for this form need one predefined value (the category id from where the form ...
I am trying to add a javascript "onsubmit" to a ruby on rails form (boss wrote the basic code then took off on vacation leaving me to finish something in a language I sooo don't know yet)
H...
I am trying to make a simple usage of time fields in a rails 2 application.
my table is very easy, name, synopsis, date, start and end time.
I first designed a table with a start and end...
Ive googled around and I suck at Regexp. Tried a few things Ive found, but can't find the right one. I need a regexp that will take a string and split it on the white space, except for quote...
I have a ruby program that crawls some data from a webservice
(actualy fetches a file from a http, scans the file and puts stuff in a database)
This process updates a database I use in a Rai...
Hi folks,
I've been asked to set up Ruby 1.8.6, Rails 2.1.0, and Gems 1.2.0 for a developer so they can do a project for us. Downloading and installing the bases of each turned out to be p...
I am ttrying to Update a field on my search result page thorugh in_place_edit and then render a partial to display the updated contents. I am receving the following instead od the real value
...
I want to implement a div box on my homepage where the content is populated from a database items. The div content should (not the entire page) refresh every 5s (new random query) with a fadin...
Hello
I have a text file (textfile.txt) which needs uploading to microsoft access - for example ...
column 1 column 2
001234 abcde
012345 fghijk-dfr
Lets say my access dbase is ...
set :application, "enotify"
# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to va...
what is the best environment to run ROR (both windows/linux)? i am new to this ROR, just started learning .. reading the articles... not sure how to run and see the output ..i have windows env...
Hey folks,
I'm creating a Rails application, which has an Admin Panel. All the controllers that belong to the Admin Panel are stored in the subdirectory controllers/admin, but there is an adm...
Hello
Not sure if Ruby is suited to the following or not?
In a given worksheet certain text can be repeated in any given cell - Ideally I would like an Input box where I can type in text to...
Hi, apologies for a newbie question...
I'm trying to loop through 2 dates ...
so ..
<% start_date.until(end_date) do |dates| %>
<%= dates %>
<% end -%>
It prints out each date ti...
Is this mongrel and mod_rails are same ?
I have just started ROR using netbeans ... they talk about RUBY is JRuby ... ref. http://www.netbeans.org/kb/61/ruby/rapid-ruby-weblog.html
Is this differs from normal RUBY ON RAILS develop...
I have created a simple rails application using RadRails on Aptana studio.
I created two tables as described below:
business id:integer name:string address:string post_code:integer phone...
I'll start by saying I did not write the Ruby script and know nothing about Ruby. I inherited this and noticed that when it ran it was producing the following error:
myscript.rb:105:in `...
Can someone give me the advantages of ruby_rails over other applications?
Hello
I have a csv file delivered daily (with no headers) and needs reconfiguring and written to a new daily file.
It comes in as follows (example) ........
Reference 1
Time ...
Here is a two level deep initialization:
>> h = Hash.new{ |h,k| h[k] = Hash.new{ |h2,k2| h2[k2] = {} } }
=> {}
>> h["a"]["b"]
=> {}
I need the following to work to any depth
>> h["a"][...